Skip to content

anduril/sample-app-entity-visualizer

Repository files navigation

Entity Map Visualizer

Sample App

Description

This sample application shows how to use the Lattice gRPC SDK for Javascript to display Entity position's as markers on a map. It uses the following dependencies to achieve this:

  • Connect RPC - To make the gRPC+Web requests
  • Material UI - For styling and basic components
  • React - UI Framework
  • React Leaflet - A React wrapper around the Leaflet open-source Javascript map library
  • React Leaflet MarkerCluster - Clusters Leaflet markers.

How to run locally

Pre-Requisites

This sample app requires that you have:

Clone the repository

git clone https://github.com/anduril/sample-app-entity-map-visualizer
cd sample-app-entity-map-visualizer

Edit variables

You now need to provide the sample application with the endpoint to get data from. To do so please create a .env file at the root of this project folder and populate it with:

VITE_BEARER_TOKEN=""
VITE_BASE_URL=""

Please contact your Anduril representative if you need assistance with populating these values.

Run the application

npm install
npm run dev

In the terminal window, open the local link to view the application. You should now see the application in your web browser.

Terminal

Learn More

To learn more about the Lattice SDK, please visit our documentation site.

Support

For support with this library please file an issue or reach out to your Anduril representative.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published