[OpenLayers-Trac] Re: [OpenLayers] #3475: Google base layer not
showing when switching base layers
OpenLayers
trac-20090302 at openlayers.org
Tue Aug 30 03:27:19 EDT 2011
#3475: Google base layer not showing when switching base layers
-----------------------------+----------------------------------------------
Reporter: guendhoer | Owner:
Type: bug | Status: new
Priority: major | Milestone: 2.11 Release
Component: Layer.Google.v3 | Version: 2.11 RC3
Keywords: | State: Needs More Work
-----------------------------+----------------------------------------------
Comment(by fredj):
Replying to [comment:2 bartvde]:
> Hi, are you able to check if using !OpenLayers.Layer.GoogleNG instead
would fix your issue?
You're right: using GoogleNG fixes the issue.
@guendhoer: you can change your tree layers creation from:
{{{
new OpenLayers.Layer.Google(
"Google Physical",
{type: google.maps.MapTypeId.TERRAIN}
);
}}}
to:
{{{
new OpenLayers.Layer.GoogleNG({
name: "Google Physical",
type: google.maps.MapTypeId.TERRAIN
});
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/3475#comment:8>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list