0

I need to remove the base layer of google maps dynamically. User can add or remove the base layer.Because I am using more layer on top of it.Is there any function in google maps api to remove the basemap and leave it as a blank.

2
  • 1
    I think you are more likely to attract potential answerers by including a snippet of you code so far that illustrates what you have tried and where you are stuck.
    – PolyGeo
    Oct 13, 2015 at 22:14
  • The idea behind a base-map actually is that it allways IS on base of your whole map, so no you cannot remove it. If you don´t like Google-Maps why using it? Nov 5, 2015 at 8:30

1 Answer 1

1

You can set your map's style to a custom style, in which you will set the visibility value as off for all layers.

Use this simple wizard to create your own style.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.