Map libraries

Libraries used to create React web maps

Overview presentation and slides

For a high-level view of the mapping in Moped, see the presentation recordingarrow-up-right and slidesarrow-up-right. The rest of this documentation goes into greater detail on these topics.

Access token and API keys

The Mapbox access token is managed through the Austin Transportation Mapbox account. See the credentials in the DTS 1Password vault to access the dashboardarrow-up-right. The access token use is restricted to specific URLs that allows local development, testing with BrowserStackarrow-up-right (http://bs-local.com:3000/), and preview, staging, and production Netlify deployments but restricts usage from URLs outside these use cases.

Nearmap access and the API key is managed by CTM and can be inquired about through the COA ServiceNow Portalarrow-up-right. The API key is stored in the DTS 1Password Developers vault and is titled Moped Nearmap API Key.

Libraries

This is a Vis.gl (Uber) library that provides a React API for Mapbox GL JSarrow-up-right and serves as a client to present and select geographic data within Moped. An example of the data represented in the web maps in this application is the project extent created in the New Project workflow or viewed in the Project Summary view.

This is a Nebula.glarrow-up-right module that provides tools to draw, edit, select, and delete free-drawn features to a react-map-gl map component.

This is a React wrapper for mapbox-gl-geocoderarrow-up-right which uses the Mapbox Geocoding APIarrow-up-right to geocode. To limit the geocoder results, the the bbox prop of this library is used along with the bbox array from the feature collection returned from this queryarrow-up-right (Austin Full Purpose Jurisdiction).

Last updated

Was this helpful?