-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Custom marker not showing when using Cordova-android 10+ #2886
Comments
Issue also mentioned in #2871 |
ebhsgit
added a commit
to ebhsgit/cordova-plugin-googlemaps
that referenced
this issue
Oct 23, 2021
…d 10+ * Add checked for https scheme
chargePanelAndreas
added a commit
to Skandnet/cordova-plugin-googlemaps
that referenced
this issue
Oct 28, 2021
FIX - mapsplugin#2886 - Custom markers not working for cordova-android 10+
The solution above seems to solve the issue but customs markers will still not show if you use the Cordova local development server. |
lempere
pushed a commit
to we-are-Joinup/cordova-plugin-googlemaps
that referenced
this issue
Feb 8, 2022
…d 10+ * Add checked for https scheme
boblepepeur
added a commit
to boblepepeur/cordova-plugin-googlemaps
that referenced
this issue
Jun 24, 2022
FIX - mapsplugin#2886 - Custom markers not working for cordova-android 10+
yjseo29
added a commit
to yjseo29/cordova-plugin-googlemaps
that referenced
this issue
Oct 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ... (check one with "x")
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)Cause
cordova-android 10+ switched to use
WebAssetLoader
, and the default scheme ishttps
The
AsyncLoadImage
file did not check forhttps
scheme for localhostMore info here:
https://cordova.apache.org/announcements/2021/07/20/cordova-android-10.0.0.html
apache/cordova-android#1316
Current behavior:
The default Google Map red marker is shown
Expected behavior:
The custom image is used for the Marker
Fix
The gist is to change line 199 to this.
Screen capture or video record:
Related code, data or error log (please format your code or data):
Support this plugin activity
I appreicate if you give me a beer 🍺 from here
The text was updated successfully, but these errors were encountered: