mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-25 16:02:50 +00:00
Fix source code links in documentation (#1021)
This commit is contained in:
parent
a0475ed808
commit
004993fef2
@ -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/5.2-release/src/api-reference/base-control.js)
|
||||
[base-control.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/base-control.js)
|
||||
|
||||
@ -41,5 +41,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/5.2-release/src/api-reference/canvas-overlay.js)
|
||||
[canvas-overlay.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/overlays/canvas-overlay.js)
|
||||
|
||||
|
||||
@ -33,5 +33,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/5.2-release/src/api-reference/fullscreen-control.js)
|
||||
[fullscreen-control.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/fullscreen-control.js)
|
||||
|
||||
|
||||
@ -85,4 +85,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/5.2-release/src/api-reference/geolocate-control.js)
|
||||
[geolocate-control.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/geolocate-control.js)
|
||||
|
||||
@ -44,4 +44,4 @@ Stop propagation of dblclick event to the map component. Can be used to stop map
|
||||
|
||||
## Source
|
||||
|
||||
[html-overlay.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/html-overlay.js)
|
||||
[html-overlay.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/overlays/html-overlay.js)
|
||||
|
||||
@ -366,5 +366,5 @@ Inherit the following methods from [StaticMap](/docs/api-reference/static-map.md
|
||||
|
||||
## Source
|
||||
|
||||
[interactive-map.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/interactive-map.js)
|
||||
[interactive-map.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/interactive-map.js)
|
||||
|
||||
|
||||
@ -61,5 +61,5 @@ Note that layers are added by the order that they mount. They are *NOT* reordere
|
||||
|
||||
## Source
|
||||
|
||||
[layer.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/layer.js)
|
||||
[layer.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/layer.js)
|
||||
|
||||
|
||||
@ -144,5 +144,5 @@ Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to
|
||||
|
||||
## Source
|
||||
|
||||
[marker.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/marker.js)
|
||||
[marker.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/marker.js)
|
||||
|
||||
|
||||
@ -96,5 +96,5 @@ Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to
|
||||
|
||||
## Source
|
||||
|
||||
[navigation-control.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/navigation-control.js)
|
||||
[navigation-control.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/navigation-control.js)
|
||||
|
||||
|
||||
@ -133,5 +133,5 @@ Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to
|
||||
|
||||
## Source
|
||||
|
||||
[popup.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/popup.js)
|
||||
[popup.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/popup.js)
|
||||
|
||||
|
||||
@ -42,4 +42,4 @@ Like its Mapbox counterpart, this control relies on the mapbox-gl stylesheet to
|
||||
|
||||
## Source
|
||||
|
||||
[scale-control.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/scale-control.js)
|
||||
[scale-control.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/scale-control.js)
|
||||
|
||||
@ -52,4 +52,4 @@ Type of the source.
|
||||
|
||||
## Source
|
||||
|
||||
[source.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/source.js)
|
||||
[source.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/source.js)
|
||||
|
||||
@ -266,4 +266,4 @@ const viewport = new WebMercatorViewport({width: 800, height: 600})
|
||||
|
||||
## Source
|
||||
|
||||
[static-map.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/static-map.js)
|
||||
[static-map.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/components/static-map.js)
|
||||
|
||||
@ -44,4 +44,4 @@ Stop propagation of dblclick event to the map component. Can be used to stop map
|
||||
|
||||
## Source
|
||||
|
||||
[svg-overlay.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/svg-overlay.js)
|
||||
[svg-overlay.js](https://github.com/uber/react-map-gl/tree/5.2-release/src/overlays/svg-overlay.js)
|
||||
|
||||
@ -132,11 +132,11 @@ Release date: July 27th, 2017
|
||||
|
||||
#### [InteractiveMap (New, MapGL replacement)](/docs/api-reference/interactive-map.md)
|
||||
|
||||
This is a wrapper on top of `StaticMap`. It takes all the props of `StaticMap` and additional ones such as `onViewportChange`, `scrollZoom`, `dragRotate`, etc. to control interactivity on the map. See [Source Code](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/interactive-map.js) for more information.
|
||||
This is a wrapper on top of `StaticMap`. It takes all the props of `StaticMap` and additional ones such as `onViewportChange`, `scrollZoom`, `dragRotate`, etc. to control interactivity on the map. See [Source Code](https://github.com/uber/react-map-gl/tree/3.0-release/src/components/interactive-map.js) for more information.
|
||||
|
||||
#### [StaticMap (New)](/docs/api-reference/static-map.md)
|
||||
|
||||
This is the React wrapper around `Mapbox GL JS` and takes in viewport properties such as `width`, `height`, `latitude`, `longitude`. Style diffing and updating logic also live here. See [Source Code](https://github.com/uber/react-map-gl/tree/5.2-release/src/api-reference/static-map.js) for more information.
|
||||
This is the React wrapper around `Mapbox GL JS` and takes in viewport properties such as `width`, `height`, `latitude`, `longitude`. Style diffing and updating logic also live here. See [Source Code](https://github.com/uber/react-map-gl/tree/3.0-release/src/components/static-map.js) for more information.
|
||||
|
||||
#### Overlays
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user