mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-25 16:02:50 +00:00
Docs: Fix Maplibre type links, Add Mapbox-Maplibre Links (#2357)
* Docs: Fix Maplibre type links, Add Mapbox-Maplibre Links * Docs: Re-add internal link * Update URLs in types.md --------- Co-authored-by: Chris Gervang <chrisgervang@users.noreply.github.com>
This commit is contained in:
parent
0207e8e264
commit
64798e86b0
@ -128,27 +128,27 @@ An object with the following fields:
|
||||
|
||||
#### LngLat
|
||||
|
||||
A [mapboxgl.LngLat](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglat) object.
|
||||
A `LngLat` object ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglat) | [Maplibre](https://maplibre.org/maplibre-gl-js/docs/API/classes/LngLat/)).
|
||||
|
||||
#### LngLatLike
|
||||
|
||||
A [LngLat](#lnglat) object, an array of two numbers representing longitude and latitude, or an object with `lng` and `lat` or `lon` and `lat` properties.
|
||||
A [`LngLat`](#lnglat) object, an array of two numbers representing longitude and latitude, or an object with `lng` and `lat` or `lon` and `lat` properties. ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglatlike) | [Maplibre](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/LngLatLike/))
|
||||
|
||||
#### LngLatBounds
|
||||
|
||||
A [mapboxgl.LngLatBounds](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglatbounds) object.
|
||||
A `LngLatBounds` object ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglatbounds) | [Maplibre](https://maplibre.org/maplibre-gl-js/docs/API/classes/LngLatBounds/)).
|
||||
|
||||
#### LngLatBoundsLike
|
||||
|
||||
A [LngLatBounds](#lnglatbounds) object, an array of [LngLatLike](#lnglatlike) objects in [sw, ne] order, or an array of numbers in [west, south, east, north] order.
|
||||
A [`LngLatBounds`](#lnglatbounds) object, an array of [`LngLatLike`](#lnglatlike) objects in [sw, ne] order, or an array of numbers in [west, south, east, north] order. ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglatboundslike) | [Maplibre](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/LngLatBoundsLike/))
|
||||
|
||||
#### Point
|
||||
|
||||
A [mapboxgl.Point](https://github.com/mapbox/point-geometry) object.
|
||||
A `Point` object. ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/geography/#point) | [Maplibre](https://github.com/mapbox/point-geometry))
|
||||
|
||||
#### PointLike
|
||||
|
||||
A [Point](#point) or an array of two numbers representing x and y screen coordinates in pixels.
|
||||
A [Point](#point) or an array of two numbers representing x and y screen coordinates in pixels ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/geography/#pointlike) | [Maplibre](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/PointLike/)).
|
||||
|
||||
#### MapGeoJSONFeature
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user