Utility functions for OpenLayers
Method Attributes | Method Name and Description |
---|---|
ria.ol.addClickHandler(map, callbacks, options)
Adds a click handler to the given OpenLayers map.
|
|
ria.ol.defaultMapOptions(srsName)
Creates a default options object that can be passed to an OpenLayers
map.
|
xy
property. That value can then be converted to the geographic
location corresponding to the click event. The two supported
callback names are click
and dblclick
.OpenLayers.Handler.Click
. If no options are
specified, a handler for single-click events will be added.OpenLayers.Map.removeControl()
and pass it the object returned from this method.