Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: HTTP urls updated to https; OSM attribution link updated #930

Merged
merged 1 commit into from
Nov 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

React components for Leaflet maps.

## [Documentation](http://react-leaflet.js.org)
## [Documentation](https://react-leaflet.js.org)

- [Getting started](https://react-leaflet.js.org/docs/start-introduction)
- [API reference](https://react-leaflet.js.org/docs/api-map)
Expand Down
6 changes: 3 additions & 3 deletions packages/website/docs/api-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Applies to [control components](#controls), making their [`position: ControlPosi

### Marker

[Leaflet reference](http://leafletjs.com/reference.html#marker)
[Leaflet reference](https://leafletjs.com/reference.html#marker)

**Props**

Expand All @@ -149,7 +149,7 @@ Applies to [control components](#controls), making their [`position: ControlPosi

### Popup

[Leaflet reference](http://leafletjs.com/reference.html#popup)
[Leaflet reference](https://leafletjs.com/reference.html#popup)

**Props**

Expand All @@ -166,7 +166,7 @@ Applies to [control components](#controls), making their [`position: ControlPosi

### Tooltip

[Leaflet reference](http://leafletjs.com/reference.html#tooltip)
[Leaflet reference](https://leafletjs.com/reference.html#tooltip)

**Props**

Expand Down
16 changes: 8 additions & 8 deletions packages/website/docs/core-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000} />
Expand Down Expand Up @@ -126,7 +126,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000} />
Expand Down Expand Up @@ -215,7 +215,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000} />
Expand Down Expand Up @@ -292,7 +292,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000} />
Expand Down Expand Up @@ -333,7 +333,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000} />
Expand Down Expand Up @@ -371,7 +371,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000} />
Expand Down Expand Up @@ -410,7 +410,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000}>
Expand Down Expand Up @@ -475,7 +475,7 @@ const center = [51.505, -0.09]
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Square center={center} size={1000}>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-animated-panning.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function AnimateExample() {
</p>
<MapContainer center={[51.505, -0.09]} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<SetViewOnClick animateRef={animateRef} />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-draggable-marker.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function DraggableMarker() {
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<DraggableMarker />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ render(
zoom={13}
scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<LocationMarker />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-external-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function ExternalStateExample() {
scrollWheelZoom={false}
whenCreated={setMap}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
</MapContainer>
Expand Down
4 changes: 2 additions & 2 deletions packages/website/docs/example-layers-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ render(
<LayersControl position="topright">
<LayersControl.BaseLayer checked name="OpenStreetMap.Mapnik">
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
</LayersControl.BaseLayer>
<LayersControl.BaseLayer name="OpenStreetMap.BlackAndWhite">
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png"
/>
</LayersControl.BaseLayer>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-map-placeholder.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function MapWithPlaceholder() {
scrollWheelZoom={false}
placeholder={<MapPlaceholder />}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
</MapContainer>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-other-layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const purpleOptions = { color: 'purple' }
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<LayerGroup>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-panes.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function BlinkingPane() {
render(
<MapContainer bounds={outer} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<BlinkingPane />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-popup-marker.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const position = [51.505, -0.09]
render(
<MapContainer center={position} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Marker position={position}>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-react-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function ReactControlExample() {
return (
<MapContainer center={[51.505, -0.09]} zoom={6} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<MinimapControl position="topright" />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-svg-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const bounds = [
render(
<MapContainer center={position} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<SVGOverlay attributes={{ stroke: 'red' }} bounds={bounds}>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function TooltipCircle() {
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<TooltipCircle />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-vector-layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const redOptions = { color: 'red' }
render(
<MapContainer center={center} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Circle center={center} pathOptions={fillBlueOptions} radius={200} />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/example-view-bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function SetBoundsRectangles() {
render(
<MapContainer bounds={outerBounds} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<SetBoundsRectangles />
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/start-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Setup
```tsx live
<MapContainer center={[51.505, -0.09]} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Marker position={[51.505, -0.09]}>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function Home() {
render(
<MapContainer center={position} zoom={13} scrollWheelZoom={false}>
<TileLayer
attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Marker position={position}>
Expand Down