Logo
22ndjan API Documentation

Sample map with Mapbox and Leaflet

Number of APIs: 1


This sample request uses a Mock server to return GeoJson data. The data is then rendered using Mapbox and Leaflet. Note that you must request your AccessToken from mapbox and provide it in the environmental var


1. Point map

GET {{url}}pointData

The lat/long in the response is used to create a point map.



ENDPOINTS