Skip to content

Commit

Permalink
Reverts demo to react-map-gl v2 for now (visgl#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen authored Apr 5, 2017
1 parent 22eda75 commit db79c46
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 78 deletions.
4 changes: 2 additions & 2 deletions demo/src/components/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, {Component} from 'react';
import {connect} from 'react-redux';
import autobind from 'autobind-decorator';

import MapGL from './mapbox';
import MapGL from 'react-map-gl';

import * as Demos from './demos';
import {updateMap, updateMeta, loadData, useParams} from '../actions/app-actions';
Expand All @@ -15,7 +15,7 @@ class Map extends Component {
this.state = {
trackMouseMove: false,
mousePosition: null
}
};
}

componentDidMount() {
Expand Down
123 changes: 50 additions & 73 deletions demo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,10 @@ caniuse-db@^1.0.30000346, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000644"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000644.tgz#9d7eccf1ef1d11cbd6741b9fb390f9923ff42261"

canvas-composite-types@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/canvas-composite-types/-/canvas-composite-types-1.0.4.tgz#7b44e7b179f06d84acbf1570480e70bef2a6a922"

caseless@~0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
Expand Down Expand Up @@ -1579,7 +1583,7 @@ currently-unhandled@^0.4.1:
dependencies:
array-find-index "^1.0.1"

d3-array@1:
d3-array@1, d3-array@^1.0.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.1.1.tgz#a01abe63a25ffb91d3423c3c6d051b4d36bc8a09"

Expand All @@ -1603,10 +1607,16 @@ d3-dsv@1:
iconv-lite "0.4"
rw "1"

d3-format@1:
d3-format@1, d3-format@^1.0.2:
version "1.1.1"
resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-1.1.1.tgz#26e094e7b0fa925d3615aa6f43b265c5ca82b46e"

d3-geo@^1.2.4:
version "1.6.3"
resolved "https://registry.yarnpkg.com/d3-geo/-/d3-geo-1.6.3.tgz#21683a43a061eaba21a7f254b51d5937eb640756"
dependencies:
d3-array "1"

d3-interpolate@1:
version "1.1.4"
resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-1.1.4.tgz#a43ec5b3bee350d8516efdf819a4c08c053db302"
Expand Down Expand Up @@ -1634,6 +1644,10 @@ d3-scale@^1.0.3:
d3-time "1"
d3-time-format "2"

d3-selection@^1.0.2:
version "1.0.5"
resolved "https://registry.yarnpkg.com/d3-selection/-/d3-selection-1.0.5.tgz#948c73b41a44e28d1742ae2ff207c2aebca2734b"

d3-time-format@2:
version "2.0.5"
resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-2.0.5.tgz#9d7780204f7c9119c9170b1a56db4de9a8af972e"
Expand Down Expand Up @@ -2237,7 +2251,7 @@ faye-websocket@~0.11.0:
dependencies:
websocket-driver ">=0.5.1"

fbjs@^0.8.1, fbjs@^0.8.4:
fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.4:
version "0.8.11"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.11.tgz#340b590b8a2278a01ef7467c07a16da9b753db24"
dependencies:
Expand Down Expand Up @@ -2469,7 +2483,7 @@ gl-constants@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/gl-constants/-/gl-constants-1.0.0.tgz#597a504e364750ff50253aa35f8dea7af4a5d233"

gl-matrix@^2.3.1, gl-matrix@^2.3.2:
gl-matrix@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/gl-matrix/-/gl-matrix-2.3.2.tgz#aac808c74af7d5db05fe04cb60ca1a0fcb174d74"

Expand All @@ -2486,7 +2500,7 @@ glob-parent@^2.0.0:
dependencies:
is-glob "^2.0.0"

glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@~7.1.1:
glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@~7.1.1:
version "7.1.1"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
dependencies:
Expand Down Expand Up @@ -2698,7 +2712,7 @@ ignore@^3.2.0:
version "3.2.6"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.2.6.tgz#26e8da0644be0bb4cb39516f6c79f0e0f4ffe48c"

immutable@*, immutable@^3.7.5:
immutable@^3.7.5:
version "3.8.1"
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.1.tgz#200807f11ab0f72710ea485542de088075f68cd2"

Expand Down Expand Up @@ -3250,31 +3264,10 @@ map-obj@^1.0.0, map-obj@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"

"mapbox-gl-function@github:mapbox/mapbox-gl-function#111a2b442be0689a65f5818dd2603c9b06962be0":
version "1.3.0"
resolved "https://codeload.github.com/mapbox/mapbox-gl-function/tar.gz/111a2b442be0689a65f5818dd2603c9b06962be0"

mapbox-gl-function@mapbox/mapbox-gl-function#41c6724e2bbd7bd1eb5991451bbf118b7d02b525:
version "1.3.0"
resolved "https://codeload.github.com/mapbox/mapbox-gl-function/tar.gz/41c6724e2bbd7bd1eb5991451bbf118b7d02b525"

"mapbox-gl-shaders@github:mapbox/mapbox-gl-shaders#44b65f8090a74cbb0319664d010b8d8a8a1512b0":
version "1.0.0"
resolved "https://codeload.github.com/mapbox/mapbox-gl-shaders/tar.gz/44b65f8090a74cbb0319664d010b8d8a8a1512b0"
dependencies:
brfs "^1.4.0"

"mapbox-gl-style-spec@github:mapbox/mapbox-gl-style-spec#7d330d2abf1775abc95ab8b889089cf5ff579357":
version "8.9.0"
resolved "https://codeload.github.com/mapbox/mapbox-gl-style-spec/tar.gz/7d330d2abf1775abc95ab8b889089cf5ff579357"
dependencies:
csscolorparser "~1.0.2"
jsonlint-lines-primitives "~1.6.0"
lodash.isequal "^3.0.4"
minimist "0.0.8"
rw "^0.1.4"
sort-object "^0.3.2"

mapbox-gl-style-spec@mapbox/mapbox-gl-style-spec#d11f6d2775bf5b22534b3b2fb3410755b2473cdf:
version "8.11.0"
resolved "https://codeload.github.com/mapbox/mapbox-gl-style-spec/tar.gz/d11f6d2775bf5b22534b3b2fb3410755b2473cdf"
Expand All @@ -3291,37 +3284,6 @@ mapbox-gl-supported@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/mapbox-gl-supported/-/mapbox-gl-supported-1.2.0.tgz#cbd34df894206cadda9a33c8d9a4609f26bb1989"

mapbox-gl@0.26.0:
version "0.26.0"
resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-0.26.0.tgz#c667e8870ade4fb46f196fb4f9a675d2f3d70c3b"
dependencies:
csscolorparser "^1.0.2"
earcut "^2.0.3"
feature-filter "^2.2.0"
geojson-rewind "^0.1.0"
geojson-vt "^2.4.0"
gl-matrix "^2.3.1"
grid-index "^1.0.0"
mapbox-gl-function mapbox/mapbox-gl-function#111a2b442be0689a65f5818dd2603c9b06962be0
mapbox-gl-shaders mapbox/mapbox-gl-shaders#44b65f8090a74cbb0319664d010b8d8a8a1512b0
mapbox-gl-style-spec mapbox/mapbox-gl-style-spec#7d330d2abf1775abc95ab8b889089cf5ff579357
mapbox-gl-supported "^1.2.0"
package-json-versionify "^1.0.2"
pbf "^1.3.2"
pngjs "^2.2.0"
point-geometry "^0.0.0"
quickselect "^1.0.0"
request "^2.39.0"
shelf-pack "^1.0.0"
supercluster "^2.0.1"
tinyqueue "^1.1.0"
unassertify "^2.0.0"
unitbezier "^0.0.0"
vector-tile "^1.3.0"
vt-pbf "^2.0.2"
webworkify "^1.4.0"
whoots-js "^2.0.0"

mapbox-gl@0.32.1:
version "0.32.1"
resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-0.32.1.tgz#fb12d33dc97a96ef5d2ad4f0b7827ccc247a8ad2"
Expand Down Expand Up @@ -4214,6 +4176,12 @@ punycode@^1.2.4, punycode@^1.4.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"

pure-render-decorator@^1.1.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/pure-render-decorator/-/pure-render-decorator-1.2.1.tgz#568870eeca17a1cee536b4fe94a3477fcd31eeb9"
dependencies:
fbjs "^0.8.0"

q@^1.1.2:
version "1.5.0"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.0.tgz#dd01bac9d06d30e6f219aecb8253ee9ebdc308f1"
Expand Down Expand Up @@ -4323,14 +4291,26 @@ react-hot-loader@next:
redbox-react "^1.2.5"
source-map "^0.4.4"

react-map-gl@3.0.0-alpha.4:
version "3.0.0-alpha.4"
resolved "https://registry.yarnpkg.com/react-map-gl/-/react-map-gl-3.0.0-alpha.4.tgz#6971ee142616acad5385661d92c0351b096f1fd6"
react-map-gl@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/react-map-gl/-/react-map-gl-2.0.2.tgz#d7bb1b60edf7921f9c79746ee74972fcce5021a5"
dependencies:
autobind-decorator "^1.3.3"
bowser "^1.2.0"
immutable "*"
canvas-composite-types "^1.0.4"
d3-array "^1.0.1"
d3-color "^1.0.1"
d3-format "^1.0.2"
d3-geo "^1.2.4"
d3-scale "^1.0.3"
d3-selection "^1.0.2"
flow-remove-types "^1.1.2"
glob "^7.1.1"
global "^4.3.0"
mapbox-gl "0.32.1"
viewport-mercator-project "^4.0.0-alpha.5"
pure-render-decorator "^1.1.0"
svg-transform "0.0.3"
viewport-mercator-project "^2.0.1"

react-proxy@^3.0.0-alpha.0:
version "3.0.0-alpha.1"
Expand Down Expand Up @@ -5027,6 +5007,10 @@ supports-color@^3.1.0, supports-color@^3.1.1, supports-color@^3.2.3:
dependencies:
has-flag "^1.0.0"

svg-transform@0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/svg-transform/-/svg-transform-0.0.3.tgz#dbe5756748483a8ba0d262674357aeb29a64b081"

svgo@^0.7.0:
version "0.7.2"
resolved "https://registry.yarnpkg.com/svgo/-/svgo-0.7.2.tgz#9f5772413952135c6fefbf40afe6a4faa88b4bb5"
Expand Down Expand Up @@ -5251,10 +5235,6 @@ uniqs@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02"

unitbezier@^0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/unitbezier/-/unitbezier-0.0.0.tgz#33bf7f5d7284c5350bfc5c7f770fba7549c54a5e"

unpipe@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
Expand Down Expand Up @@ -5352,12 +5332,9 @@ verror@1.3.6:
dependencies:
extsprintf "1.0.2"

viewport-mercator-project@^4.0.0-alpha.5:
version "4.0.0-alpha.5"
resolved "https://registry.yarnpkg.com/viewport-mercator-project/-/viewport-mercator-project-4.0.0-alpha.5.tgz#50f0ea441309c5d4fd43c942a41dcdaabf27b24a"
dependencies:
gl-matrix "^2.3.2"
mapbox-gl "0.26.0"
viewport-mercator-project@^2.0.1:
version "2.1.0"
resolved "https://registry.yarnpkg.com/viewport-mercator-project/-/viewport-mercator-project-2.1.0.tgz#6ae6249d199a80ca01319cdd821d7c6b7feae792"

vlq@^0.2.1:
version "0.2.1"
Expand Down
6 changes: 3 additions & 3 deletions examples/layer-browser/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -735,9 +735,9 @@ decamelize@^1.0.0, decamelize@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"

deck.gl@^4.0.0-rc.3:
version "4.0.0-rc1"
resolved "https://registry.yarnpkg.com/deck.gl/-/deck.gl-4.0.0-rc1.tgz#438116983c88a0c385bcffd7f19401ed843c5f44"
deck.gl@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/deck.gl/-/deck.gl-4.0.0.tgz#915d923eefa1b1f3fe026017c39518e13b782281"
dependencies:
d3-hexbin "^0.2.1"
earcut "^2.0.6"
Expand Down

0 comments on commit db79c46

Please sign in to comment.