-
Notifications
You must be signed in to change notification settings - Fork 17
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
Custom Image Marker Support #34
Comments
Got the same issue. Really missing this property :( |
Thank you very much.
… On 25 Apr 2024, at 07:16, Omar De La Hoz ***@***.***> wrote:
You can add a custom marker by adding a View or whatever you want inside the <Marker> tag. For example:
<Marker coordinate={{ latitude: 35.2156095, longitude: -80.8570135 }}>
<img src="https://cataas.com/cat" width={50} height={50} />
</Marker>
Will generate:
image.png (view on web) <https://github.com/teovillanueva/react-native-web-maps/assets/8744329/203013b7-c2a7-4d88-b3f8-595b560e26d3>
—
Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADZJ6BYHYW3EWMWKDVJ6OTY7B7TDAVCNFSM6AAAAAA552C3G6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGMZDQMZUGQ>.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When will custom image markers be supported through the Marker component? I see it's planned per the documentation but no timeline is given. Currently any value passed into
image
prop is ignoredThe text was updated successfully, but these errors were encountered: