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

base-class from Layer to Polyline #50

Merged
merged 4 commits into from
Nov 16, 2019
Merged

Conversation

henrythasler
Copy link
Owner

Switch the base-class for all geodesic objects (line+circle) from L.Layer to L.Polyline. This avoids the need to re-implement functions as getbounds() or bindTooltip(). Geodesic lines and circles can be used as a drop-in replacement for a regular L.Polyline. This should make life easier in general for the user.

@henrythasler henrythasler merged commit b186631 into master Nov 16, 2019
@henrythasler henrythasler deleted the switch-to-polyline branch November 16, 2019 19:12
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

Successfully merging this pull request may close these issues.

None yet

1 participant