This repository was archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
MousePosition Plugin
Lorenzo Natali edited this page Nov 5, 2013
·
1 revision
This plugin wraps the OpenLayers MousePosition control.
{
"ptype": "gxp_mouseposition",
"displayProjectionCode":"EPSG:4326",
"customCss": "text-shadow: 1px 0px 0px #686868, 1px 1px 0px #686868, 0px 1px 0px #686868,-1px 1px 0px #686868, -1px 0px 0px #686868, -1px -1px 0px #686868, 0px -1px 0px #686868, 1px -1px 0px #686868, 1px 4px 5px #aeaeae;color:white"
}
-
ptype: the plugin name :gxp_mouseposition -
displayProjectionCode: the EPSG code in wich display coordinates. if missing, it will use the one of the map. -
customCss: custom css for the text. The presence of this parameter will create aspanwith this text as the value of the style attribute containing the MousePosition text (also prefix and suffix) -
config: custom configurations to pass to theOpenLayers.Control.MousePositonobject (e.g. suffix, prefix)