Skip to content
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

how can change marker on map ? #14

Open
mojtabadarzi opened this issue Sep 15, 2020 · 3 comments
Open

how can change marker on map ? #14

mojtabadarzi opened this issue Sep 15, 2020 · 3 comments

Comments

@mojtabadarzi
Copy link

No description provided.

@soudabeeh
Copy link
Contributor

@mojtabadarzi
Copy link
Author

how can change style of marker ?

@soudabeeh
Copy link
Contributor

hi,
with style prop in Marker component same as bellow :
<Mapir.Marker
coordinates={[51.420470, 35.729054]}
anchor="bottom"
style={{ width: "60px", height: "60px" }}
Image={'MarkerURL'}>
</Mapir.Marker>

but you should change width to 100% in child img element of this component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants