Okay, that I can understand. But why does the Marker layer seem to behave properly but the Vector layer doesn't?
-----Original Message----- From: Christopher Schmidt [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 10:32 AM To: Peterson Eric-EEP002 Cc: [email protected] Subject: Re: [OpenLayers-Users] Google and Markers and Vectors ... oh my! On Wed, Nov 28, 2007 at 10:23:12AM -0500, Peterson Eric-EEP002 wrote: > Okay, here's my test case ... Any idea what I'm missing? > // Google Maps > myMap.addLayer (new OpenLayers.Layer.Google("Google Normal", > { type: G_NORMAL_MAP }, { 'sphericalMercator': true })); ^^ These should be both in the same hash. {'type': Foo, 'sphericalMercator': true} > myMap.setCenter (new OpenLayers.LonLat (-80, 26), 10); You're going to have to reproject all your vectors, and your centers, an everything else, using the myMap.layers[0].forwardMercator function. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
