cordova-plugin-googlemaps icon indicating copy to clipboard operation
cordova-plugin-googlemaps copied to clipboard

iOS marker icon colors incorrect

Open ataylor32 opened this issue 4 years ago • 0 comments

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:

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.

ataylor32 avatar Feb 12 '21 16:02 ataylor32