例08:スケールバーの追加 (adding a scale bar)



この例では地図にスケールバーを追加します。 スケールバーを表示するには、マップ・ファイルに SCALEBAR パラメータを、 テンプレート・ファイルに [scalebar] アイテムを追加する必要があります。
This example adds a scale bar to the interface. In the mapfile, a SCALEBAR object is added, and in the HTML template, a [scalebar] control is added.