Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] EIA map #6

Open
fresm opened this issue Mar 31, 2018 · 0 comments
Open

[Question] EIA map #6

fresm opened this issue Mar 31, 2018 · 0 comments

Comments

@fresm
Copy link

fresm commented Mar 31, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant