15 Commits

Author SHA1 Message Date
Xiaoji Chen
7e2c66a702
add transition props to map state (#500) 2018-04-17 12:21:51 -07:00
Ib Green
78cbd18223
Remove use of external assert module (#487) 2018-03-29 08:57:18 -07:00
Xiaoji Chen
46d1d42763
Clean up MapState class (#437) 2018-01-10 10:02:21 -08:00
Xiaoji Chen
31d552ce71
Upgrade dependencies to prod versions (#435) 2018-01-09 15:25:50 -08:00
Xiaoji Chen
93901ce698
upgrade viewport-mercator-project (#410) 2017-11-22 10:06:46 -08:00
Xiaoji Chen
1517ec8c06
Remove console error when drag distance is larger than map width/height (#398) 2017-11-07 16:30:55 -08:00
Xiaoji Chen
25c3b795ba Port TransitionManager from deck.gl (#383) 2017-10-21 17:48:06 -07:00
Xiaoji Chen
d316e77004 Right button drag to rotate (#381)
* right button drag to rotate
* disable drag rotate on controls
* fix prop type warnings
2017-10-13 10:10:13 -07:00
Xiaoji Chen
38193aad83 Allow controls and overlays to block map interactions (#377) 2017-10-06 14:08:48 -07:00
Xiaoji Chen
e5457f3671 Match viewport to Mapbox at low zoom levels (#317) 2017-07-12 16:20:30 -07:00
Xiaoji Chen
f527c35ee2 Api Audit (#251) 2017-05-24 15:27:37 -07:00
Xiaoji Chen
4a6164daa0 New EventManager (#244)
* use hammerjs as event manager

* support touch in main example
2017-05-17 14:57:16 -07:00
Xiaoji Chen
a7d5e67d59 Clean up map props (#229) 2017-05-05 15:55:17 -07:00
Xiaoji Chen
593fa67ca6 Improve MapState class and tests (#223)
- `MapControl` takes a `MapState` instance instead of list of viewport props
- Always return a new `MapState` object after transform
- Better naming of properties and methods
- Code consistency and error checking
- Tests cover more use cases
2017-05-03 12:35:24 -07:00
Xiaoji Chen
7ef7b19860 Separating input events and semantic transform in map control (#212) 2017-05-02 17:39:14 -07:00