575 Commits

Author SHA1 Message Date
Xiaoji Chen
e6e85886d7 3.0.0-alpha.12 2017-06-02 14:00:21 -07:00
Patrick Ranspach
bff9383567 Clarifying webpack 2 example location in README.md (#264) 2017-06-02 11:46:06 -07:00
Ib Green
5076429584 Documentation pass, polish exports, move non-essential overlays to examples (#263) 2017-06-02 07:26:48 -07:00
Anh Mai
7f157a6120 [v3-documentation] add get started, whats new, upgrade guide; update components and utils docs (#261) 2017-05-30 19:56:23 -07:00
Anh Mai
ba811d5842 bump mapbox-gl to 0.37.0; remove postinstall.js and postinstall script (#260) 2017-05-30 16:20:50 -07:00
Xiaoji Chen
9e93217280 Fix flickering bug when drag over popups (#258) 2017-05-26 23:51:40 -07:00
Anh Mai
ec326d34d3 [deprecate-start] onChangeViewport is now onViewportChange; add depWarn util (#259) 2017-05-26 22:57:46 -07:00
Anh Mai
34bc71dea6 copy and serve documentation markdown from ./docs folder (#255) 2017-05-25 23:51:44 -07:00
Xiaoji Chen
9e0b9d760d Add fitBounds util (#256) 2017-05-25 22:13:01 -07:00
Xiaoji Chen
b3bfa1f38f 3.0.0-alpha.11 2017-05-25 11:03:30 -07:00
Anh Mai
c9cff2103d [WIP] port of docs from deck.gl codebase (#248)
* [WIP] port of docs from deck.gl codebase
* delete data; workers; edit README
* remove extraneous images and refactor pages flow
2017-05-25 00:29:28 -07:00
Xiaoji Chen
148cabe705 Fix EventManager import under node (#252) 2017-05-24 15:52:01 -07:00
Xiaoji Chen
f527c35ee2 Api Audit (#251) 2017-05-24 15:27:37 -07:00
Xiaoji Chen
15f51ea983 merge EventManager (#250) 2017-05-23 13:37:03 -07:00
Ib Green
5d43a4a9d9 Initial component docs (#249) 2017-05-23 00:29:15 -07:00
Xiaoji Chen
2eccb0328a MapControls Refactor (#245) 2017-05-20 17:37:17 -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
George Jose
56322a35f8 Fix webpack examples link (#239) 2017-05-13 22:03:44 -07:00
Ib Green
5b6443c9b7 Fix broken exhibits (#231) 2017-05-05 21:56:27 -07:00
Xiaoji Chen
12148f9fee 3.0.0-alpha.10 2017-05-05 15:58:04 -07:00
Xiaoji Chen
a7d5e67d59 Clean up map props (#229) 2017-05-05 15:55:17 -07:00
Xiaoji Chen
0a7bd44334 3.0.0-alpha.9 2017-05-05 12:21:03 -07:00
Xiaoji Chen
82436255f0 Attribution Control and Navigation Control (#228) 2017-05-05 12:18:58 -07:00
Xiaoji Chen
da23dde556 Popup control (#227) 2017-05-05 10:50:47 -07:00
Xiaoji Chen
a99c292c5e Add controls example (#226) 2017-05-04 16:10:21 -07:00
Xiaoji Chen
1cef144dc1 Add marker component (#225) 2017-05-04 12:17:26 -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
Ib Green
010b64e85c Initial port of docs from gh-pages to master (#224) 2017-05-03 12:20:38 -07:00
Xiaoji Chen
ae10a9ccdd remove pressKeytoRotate prop from MapControl (#222) 2017-05-02 18:00:01 -07:00
Xiaoji Chen
7ef7b19860 Separating input events and semantic transform in map control (#212) 2017-05-02 17:39:14 -07:00
Xiaoji Chen
c6d6db9c8e 3.0.0-alpha.8 2017-05-02 15:54:16 -07:00
Xiaoji Chen
0b69851601 clean up InteractiveMap class (#219) 2017-05-02 10:37:37 -07:00
Xiaoji Chen
f7f52939a8 3.0.0-alpha.7 2017-05-01 17:15:15 -07:00
Xiaoji Chen
c0bae3db4d Consistent handling of map children (#217)
- Assign the same class name to children container between InteractiveMap and StaticMap
- Always render map children under the same node (avoid unmount/mount when the map is shown/hidden)
2017-05-01 17:11:54 -07:00
Xiaoji Chen
d88b723c45 3.0.0-alpha.6 2017-05-01 13:56:03 -07:00
Ib Green
b4b5c9b5e8 Fix test browser script (#216) 2017-05-01 09:43:35 -07:00
Arya Seghatoleslami
59bb1c9168 Update static-map.js (#214) 2017-05-01 07:23:10 -07:00
Xiaoji Chen
b26c6521c1 Fix various map control bugs (#211)
- Smooth rotation
- Smooth pan
- Zoom around mouse position
2017-04-27 00:14:23 -07:00
Prayag Verma
9f44405b0d Fix a typo in Readme (#205)
accompanies → accompanied
2017-04-17 10:40:26 -07:00
Joe Duncan
8f62ae6089 use prop-types package (#206) 2017-04-17 10:40:00 -07:00
Eric Socolofsky
6e3a934613 On npm start, install example deps if not already installed. (#208)
* On `npm start`, install example deps if not already installed.
Fixes #207.

* dep -> devdep
2017-04-12 09:37:30 -07:00
Ib Green
21a6c21e30 Remove imports of global module (#204)
* Remove imports of global module
2017-03-29 16:56:00 -07:00
Ib Green
4518b64adc Add pressKeyToRotate prop to new MapControls (#202)
* Fix pressKeyToRotate

* Additional transpilation fixes
2017-03-27 17:25:53 -07:00
Ib Green
6643d6f210 Merge pull request #201 from uber/event-handling-separation
Separate event handling from Mapbox
2017-03-27 15:52:44 -07:00
Ib Green
4868ef89d3 Revert to babel transpilation, remove JSX from overlays 2017-03-27 15:33:55 -07:00
Ib Green
2ebb90a6bc Fix yarn.lock 2017-03-24 16:03:26 -07:00
Ib Green
49124f33ef * Added new custom-interactions example
* Add pressKeyToRotate prop
* Support pitch > 60
* Build system updates
2017-03-24 14:37:22 -07:00
Anh Mai
da55fffe07 remove d3-selection and extra example map (#189)
* remove d3-selection

* remove extra example map
2017-03-24 14:37:22 -07:00
Anh Mai
d28d5cb432 Fix flow build process
Fix unit tests. README updates. Add browser tests
Adapt exhibits for react-map-gl
2017-03-24 14:37:00 -07:00
Ib Green
72a0324cb8 Component split (#170)
* StaticMap and InteractiveMap separates event handling concerns from map display concerns.
2017-03-07 14:57:37 -08:00