The Map View is used to provide the user with a means of navigating geospatial data using a map.
...
Code Block | ||
---|---|---|
| ||
<control id="com.cohga.client.mapctrl.keyboard"/> |
Mouse wheel
com.cohga.client.mapctrl.navigation
Adds mouse wheel control to the map panel (when the map has focus) allowing the user to zoom in and out of the map using the mouse wheel
Code Block | ||
---|---|---|
| ||
<control id="com.cohga.client.mapctrl.navigation"/> |
Scale Line
com.cohga.client.mapctrl.scaleLine
...
name | default | description |
---|---|---|
minRatio | 8 | The ratio of the overview map resolution to the main map resolution at which to zoom farther out on the overview map |
maxRatio | 32 | The ratio of the overview map resolution to the main map resolution at which to zoom farther in on the overview map |
width | 180 | The default width in pixels of the overview map window |
height | 180 | The default height in pixels of the overview map window |
ratios
The ratio values are used to determine if the overview map extent should be changed.
...