Created
April 14, 2020 15:36
-
-
Save rubenRP/679db96c87e9d37bbbfb81f566de2e32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react" | |
import L from "leaflet" | |
import { Map, Marker, Popup, TileLayer } from "react-leaflet" | |
const LOCATION = { | |
lat: 40.416775, | |
lng: -3.70379, | |
} | |
const CENTER = [LOCATION.lat, LOCATION.lng] | |
const DEFAULT_ZOOM = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment