docs(GeoJSON): use RFC link for previous HTML docs

RFC 7946 was officially published in August 2016, i.e. before Leaflet version 1.0.0 (Sep 2016). The previous GeoJSON spec website (geojson.org) displays a big "obsolete" disclaimer on it, making it confusing for developers which version they should refer to. Replace the link to use the RFC that was in use at that time, on all HTML docs since it was available, i.e. from Leaflet 1.0.0.
This commit is contained in:
ghybs 2018-06-29 05:40:59 +04:00 committed by Vladimir Agafonkin
parent 9eb260d9f7
commit 4c9e7cac4c
5 changed files with 5 additions and 5 deletions

View File

@ -13598,7 +13598,7 @@ GeoJSON data and display it on the map. Extends <a href="#featuregroup"><code>Fe
<tr id='geojson-l-geojson'>
<td><code><b>L.geoJSON</b>(<nobr>&lt;Object&gt;</nobr> <i>geojson?</i>, <nobr>&lt;<a href='#geojson-option'>GeoJSON options</a>&gt;</nobr> <i>options?</i>)</nobr></code></td>
<td>Creates a GeoJSON layer. Optionally accepts an object in
<a href="http://geojson.org/geojson-spec.html">GeoJSON format</a> to display on the map
<a href="https://tools.ietf.org/html/rfc7946">GeoJSON format</a> to display on the map
(you can alternatively add it later with <code>addData</code> method) and an <code>options</code> object.</td>
</tr>
</tbody></table>

View File

@ -13893,7 +13893,7 @@ GeoJSON data and display it on the map. Extends <a href="#featuregroup"><code>Fe
<tr id='geojson-l-geojson'>
<td><code><b>L.geoJSON</b>(<nobr>&lt;Object&gt;</nobr> <i>geojson?</i>, <nobr>&lt;<a href='#geojson-option'>GeoJSON options</a>&gt;</nobr> <i>options?</i>)</nobr></code></td>
<td>Creates a GeoJSON layer. Optionally accepts an object in
<a href="http://geojson.org/geojson-spec.html">GeoJSON format</a> to display on the map
<a href="https://tools.ietf.org/html/rfc7946">GeoJSON format</a> to display on the map
(you can alternatively add it later with <code>addData</code> method) and an <code>options</code> object.</td>
</tr>
</tbody></table>

View File

@ -13925,7 +13925,7 @@ GeoJSON data and display it on the map. Extends <a href="#featuregroup"><code>Fe
<tr id='geojson-l-geojson'>
<td><code><b>L.geoJSON</b>(<nobr>&lt;Object&gt;</nobr> <i>geojson?</i>, <nobr>&lt;<a href='#geojson-option'>GeoJSON options</a>&gt;</nobr> <i>options?</i>)</nobr></code></td>
<td>Creates a GeoJSON layer. Optionally accepts an object in
<a href="http://geojson.org/geojson-spec.html">GeoJSON format</a> to display on the map
<a href="https://tools.ietf.org/html/rfc7946">GeoJSON format</a> to display on the map
(you can alternatively add it later with <code>addData</code> method) and an <code>options</code> object.</td>
</tr>
</tbody></table>

View File

@ -14867,7 +14867,7 @@ GeoJSON data and display it on the map. Extends <a href="#featuregroup"><code>Fe
<tr id='geojson-l-geojson'>
<td><code><b>L.geoJSON</b>(<nobr>&lt;Object&gt;</nobr> <i>geojson?</i>, <nobr>&lt;<a href='#geojson-option'>GeoJSON options</a>&gt;</nobr> <i>options?</i>)</nobr></code></td>
<td>Creates a GeoJSON layer. Optionally accepts an object in
<a href="http://geojson.org/geojson-spec.html">GeoJSON format</a> to display on the map
<a href="https://tools.ietf.org/html/rfc7946">GeoJSON format</a> to display on the map
(you can alternatively add it later with <code>addData</code> method) and an <code>options</code> object.</td>
</tr>
</tbody></table>

View File

@ -14874,7 +14874,7 @@ GeoJSON data and display it on the map. Extends <a href="#featuregroup"><code>Fe
<tr id='geojson-l-geojson'>
<td><code><b>L.geoJSON</b>(<nobr>&lt;Object&gt;</nobr> <i>geojson?</i>, <nobr>&lt;<a href='#geojson-option'>GeoJSON options</a>&gt;</nobr> <i>options?</i>)</nobr></code></td>
<td>Creates a GeoJSON layer. Optionally accepts an object in
<a href="http://geojson.org/geojson-spec.html">GeoJSON format</a> to display on the map
<a href="https://tools.ietf.org/html/rfc7946">GeoJSON format</a> to display on the map
(you can alternatively add it later with <code>addData</code> method) and an <code>options</code> object.</td>
</tr>
</tbody></table>