Skip to content

Commit

Permalink
Fix source code links in documentation (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Feb 10, 2020
1 parent a0475ed commit 004993f
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/advanced/custom-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/api-reference/canvas-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion docs/api-reference/fullscreen-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion docs/api-reference/geolocate-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/api-reference/html-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/api-reference/interactive-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion docs/api-reference/layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion docs/api-reference/marker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion docs/api-reference/navigation-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion docs/api-reference/popup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion docs/api-reference/scale-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/api-reference/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/api-reference/static-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/api-reference/svg-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 004993f

Please sign in to comment.