[OpenLayers-Users] overviewmap problem: bounds & maxExtent has no properties

Tim Schaub tschaub at opengeo.org
Mon Jun 9 13:42:07 EDT 2008


Hey-

Martin Ouellet wrote:
> Hi all,
> 
> I have a tilecache baselayer in a custom projection (epsg:42105).  For 
> the overview map,  I have defined a WMS layer (in the same projection 
> than the baselayer of course).
> 
> But at startup, I always get the javascript error:  "bounds has no 
> properties"
> and when I zoom in the map:                            "maxExtent has no 
> properties"
> 
> any advice on this?

Depends on how you have configured things.

Have you taken a look at the wiki page for the OverviewMap control?

http://trac.openlayers.org/wiki/Control/OverviewMap

Specifically, take a look at the section on non-default projections.

http://trac.openlayers.org/wiki/Control/OverviewMap#Custommapoptions-projectionsextentsetc.

Tim


> 
> MartinO
> !DSPAM:4033,484d669061892085621377!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 
> !DSPAM:4033,484d669061892085621377!




More information about the Users mailing list