[OpenLayers-Trac] Re: [OpenLayers] #2934: Openlayers map breaks
when a Markers layer is added before a GoogleV3 layer
OpenLayers
trac-20090302 at openlayers.org
Thu Nov 18 05:03:11 EST 2010
#2934: Openlayers map breaks when a Markers layer is added before a GoogleV3 layer
-------------------------+--------------------------------------------------
Reporter: fbuchinger | Owner:
Type: bug | Status: closed
Priority: critical | Milestone: 2.11 Release
Component: general | Version: 2.10
Resolution: invalid | Keywords:
State: |
-------------------------+--------------------------------------------------
Changes (by ahocevar):
* status: new => closed
* resolution: => invalid
Comment:
Not a bug. OpenLayers.Layer.Google.v3 configures the map automatically to
use EPSG:900913 as projection. Your Markers layer, if the map is
configured with {allOverlays: true}, will become the base layer and set
the map projection to EPSG:4326, which is not supported by the Google
layer. To make your application work, configure your map with the options
shown
[http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Layer/Google/v3-js.html#DEFAULTS
here].
--
Ticket URL: <http://trac.openlayers.org/ticket/2934#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list