diff --git a/docs/advanced/custom-components.md b/docs/advanced/custom-components.md
index aeb5a6e2..3d1f021d 100644
--- a/docs/advanced/custom-components.md
+++ b/docs/advanced/custom-components.md
@@ -78,4 +78,4 @@ Implement this method to render the content of this component. `this._context` i
## Source
-[base-control.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/components/base-control.js)
+[base-control.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/base-control.js)
diff --git a/docs/components/fly-to-interpolator.md b/docs/components/fly-to-interpolator.md
index b6725ef0..18b26bc9 100644
--- a/docs/components/fly-to-interpolator.md
+++ b/docs/components/fly-to-interpolator.md
@@ -19,5 +19,5 @@ import ReactMapGL, {FlyToInterpolator} from 'react-map-gl';
## Source
-[viewport-fly-to-interpolator.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/utils/transition/viewport-fly-to-interpolator.js)
+[viewport-fly-to-interpolator.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/utils/transition/viewport-fly-to-interpolator.js)
diff --git a/docs/components/fullscreen-control.md b/docs/components/fullscreen-control.md
index 85ad7c23..5d5af4bb 100644
--- a/docs/components/fullscreen-control.md
+++ b/docs/components/fullscreen-control.md
@@ -31,5 +31,5 @@ class Map extends Component {
Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to work properly. Make sure to add the stylesheet to your page.
## Source
-[fullscreen-control.js](https://github.com/uber/react-map-gl/tree/master/src/components/fullscreen-control.js)
+[fullscreen-control.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/fullscreen-control.js)
diff --git a/docs/components/geolocate-control.md b/docs/components/geolocate-control.md
index aaf80efa..3416c0ff 100644
--- a/docs/components/geolocate-control.md
+++ b/docs/components/geolocate-control.md
@@ -72,4 +72,4 @@ Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to
## Source
-[geolocate-control.js](https://github.com/uber/react-map-gl/tree/master/src/components/geolocate-control.js)
+[geolocate-control.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/geolocate-control.js)
diff --git a/docs/components/interactive-map.md b/docs/components/interactive-map.md
index a624f34a..e3c5ca01 100644
--- a/docs/components/interactive-map.md
+++ b/docs/components/interactive-map.md
@@ -330,5 +330,5 @@ Inherit the following methods from [StaticMap](/docs/components/static-map.md):
## Source
-[interactive-map.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/components/interactive-map.js)
+[interactive-map.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/interactive-map.js)
diff --git a/docs/components/linear-interpolator.md b/docs/components/linear-interpolator.md
index 44cdeee9..f8b1d7c7 100644
--- a/docs/components/linear-interpolator.md
+++ b/docs/components/linear-interpolator.md
@@ -24,5 +24,5 @@ Parameters:
## Source
-[linear-interpolator.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/utils/transition/linear-interpolator.js)
+[linear-interpolator.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/utils/transition/linear-interpolator.js)
diff --git a/docs/components/map-controller.md b/docs/components/map-controller.md
index 7e57dd14..d3d1cd49 100644
--- a/docs/components/map-controller.md
+++ b/docs/components/map-controller.md
@@ -69,4 +69,4 @@ Invoke `onViewportChange` callback with a new map state.
## Source
-[map-controller.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/utils/map-controller.js)
+[map-controller.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/utils/map-controller.js)
diff --git a/docs/components/marker.md b/docs/components/marker.md
index 2db16bbc..820db295 100644
--- a/docs/components/marker.md
+++ b/docs/components/marker.md
@@ -76,5 +76,5 @@ Stop propagation of dblclick event to the map component. Can be used to stop map
Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to work properly. Make sure to add the stylesheet to your page.
## Source
-[marker.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/components/marker.js)
+[marker.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/marker.js)
diff --git a/docs/components/navigation-control.md b/docs/components/navigation-control.md
index 086faea5..eacfa490 100644
--- a/docs/components/navigation-control.md
+++ b/docs/components/navigation-control.md
@@ -49,5 +49,5 @@ Stop propagation of dblclick event to the map component. Can be used to stop map
Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to work properly. Make sure to add the stylesheet to your page.
## Source
-[navigation-control.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/components/navigation-control.js)
+[navigation-control.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/navigation-control.js)
diff --git a/docs/components/popup.md b/docs/components/popup.md
index 586458e3..86f55fdd 100644
--- a/docs/components/popup.md
+++ b/docs/components/popup.md
@@ -77,5 +77,5 @@ Stop propagation of dblclick event to the map component. Can be used to stop map
Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to work properly. Make sure to add the stylesheet to your page.
## Source
-[popup.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/components/popup.js)
+[popup.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/popup.js)
diff --git a/docs/components/static-map.md b/docs/components/static-map.md
index c6e140ec..7200875b 100644
--- a/docs/components/static-map.md
+++ b/docs/components/static-map.md
@@ -211,4 +211,4 @@ const viewport = new WebMercatorViewport({width: 800, height: 600})
## Source
-[static-map.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/components/static-map.js)
+[static-map.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/components/static-map.js)
diff --git a/docs/get-started/adding-custom-data.md b/docs/get-started/adding-custom-data.md
index 6c4c4e2f..fdcdc509 100644
--- a/docs/get-started/adding-custom-data.md
+++ b/docs/get-started/adding-custom-data.md
@@ -73,7 +73,7 @@ import {SVGOverlay, HTMLOverlay, CanvasOverlay} from 'react-map-gl';
### Example Overlays
-There are a couple of [additional overlays](https://github.com/uber/react-map-gl/tree/master/examples/additional-overlays) in the examples folder that can be copied into applications `ScatterplotOverlay`, `DraggablePointsOverlay`, `ChoroplethOverlay`.
+There are a couple of [additional overlays](https://github.com/uber/react-map-gl/tree/4.1-release/examples/additional-overlays) in the examples folder that can be copied into applications `ScatterplotOverlay`, `DraggablePointsOverlay`, `ChoroplethOverlay`.
### Third-party Overlays
@@ -91,4 +91,4 @@ import cities from 'example-cities';
```
-Want to create and share your own overlay? Check the [examples/additional-overlays](https://github.com/uber/react-map-gl/tree/master/examples/additional-overlays) folder for examples.
+Want to create and share your own overlay? Check the [examples/additional-overlays](https://github.com/uber/react-map-gl/tree/4.1-release/examples/additional-overlays) folder for examples.
diff --git a/docs/get-started/get-started.md b/docs/get-started/get-started.md
index 084c0dea..aa486e9c 100644
--- a/docs/get-started/get-started.md
+++ b/docs/get-started/get-started.md
@@ -59,10 +59,10 @@ import 'mapbox-gl/dist/mapbox-gl.css';
* `browserify` - react-map-gl is extensively tested with `browserify` and works without configuration.
-* `webpack 2` - Most of the provided react-map-gl examples use webpack 2. For a minimal example, look at the [exhibit-webpack](https://github.com/uber/react-map-gl/tree/master/examples/exhibit-webpack) folder, demonstrating a working demo using `webpack 2`.
+* `webpack 2` - Most of the provided react-map-gl examples use webpack 2. For a minimal example, look at the [exhibit-webpack](https://github.com/uber/react-map-gl/tree/4.1-release/examples/exhibit-webpack) folder, demonstrating a working demo using `webpack 2`.
* `create-react-app` - react-map-gl is compatible with [create-react-app](https://github.com/facebook/create-react-app).
* `create-react-app-typescript` - react-map-gl is compatible with [create-react-app-typescript](https://github.com/wmonk/create-react-app-typescript). You can see an example [here](https://github.com/zackhsi/react-map-gl-typescript).
-There's many other ready-to-run [examples](https://github.com/uber/react-map-gl/blob/master/examples) you can take a look at if you need more inspiration.
+There's many other ready-to-run [examples](https://github.com/uber/react-map-gl/tree/4.1-release/examples) you can take a look at if you need more inspiration.
diff --git a/docs/overlays/canvas-overlay.md b/docs/overlays/canvas-overlay.md
index 47013b75..410fe025 100644
--- a/docs/overlays/canvas-overlay.md
+++ b/docs/overlays/canvas-overlay.md
@@ -29,5 +29,5 @@ Stop propagation of dblclick event to the map component. Can be used to stop map
## Source
-[canvas-overlay.js](https://github.com/uber/react-map-gl/tree/3.2-release/src/overlays/canvas-overlay.js)
+[canvas-overlay.js](https://github.com/uber/react-map-gl/tree/4.1-release/src/overlays/canvas-overlay.js)
diff --git a/docs/overlays/custom-overlays.md b/docs/overlays/custom-overlays.md
index 70776ea0..94924b4d 100644
--- a/docs/overlays/custom-overlays.md
+++ b/docs/overlays/custom-overlays.md
@@ -20,7 +20,7 @@ class MyCustomOverlay extends BaseControl {
}
```
-Here's an example of using the [ScatterplotOverlay](https://github.com/uber/react-map-gl/blob/master/examples/additional-overlays/src/scatterplot-overlay.js):
+Here's an example of using the [ScatterplotOverlay](https://github.com/uber/react-map-gl/tree/4.1-release/examples/additional-overlays/src/scatterplot-overlay.js):
```jsx
Map showing top 20 most populated cities of the United States. Click on a marker to learn more.
Data source: Wikipedia
); diff --git a/examples/custom-controller/package.json b/examples/custom-controller/package.json index da15eaa2..75e26731 100644 --- a/examples/custom-controller/package.json +++ b/examples/custom-controller/package.json @@ -6,7 +6,7 @@ "dependencies": { "react": "^16.3.0", "react-dom": "^16.3.0", - "react-map-gl": "^4.0.0" + "react-map-gl": "^4.1.0" }, "devDependencies": { "@babel/core": "^7.0.0", diff --git a/examples/custom-controller/src/control-panel.js b/examples/custom-controller/src/control-panel.js index c56cb79f..20e06019 100644 --- a/examples/custom-controller/src/control-panel.js +++ b/examples/custom-controller/src/control-panel.js @@ -27,7 +27,7 @@ export default class ControlPanel extends PureComponent {Override default event handling logic.
Customize the cursor based on interactivity.
Hover over counties to highlight counties that share the same name.
); diff --git a/examples/geojson-animation/package.json b/examples/geojson-animation/package.json index 04ceb189..05c72727 100644 --- a/examples/geojson-animation/package.json +++ b/examples/geojson-animation/package.json @@ -7,7 +7,7 @@ "immutable": "^3.8.1", "react": "^16.3.0", "react-dom": "^16.3.0", - "react-map-gl": "^4.0.0" + "react-map-gl": "^4.1.0" }, "devDependencies": { "@babel/core": "^7.0.0", diff --git a/examples/geojson-animation/src/control-panel.js b/examples/geojson-animation/src/control-panel.js index 46dd60f2..f71fe75e 100644 --- a/examples/geojson-animation/src/control-panel.js +++ b/examples/geojson-animation/src/control-panel.js @@ -11,7 +11,7 @@ export default class ControlPanel extends PureComponent {Render animation by updating GeoJSON data source.
Data source: US Census Bureau
Data source: earthquakes.geojson
); diff --git a/examples/interaction/package.json b/examples/interaction/package.json index da15eaa2..75e26731 100644 --- a/examples/interaction/package.json +++ b/examples/interaction/package.json @@ -6,7 +6,7 @@ "dependencies": { "react": "^16.3.0", "react-dom": "^16.3.0", - "react-map-gl": "^4.0.0" + "react-map-gl": "^4.1.0" }, "devDependencies": { "@babel/core": "^7.0.0", diff --git a/examples/interaction/src/control-panel.js b/examples/interaction/src/control-panel.js index 9368bb26..1589d6c9 100644 --- a/examples/interaction/src/control-panel.js +++ b/examples/interaction/src/control-panel.js @@ -61,7 +61,7 @@ export default class ControlPanel extends PureComponent {Turn interactive features off/on.
Dynamically show/hide map layers and change color with Immutable map style.
Smooth animate of the viewport.
Click on a San Fransisco Neighborhood to zoom in.
);