[OpenLayers-Users] setCenter problem

Christopher Schmidt crschmidt at metacarta.com
Fri Aug 3 08:51:38 EDT 2007


On Fri, Aug 03, 2007 at 11:54:46AM +0100, Tyler Durden wrote:
> Strange,  map.setCenter(new OpenLayers.LonLat(la, lo), zoom); always
> centers in the same place, doing zooming and ignoring lat and lon.
> Any ideas why?

Is your center outside the maxextent of your map? Can you give example
HTML demonstrating this?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list