[OpenLayers-Users] conditional pan of map based on comparision of
reena at indiamail.com
Thu Oct 30 04:28:01 EDT 2008
I want to compare a bound=new OpenLayers.Bounds() with map.getCenter()...so
that if that bound is less than map.getCenter() ..the map will zoom and pan
to lower half of map and if its greater than map will zoom and pan to upper
half of map. Can any1 quickly suggest how to do this?
View this message in context: http://www.nabble.com/conditional-pan-of-map-based-on-comparision-of-latlon-tp20242590p20242590.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users