[OpenLayers-Users] Problems with map.panTo()

Christopher Schmidt crschmidt at metacarta.com
Sat Nov 1 12:20:18 EDT 2008


On Fri, Oct 31, 2008 at 02:29:21AM -0700, S.Reena wrote:
> 
> Hey,
> I tried alerting the values and 
> 
> map.maxExtent() gives ( -180,90,180,90)
> map.minExtent() gives null
>  Projection is
> PROJECTION
>    "init=epsg:4326"
> 
> 
> The latlong is within the map only but still its not working :(

Can you provide an example reproducing the problem?

-- Chris

> 
> 
> Christopher Schmidt-4 wrote:
> > 
> > On Fri, Oct 31, 2008 at 01:16:53AM -0700, S.Reena wrote:
> >> 
> >> Hi,
> >> 
> >> I am trying to use map.panTo() to pan to specified latlon( on top and
> >> bottom
> >> of map)but somehow the map is not panning to that lat long and remains
> >> somewhere near the center only ...Can any1 suggest something..
> > 
> > Is your map projected? Are you specifying projected coordinates?
> > 
> > Are you specifying a lonlat outside the mapextent?
> > 
> > Regards,
> > -- 
> > Christopher Schmidt
> > MetaCarta
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/Problems-with-map.panTo%28%29-tp20261599p20262435.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list