import { useState, useEffect } from "react"; import { MapContainer } from "react-leaflet"; import "leaflet/dist/leaflet.css"; import "leaflet-boundary-canvas"; import L from "leaflet"; const position = [20.5937, 78.9629]; // Centered over India const mapStyle = { height: "100vh" }; export default function Map() { const [map, setMap] = useState(null); useEffect(() => { if (!map) return; const fetchGeoJSON = async () => { const response = await fetch(...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with OpenStreet Map
Contact OpenStreet Map, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack