Skip to content

Commit 64798e8

Browse files
tordanschrisgervang
andcommitted
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 <[email protected]>
1 parent 0207e8e commit 64798e8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/api-reference/types.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -128,27 +128,27 @@ An object with the following fields:
128128

129129
#### LngLat
130130

131-
A [mapboxgl.LngLat](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglat) object.
131+
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/)).
132132

133133
#### LngLatLike
134134

135-
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.
135+
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/))
136136

137137
#### LngLatBounds
138138

139-
A [mapboxgl.LngLatBounds](https://docs.mapbox.com/mapbox-gl-js/api/geography/#lnglatbounds) object.
139+
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/)).
140140

141141
#### LngLatBoundsLike
142142

143-
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.
143+
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/))
144144

145145
#### Point
146146

147-
A [mapboxgl.Point](https://github.com/mapbox/point-geometry) object.
147+
A `Point` object. ([Mapbox](https://docs.mapbox.com/mapbox-gl-js/api/geography/#point) | [Maplibre](https://github.com/mapbox/point-geometry))
148148

149149
#### PointLike
150150

151-
A [Point](#point) or an array of two numbers representing x and y screen coordinates in pixels.
151+
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/)).
152152

153153
#### MapGeoJSONFeature
154154

0 commit comments

Comments
 (0)