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

Is there a way to add custom marker icons? #172

Open
tkschuler opened this issue Jul 9, 2020 · 3 comments
Open

Is there a way to add custom marker icons? #172

tkschuler opened this issue Jul 9, 2020 · 3 comments
Labels
enhancement Enhancement or feature.

Comments

@tkschuler
Copy link

Similar to what is mentioned here in the Google Maps API: https://developers.google.com/maps/documentation/javascript/custom-markers

@frslm
Copy link
Contributor

frslm commented Jul 10, 2020

Not at the moment; it's a feature that should be added though.

In the meantime, you could modify gmplot locally to display custom marker icons - just change the url used for icons (if you're using gmplot v1.4.1+, you can edit the url line in the _MarkerIcon class).

@frslm frslm added the enhancement Enhancement or feature. label Jul 10, 2020
@Tanaka86
Copy link

Tanaka86 commented Jan 6, 2022

Hi @frslm can you explain in detail how modify gmplot locally ? I would like to add custom icon. Thanks

@frslm
Copy link
Contributor

frslm commented Jan 7, 2022

Hey @Tanaka86, you could try following the suggestion in #191

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

No branches or pull requests

3 participants