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

Another pass at Leaflet-like API #369

Merged
merged 30 commits into from
May 7, 2014
Merged

Another pass at Leaflet-like API #369

merged 30 commits into from
May 7, 2014

Conversation

mourner
Copy link
Member

@mourner mourner commented May 2, 2014

A work in progress. Makes the API more consistent, simple to use and closer to Leaflet conventions.

  • revise all view changing methods, make them more flexible and configurable through options
  • revise Map and Source options, make them more convenient, better defaults
  • add methods that return map state (bounds, center, etc.)
  • pass event data as object with properties rather than array
  • revise all events, make them more consistent and useful
  • fill any remaining important method gaps that Leaflet has and llmr doesn't

This was referenced May 5, 2014
@mourner
Copy link
Member Author

mourner commented May 7, 2014

Rebased on top of master (with the new style format).

@mourner
Copy link
Member Author

mourner commented May 7, 2014

OK, I think this is good to merge — additional revisions can be done in master.

mourner added a commit that referenced this pull request May 7, 2014
Another pass at Leaflet-like API
@mourner mourner merged commit 3204c10 into master May 7, 2014
@mourner mourner deleted the api-rev branch May 7, 2014 11:05
bensleveritt pushed a commit to bensleveritt/mapbox-gl-js that referenced this pull request Oct 24, 2016
lucaswoj pushed a commit that referenced this pull request Jan 11, 2017
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.

1 participant