Demonstrating the use of the MousePosition control with the Hover handler.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6533 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -120,6 +120,7 @@
|
|||||||
map.addControl(control);
|
map.addControl(control);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
map.addControl(new OpenLayers.Control.MousePosition());
|
||||||
map.zoomToMaxExtent();
|
map.zoomToMaxExtent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user