angular-google-maps
angular-google-maps copied to clipboard
Disable the default map layer
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?
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?
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.