angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

Disable the default map layer

Open carpiediem opened this issue 7 years ago • 1 comments

I can't tell if this needs a feature request or if it is already possible and simply requires better documentation.

I'm able to get my custom tiles to display, but the browser is also loading Google's standard map tiles underneath them. This slows down performance and makes the map look weird if the user pans to the edges. Any idea how to prevent the normal map layer?

Demo

If it's not possible now, maybe an enhancement could be added that allows users to disable the default layer within the options of the ui-gmap-google-map directive?

carpiediem avatar Aug 09 '16 04:08 carpiediem

If anyone is having similar problems, I wound up dropping the ui-gmap-map-type directive. Here's a bit of sample code. Not sure how to adapt this for a new enhancement, though.

carpiediem avatar Sep 18 '16 14:09 carpiediem