Moped Documentation
  • Welcome 👋
  • User Guides
    • Getting started
    • Map a project
  • Product Management
    • User communication
    • User management
    • User analytics
    • Local testing
    • Release process
    • Patch release process
    • MUI X Pro License
    • Integrations
      • Dataset documentation
      • ArcGIS Online
      • eCapris
      • Power BI
    • Features
  • Dev Guides
    • DB Docs & Data dictionary
    • Database backup policy
    • Moped Read Replica
    • How-to's
      • How do I start the Hasura cluster locally?
      • How do I launch the Hasura Console?
      • How do I get a JWT token?
      • How to ping the GraphQL API
      • How to ping the REST API
      • How do I connect a database with Postgres GUIs?
      • How do I connect to the RDS instance?
      • How to load production data into a local instance
      • How do I update seed data?
    • Hasura
      • Hasura Roles
      • Hasura Migrations
        • Getting Started
        • Installing the Hasura CLI
        • Configuration Files
        • Hasura Migration Principles
        • The Migration file format
        • Development
        • Hasura Seed Data
        • Running the Hasura Cluster Locally (video)
        • Create a migration: Exercise 1 (video)
        • Create a migration: Exercise 2 (video)
        • Latest hasura-cluster features
    • User Management
    • Authentication
      • Authentication Architecture
      • DynamoDB & Cognito
      • Secrets Manager & Cognito
      • Hasura & Cognito
      • React & Cognito
      • Flask API & Cognito
      • Single Sign-On with CTM
    • Code organization
    • API
      • Configuration Files
      • Testing
      • User Management API
    • Maps and geospatial data
      • Access tokens and API keys
      • Map libraries
      • Map data
      • Map styles
      • Map layers and basemaps
      • React patterns
      • V1 Archive
        • Map libraries
        • Map data
        • Map custom hooks
        • Map styles
        • Map layers and basemaps
    • UI access control
    • Design system
      • Branding
      • Component styles
      • Text content
    • Activity Log
      • Architecture
      • GitHub Actions and Deployment of Updates
      • Hasura Event Logs and Truncate Cron Job
      • Authentication
  • See also
  • Get Moped support, report a bug, or request an enhancement
  • Data & Technology Services
  • Github repository
Powered by GitBook
On this page
  • Overview presentation and slides
  • Access token and API keys
  • Libraries
  • react-map-gl
  • react-map-gl-draw
  • react-map-gl-geocoder

Was this helpful?

  1. Dev Guides
  2. Maps and geospatial data
  3. V1 Archive

Map libraries

Libraries used to create React web maps

PreviousV1 ArchiveNextMap data

Last updated 4 years ago

Was this helpful?

Overview presentation and slides

For a high-level view of the mapping in Moped, see the and . 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 access token use is restricted to specific URLs that allows local development, testing with (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 . 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 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 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 which uses the 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 (Austin Full Purpose Jurisdiction).

{
  type: "FeatureCollection",
  crs: {
    type: "name",
    properties: {
      name: "EPSG:4326",
    },
  },
  bbox: [
    -97.940377028014,
    30.1337172258415,
    -97.578205982277,
    30.4648268798927,
  ],
  features: [],
}

presentation recording
slides
the dashboard
BrowserStack
COA ServiceNow Portal
react-map-gl
Mapbox GL JS
react-map-gl-draw
Nebula.gl
react-map-gl-geocoder
mapbox-gl-geocoder
Mapbox Geocoding API
this query