react-leaflet-webgl
Draw a lot of polygons fast
Usage
import React Component from 'react'import Map from 'react-leaflet'import './App.css'import 'leaflet/dist/leaflet.css'import L from 'leaflet'import LayerGl from "./lib";import world from './world.json'; { thisstate = lat: 51505 lng: -009 zoom: 7 thispolygons = worldfeatures } { const position = 5153122329711914 007263199985027313 return <Map = = => <TileLayer ="http://{s}.sm.mapstack.stamen.com/(toner-lite,$fff[difference],$fff[@23],$fff[hsl-saturation@20])/{z}/{x}/{y}.png" /> <LayerGl = /> </Map> }