[OpenLayers-Users] Openlayers 2.5 WFS request to MGOS spherical
mercator
Christopher Schmidt
crschmidt at metacarta.com
Tue Sep 18 13:58:40 EDT 2007
On Tue, Sep 18, 2007 at 10:46:16AM -0700, mcarsel wrote:
>
> var options = {
> projection: "EPSG:900913",
> units: "m",
> maxExtent: new OpenLayers.Bounds(-20037508, -20037508,
> 20037508, 20037508.34),
> controls: [new OpenLayers.Control.MouseDefaults()]
> };
> //Initiate Map
> map = new OpenLayers.Map( 'map' ,options);
> OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
>
> // Add Google Maps
> var googleSatellite = new OpenLayers.Layer.Google( "Google
> Satellite" ,
> {type: G_SATELLITE_MAP, 'maxZoomLevel':19,
> sphericalmercator:true} );
You misspelled sphericalMercator.
(Capital M)
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list