Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Geocodio/lightning-maps-react

Repository files navigation

Lightning Maps React (Alpha release)

Npm Version Build Status License Downloads

React wrapper for lightning-maps-react. - A lightweight, dependency-free slippy map renderer.

Heavily inspired by Pigeon Maps and Leaflet, but with slightly different goals in mind:

Demo

Demo

Installation & Usage

yarn add lightning-maps-react

Include the Component

import React from 'react'
import { Map, Marker } from 'lightning-maps-react'

class Component extends React.Component {

  render() {
    return (
        <Map center={[38.865, -77.200]} zoom={12}>
            <Marker position={[38.912, -77.240]} color="red" />
        </Map>
    );
  }
}

About

Lightweight slippy map renderer for react

Resources

License

Stars

Watchers

Forks

Packages

No packages published