[OpenLayers-Users] Dojo and OpenLayers mashup

Christopher Schmidt crschmidt at metacarta.com
Fri Nov 6 11:28:51 EST 2009


On Fri, Nov 06, 2009 at 04:17:35PM +0100, Andre Steenveld wrote:
> >
> > My guess is that you have not configured your max extent and maxresolution
> > correctly. However, I can't test this, because I can't find where any
> > of the code that initailizes this map is, or how I can access the
> > OpenLayers.Map object from the console.
> >
> > -- Chris
> >
> >
> 
> You can find the OL object via the following code "dijit.byId( "map" )" this
> will return you the widget object which inherits from the OpenLayers.Map
> class. The code for this class can be found in the zip file in
> ./nmpo/geo/MapViewer.js The actual configuring happens from line 120 to 155.
> The configuration class can be found in ./nmpo/geo/Config.js wich parses the
> XML file and produces the layers, controls, config object and an additional
> config object.

My theory was wrong. I don't have any other suggestions, sorry.

-- CHris



More information about the Users mailing list