nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 697 forks source link

[Feature Request] Using Mapbox Map Matching API #1493

Closed cedricdelpoux closed 5 years ago

cedricdelpoux commented 5 years ago

Hello, I can't find a way to use the Mapbox Map Matching API to match GeoJSON geometries to the OpenStreetMap streets network.

Maybe I just missing something.

There is mapbox-match.js, a javascript plugin to do that.

nitaliano commented 5 years ago

@xuopled use https://github.com/mapbox/mapbox-sdk-js/blob/master/docs/services.md#mapmatching and supply the geojson to a ShapeSource and use a LineLayer to render it