Closed alexisAvenel closed 4 years ago
I can see that you try to fetch your icons from the URL
./assets/img/circle-orange.png
where ./
is your prefix for Android according to _getPathUrl()
With one of the latest commits it no longer works for me this way either. I had to change it to http://localhost
Not sure the reasoning behind it but it works for me.
My current "prefixes" for each platform
ICONS_ROOT_ANDROID = 'http://localhost/assets/icons/';
ICONS_ROOT_IOS = 'www/assets/icons/';
ICONS_ROOT_BROWSER = 'assets/icons/';
This is also reported here https://github.com/ionic-team/ionic-native-google-maps/issues/264
Please try my Pull Request (https://github.com/mapsplugin/cordova-plugin-googlemaps/pull/2705) and review if it works for you
Thanks for reply @services4smb and @HansKrywaa I will test this today
Hello @HansKrywaa, I just tested your PR and it works perfectly for me !
(For testing his PR you have to add plugin like that : ionic cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps\#15280cb3c6b74eca0c23b85cc44e5562f26c8ca3 --variable PLAY_SERVICES_VERSION="16.0.0" --variable ANDROID_SUPPORT_V4_VERSION="27.+" --variable LOCATION_WHEN_IN_USE_DESCRIPTION="..." --variable LOCATION_ALWAYS_USAGE_DESCRIPTION="..." --save
)
My PR was merged. Can you check again and close this Issue when resolved?
Hello @wf9a5m75 !
I'm submitting a ... (check one with "x")
OS: (check one with "x")
The Git branch used is
multiple_maps
Current behavior : I am using the cluster system but the cluster and markers icon in the cluster are not displayed. Only the default icon (red icon) is displayed. But I also add a marker to show the location of the geolocated user and this icon is displayed very well.
Screen capture or video record:
![screen2](https://user-images.githubusercontent.com/7267835/69544365-db2b2800-0f8f-11ea-9982-20e5554ab9ae.jpg)
Related code :
Best regards.