You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a map centered in the western world (e.g., US), if users pan the map to the eastern world (e.g., China), the longitude coordinates shown on the Measure Control are incorrect. For example, it is showing 259 W (-259), but it should be 101 E.
import ipyleaflet
m = ipyleaflet.Map(center=[40, -100], zoom=4)
measure = ipyleaflet.MeasureControl(
position='bottomleft',
active_color='orange',
primary_length_unit='kilometers'
)
m.add_control(measure)
m
The text was updated successfully, but these errors were encountered:
Thanks for opening an issue. That might be something to report upstream (leafletjs measure control package) as it's not really ipyleaflet that implements this.
When creating a map centered in the western world (e.g., US), if users pan the map to the eastern world (e.g., China), the longitude coordinates shown on the Measure Control are incorrect. For example, it is showing 259 W (-259), but it should be 101 E.
The text was updated successfully, but these errors were encountered: