-
Notifications
You must be signed in to change notification settings - Fork 137
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
Increase marker transparency #35
Comments
The markers are highly customizable, but you can write your own markers, too. Please read https://github.com/buche/leaflet-openweathermap#example-with-user-provided-markerpopup-functions-for-current-weather The cities marker is just the default one, the wind rose marker is one I implemented as an example for my example website. Just use these two as a guideline for your own marker: Define layer: https://github.com/buche/leaflet-openweathermap/blob/master/example/files/map.js#L266 |
Thanks for the help.
Best regards,
Yong Liu
…________________________________
From: buche <[email protected]>
Sent: August 4, 2018 7:39:36 AM
To: buche/leaflet-openweathermap
Cc: changbaishan; Author
Subject: Re: [buche/leaflet-openweathermap] Increase marker transparency (#35)
The markers are highly customizable, but you can write your own markers, too. Please read https://github.com/buche/leaflet-openweathermap#example-with-user-provided-markerpopup-functions-for-current-weather
The cities marker is just the default one, the wind rose marker is one I implemented as an example for my example website. Just use these two as a guideline for your own marker:
Define layer: https://github.com/buche/leaflet-openweathermap/blob/master/example/files/map.js#L266
Event listener for layer: https://github.com/buche/leaflet-openweathermap/blob/master/example/files/map.js#L269
Marker function: https://github.com/buche/leaflet-openweathermap/blob/master/example/file/map.js#L95
Drawing the marker: https://github.com/buche/leaflet-openweathermap/blob/master/example/files/map.js#L109
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#35 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMGWxH0LCNGReA277fQm3RtN8Ufj75cVks5uNXnogaJpZM4VuMgr>.
|
My user gives me a feedback that markers on the map block the city names on the map. They also like your markers, they are informative. Would it be possible to increase transparency of the marker and use heavy border to resolve this user issue?
Thanks
Yong Liu
The text was updated successfully, but these errors were encountered: