[OpenLayers-Users] Positioning the lat/long mouseposition display.

cgp carina_palanca at forcorp.com
Thu Sep 10 17:26:16 EDT 2009


The displayClass of the lon/lat mouse position is "olControlMousePosition",
so if you go to style.css (which should've been included in the .zip file)
you can just change the "bottom" property to any value that fits your needs.



Phil Scadden wrote:
> 
> At moment, it displays in lower right of map. However, if you use google 
> layers , the copyright notice tend to obscure it unless well zoomed in. 
> How do you move it to say top right? I can see how to add to an external 
> div, but not how to move it within the map div.
> -- 
> Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
> Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477
> 5232
> 
> 
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose
> the contents.
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Positioning-the-lat-long-mouseposition-display-tp3616554p3618844.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list