cordova-plugin-googlemaps: Base64 images for map marker icon not work on v2.0 (beta)
I’m updating from 1.4.3 to 2 (beta) and now do not work base64 icon for marker, but on 1.4.3 version, base64 worked perfectly. Even marker.setIcon does not help.
cordova version 7.0.1 platform iOS plugin list:
com.googlemaps.ios 2.3.0 "Google Maps SDK for iOS"
cordova-plugin-geolocation 2.1.0 "Geolocation"
cordova-plugin-googlemaps 2.0.0-beta2-20170705-1715 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 1.7.0 "InAppBrowser"
cordova-plugin-splashscreen 3.1.0 "Splashscreen"
cordova-plugin-sqlite-2 1.0.4 "SQLitePlugin"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
ionic-plugin-keyboard 2.2.1 "Keyboard"
onesignal-cordova-plugin 2.0.11 "OneSignal Push Notifications"
map.addMarker({
position : {lat: cart.order.latitude, lng: cart.order.longitude},
icon : {
url : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA...uQmCC",
size : {
width : 22,
height : 22
}
}
});
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (12 by maintainers)
Thank you for sharing your code.
By the way, pleas use triple back slashes to paste your code.