cordova-plugin-googlemaps
cordova-plugin-googlemaps copied to clipboard
iOS marker icon colors incorrect
I'm submitting a ... (check one with "x")
- [ ] question
- [x] any problem or bug report
OS: (check one with "x")
- [ ] Android
- [x] iOS
- [ ] Browser
cordova information: (run $> cordova plugin list)
com.googlemaps.ios 3.9.0 "Google Maps SDK for iOS"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-whitelist 1.3.4 "Whitelist"
I followed the "Hello, World" guide. The only change I made was adding icon: "#eae849" to the map.addMarker call. The icon color was correct when I ran cordova run android, but when I ran cordova emulate ios --target="iPhone-8, 14.2", the icon's color actually appeared to be #828017, as you can see here:

I also tried setting the icon's color to #0c0. Again, the color was correct on Android, but on iOS, the icon's color actually appeared to be #6d796d.