mapsplugin/cordova-plugin-googlemaps

iOS marker icon colors incorrect

Opened this issue · 0 comments

I'm submitting a ... (check one with "x")

  • question
  • any problem or bug report

OS: (check one with "x")

  • Android
  • 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:

Simulator Screen Shot - iPhone 8 - 2021-02-12 at 09 05 35

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.