• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1398
  • Last Modified:

Google Maps API turning off labels on the satellite layer.

Not sure i am in the right zone, could only find one for google.
Is there a way to turn of the street labels on the Satellite layer?  there is a check box to turn them off, but i want the default to be off when the layer is displayed.

Thanks.
0
ALASKASTREETMASTER
Asked:
ALASKASTREETMASTER
1 Solution
 
GourmetChiefCommented:
The default for google maps is to have that box checked (assuming that box is next to the sattelite view box and says "Display Labels"). If that is not the case clear the browser cache and try again, it should reset to default settings.
0
 
ALASKASTREETMASTERAuthor Commented:
I am wanting to program it into the google map page with the api.  I am familiar with the programming, I just cant find a way for the labels to either default to not show up at all or to be off.

I have an overlay laver from my own site. The satellite labels show up on top of the layer when the satellite layer is selected even though my layer is on top. If I change the G_HYBRID to G_SATELLITE  then the labels show up below my transparent layer. I just want them not to show up at all.  Is that possible?

hybridOverlay = new GTileLayerOverlay( G_HYBRID_MAP.getTileLayers()[1] );
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now