allenhwkim / angularjs-google-maps

The Simplest AngularJS Google Maps V3 Directive
http://ngmap.github.io
MIT License
1.52k stars 516 forks source link

backgroundColor attr doesn't affect map #792

Open krispy1298 opened 7 years ago

krispy1298 commented 7 years ago

The backgroundColor attr has no affect on the eventual map.

<ng-map background-color='#ff0066'>

Expect the yet-unloaded tiles to be pink, instead they are default Google Maps tan.

API docs says:

backgroundColor
Type: string Color used for the background of the Map div. This color will be visible when tiles have not yet loaded as the user pans. This option can only be set when the map is initialized.

Is it being set early enough?