svg-to-geojson
svg-to-geojson copied to clipboard
[Question] EIA map
I hope that you tolerate asking a specific question!
I've tried to extract the jQuery SVG map (eia930map.js) from EIA Realtime Grid by injecting your script and running the following command (bbox = continental US):
var geoJson = svgtogeojson.svgToGeoJson(
[[-124.78, 24.74], [-66.95, 49.35]],
document.getElementById('mysvg'),
3
);
but it returned an empty SVG. May you please tell me, whether my process is generally the right?