SECOND
I made an update Ionic or this plugin I don't really know, but suddenly my icon was replace with the default maps red Icon.
I also had the famous "width undefined" error.
After some research I modify the code remove the error and hopefully get my icon back.
I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly) ??Current behavior:
FIRST Everything was working perfectly, I managed to display a map with several marker with custom icon and htmlinfo. Here the code :
SECOND I made an update Ionic or this plugin I don't really know, but suddenly my icon was replace with the default maps red Icon. I also had the famous "width undefined" error. After some research I modify the code remove the error and hopefully get my icon back.
And know the strange part ... It works on the browser ! (with the command![maps_browser](https://user-images.githubusercontent.com/17743962/104641273-d6509880-56a9-11eb-9284-b6faefcc7f04.png)
ionic cordova run browser
)But not in android, by![Screenshot_20210114-203042_Verytips](https://user-images.githubusercontent.com/17743962/104641341-ef594980-56a9-11eb-8f51-45fe640f3bf9.jpg)
ionic cordova run android
and even if I get the app by the android store.So the path is right. I don't understand where is the problem. I don't get any error message with
adb logcat
.Expected behavior: Show my custom Icon for every marker on browser ,android and IOS