docs(GeoJSON): update link to RFC page

use the "new" RFC 7946 page (official GeoJSON specification) instead of the obsolete geojson.org website.
This commit is contained in:
ghybs 2018-06-29 05:35:13 +04:00 committed by Vladimir Agafonkin
parent 95b34edbba
commit 35e07a947c

View File

@ -409,7 +409,7 @@ LayerGroup.include({
// @namespace GeoJSON // @namespace GeoJSON
// @factory L.geoJSON(geojson?: Object, options?: GeoJSON options) // @factory L.geoJSON(geojson?: Object, options?: GeoJSON options)
// Creates a GeoJSON layer. Optionally accepts an object in // Creates a GeoJSON layer. Optionally accepts an object in
// [GeoJSON format](http://geojson.org/geojson-spec.html) to display on the map // [GeoJSON format](https://tools.ietf.org/html/rfc7946) to display on the map
// (you can alternatively add it later with `addData` method) and an `options` object. // (you can alternatively add it later with `addData` method) and an `options` object.
export function geoJSON(geojson, options) { export function geoJSON(geojson, options) {
return new GeoJSON(geojson, options); return new GeoJSON(geojson, options);