[OpenLayers-Users] Is it possible to configure layers of google maps?

Christopher Schmidt crschmidt at metacarta.com
Thu Jun 11 09:57:57 EDT 2009


On Thu, Jun 11, 2009 at 10:29:01AM +1000, Brad Spencer wrote:
> Rodolfo,
> 
> Yes I would like to know if this is possible as well. I have been able to
> sandwich my own layer between two Google layer parts via the following
> layers arrangement within a GoogleMaps app.
> 
> G_SATELLITE_MAP.getTileLayers()[0],tileABS, G_HYBRID_MAP.getTileLayers()[1]
> 
> So the satellite imagery goes down first, my thematic layer next and then
> the hybrid roads on top of that.
> 
> Its very useful to do this but it does not work in Openlayers or at least I
> can't get it to work by referring to the array elements.

This functionality may be possible, but OpenLayers is not designed to
allow Google to act as anything other than a base map at this time. (You
can, however, configure which layer is used.)

> Is anyone else interested in this capability?
> 
> Cheers, Brad....
> 
> -----Original Message-----
> From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On
> Behalf Of Rodolfo Moreno
> Sent: Thursday, June 11, 2009 9:20 AM
> To: users at openlayers.org
> Subject: [OpenLayers-Users] Is it possible to configure layers of google
> maps?
> 
> 
> Hi all, I know that maybe this forum is not the suitable place to put this
> question but since here there are many google map's experts I decided to
> post my doubt. Well I would like to know whether or not possible to
> configure layers of itself google maps. For example would it be possible
> that the user turn on/off "road" or "Border and labels" layers in the same
> way as in google earth does?.
> 
> Thanks in advance
> 
> -----
> Rodolfo Moreno
> CivilEng
> 
> -- 
> View this message in context:
> http://n2.nabble.com/Is-it-possible-to-configure-layers-of-google-maps--tp30
> 59121p3059121.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list