[OpenLayers-Users] How to SetUp Open Layers for an XML/WMS Service

Roald de Wit list at rdewit.net
Wed Jun 30 02:41:48 EDT 2010


Hi,

On 30/06/10 16:35, Kalyan Kamepalli wrote:
>
> var map = new OpenLayers.Map('map', {
>
> maxExtent: new OpenLayers.Bounds(545130525,258147752,546437807,259455034)
>
> maxResolution: 5000
>
> } );
>

Try adding a comma at the end of your maxExtent line, like below:

              var map = new OpenLayers.Map('map', {
                                                  maxExtent: new 
OpenLayers.Bounds(545130525,258147752,546437807,259455034),
                                                  maxResolution: 5000
                                                  } );

Regards, Roald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100630/ff126c46/attachment.html


More information about the Users mailing list