On Sep 17, 2010, at 5:50 AM, ext Vidal, Antoni wrote: > Hello list, > > After a nested request using OpenLayers.loadURL, the last function that > parses the result, it have to center the map using map.setCenter(... ) but > firebug shows the following error: > map is not defined. > > I tryed with this.map.setCenter(...) but doesn’t work. It seems that map var > is lost.
This is a Javascript scoping problem. You're best off sharing your full code in order to get help on this. -- Chris _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
