On Tue, Sep 14, 2010 at 9:35 PM, Michael Tafel <[email protected]> wrote:
>
> This question may require some more details from me.
>
>
>
> I have two web apps that utilize GeoExt and Openlayers. They have been 
> running fine for months. We’ve made no changes to the code and today an error 
> shows up ini firebug and the map does not draw.:
>
>
>
> this.resolutions is undefined  à OpenLayers.js (line 1156)
>
>
>
> We point to openlayers online: http://www.openlayers.org/api/OpenLayers.js
>
>
>
> http://gis.drcog.org/trafficcounts is one of the sites.

Hi

Your map options include numZoomLevels: "auto", which isn't supported.
Either set numZoomLevels to a integer value, or do not set it at all.
If you don't set it you'll get 16 zoom levels (numZoomLevels defaults
to 16 in the map).

Also, on an unrelated note, you shouldn't provide a div (or div id) to
the map when using a MapPanel, so just remove the first argument to
OpenLayers.Map.

Regards,

--
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to