Tag Info

New answers tagged


In addition to Wicket, there is also Wellknown // With Leaflet or MapBox.js var geojsonLayer = L.geoJson(parse('Point(1 2)'));


If you've already got WKT, then you might considering using the JavaScript library, Wicket, to go straight from your WKT to Leaflet features. As this example shows, you can pass in a WKT string and a style/options object, and Wicket will return a feature object you can attach directly to a Leaflet FeatureGroup, etc. This example assumes two things: 1) You ...

Top 50 recent answers are included