Skip to content

An EV Station Map using the Chargetrip Tile Service built by Chargetrip with ❤️

Notifications You must be signed in to change notification settings

chargetrip/react-native-charge-map-demo

Repository files navigation


Chargetrip examples

React Native station map demo with the Chargetrip Tile Service

Website ⚡️ Docs Examples

This repository contains a React Native demo application with a simple station map using Mapbox. This application belongs to the following article: Chargetrip Tile Service with React Native and Mapbox. This article explains how you can use the Chargetrip Tile Service in a React Native application. Together with the instructions in this README you should be able to run this demo.

If something is not explained or you are having troubles running this application, please let us know by opening an issue or contacting us in Spectrum chat. We improve our documentation continuously, and your feedback is valuable.

Getting started

Prerequisites

  • yarn
  • node
  • Watchman
  • XCode ios
  • Android Studio9s android

For a detailed guide regarding running a React Native app check the official documentation.

Installation and local development

Install all the dependencies:

$ yarn && cd ios && pod install && cd ..

Run the Metro bundler:

$ yarn start

You can now build the app for tusing yarn ios or yarn android.

Useful links

  1. Chargetrip GraphAPI docs
  2. Chargetrip GraphAPI playground
  3. Chargetrip GraphAPI schema information.

About

An EV Station Map using the Chargetrip Tile Service built by Chargetrip with ❤️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published