Nobody?

samd wrote:
> 
> OpenLayers 2.5
> 
> As taken directly from the OpenLayers examples and my map is named map
> when ever I add the following code:
> 
> var options = {mapOptions: {numZoomLevels: 1}};
> map.addControl(new OpenLayers.Control.OverviewMap(options));
> 
> I always end up with:
> 
> bounds has no properties
> zoomTo(null)OpenLayers.js (line 533)
> zoomToMaxExtent()OpenLayers.js (line 535)
> createMap()OpenLayers.js (line 408)
> rectDblClick()OpenLayers.js (line 405)
> remove("moveend", Object object=Object element=div#map)OpenLayers.js (line
> 365)
> getCenter(lon=-122.297916,lat=37.844969 lon=-122.297916 lat=37.844969, 11,
> undefined, undefined)
> 
> When I remove the offending lines everything works fine as
> usual!?:confused:
> 

-- 
View this message in context: 
http://www.nabble.com/OverviewMap-does-not-work-with-examples.-tf4719927.html#a13501153
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to