-
Notifications
You must be signed in to change notification settings - Fork 24
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
Cannot customize marker with base64 png url #49
Comments
Hi, (code in CapacitorGoogleMap.buildMarker)
This works for me:
Please let me know if you are interested in accepting contributions. Is the plugin actively maintained? |
For completeness, as expected the behavior is the same on IOS. The relevant function is Map.buildMarker The relevant code section is here:
And this fix works for me:
|
Bug Report
I am adding markers with code like this:
The image is ignored, I just get the standard marker icon.
Is this a known missing feature? By investigating, I was able to find some discussions regarding base64 svg icons but no direct confirmation that data urls are unsupported.
Can you please confirm?
Plugin(s)
@capacitor/google-maps
Capacitor Version
Platform(s)
Android
IOS? (only tested on Android so far)
Current Behavior
Data urls are ignored when adding Markers.
Expected Behavior
A workaround or confirmation that this is expected.
Other Technical Details
The data url is exported from an HTML canvas like so:
The text was updated successfully, but these errors were encountered: