i added both minimap and mouse coordinates to my map, however, i have to mimize/hide minimap to see mouse coordinates as they are both at the lower right corner of the map.
Any attributes to set the location of these components on map?
Minimap lay over mouse coordinates?
Hi guangming,
You can put the mouse coordinates to the left.
Client code:
<script type="text/javascript">
function OnMapCreated(map) {
OpenLayers.Util.getElement("MousePosition").style.left = "0px";
}
</script>
Server side:
map.MapTools.MiniMap.Enabled = true;
map.MapTools.MouseCoordinate.Enabled = true;
Regards,
Don
thanks,
Will try it.
Guangming
Hi Guangmin,
If that works, please let me know.
Regards,
Don