coordinatedisplay
Description
This bundle provides a plugin (Oskari.mapframework.bundle.coordinatedisplay.plugin.CoordinatesPlugin) for mapmodule that shows coordinates on mouse location.
Screenshot
Bundle configuration
Bundle configuration
No configuration is required, but there is one possible configuration:
{
"roundToDecimals" : 2
}
Setting roundToDecimals to wanted number will coordinates rounded by wanted decimal plates.
Events the bundle listens to
Event | How does the bundle react |
---|---|
`MouseHoverEvent` | Updates the coordinates gotten from event to the UI. |
`AfterMapMoveEvent` | Updates the updated coordinates for map center. |
Dependencies
Dependency | Linked from | Purpose |
---|---|---|
jQuery | Assumes to be linked in the page | Used to create the component UI from begin to end |