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
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
9e0b9d760d
Add fitBounds util ( #256 )
2017-05-25 22:13:01 -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
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