Mapbox-gl-js: Wrong StyleSpec Docs for Geojson Source

Created on 4 Feb 2019  路  3Comments  路  Source: mapbox/mapbox-gl-js

Not sure if this is the right repo to report bug about the mapbox gl js doc, but doing anyway.
(StyleSpec Docs for Geojson Source)[https://docs.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson]

There are two sections of geojson source in the doc. The first geojson source doc list properties like
tiles/scheme/url (properties from TileJSON). And I guess the first one is wrong.

mapbox-gl-js version:

browser:

Steps to Trigger Behavior

1.
2.
3.

Link to Demonstration

https://jsbin.com/

Expected Behavior

Actual Behavior

bug docs

All 3 comments

It looks like the GeoJSON and Vector source docs got mixed together for some reason. I don't see anything wrong with the style-spec JSON. Could it be something with Batfish or the page shell @mapbox/docs?
screen shot 2019-02-04 at 10 57 06 am

Fixed in #7875 thank you for reporting!

Was this page helpful?
0 / 5 - 0 ratings