Open gigster99 opened 9 years ago
Hi @gigster99,
I would recommend looking into the Leaflet library for the sorts of things you are asking. In the block you are referencing I had aped Mike Bostock's block on how to use Google Maps with d3.js, however, there is much more documentation for using leaflet - check out this post, or this one to get started. I am sure there would be a way to do something similar with the Google Maps API but I am unfamiliar with it. Two projects that make working with leaflet easier are Folium (python) and Leaflet (R).
All of the mineral data is in mg/kg.
hope that helps, zach cp
Very helpful - thank you. Also good to know the matrix value.
/g
From: zachcp [mailto:notifications@github.com] Sent: Monday, April 27, 2015 2:27 PM To: zachcp/quickD3map Cc: gig graham Subject: Re: [quickD3map] soil map (#15)
Hi @gigster99 https://github.com/gigster99 ,
I would recommend looking into the Leaflet http://leafletjs.com/ library for the sorts of things you are asking. In the block you are referencing I had aped Mike Bostock's block on how to use Google Maps with d3.js, however, there is much more documentation for using leaflet - check out this post http://www.kgryte.com/blog/leaflet-visualization-places-traveled/ , or this one http://bost.ocks.org/mike/leaflet/ to get started. I am sure there would be a way to do something similar with the Google Maps API but I am unfamiliar with it. Two projects that make working with leaflet easier are Folium https://github.com/python-visualization/folium (python) and Leaflet https://github.com/rstudio/leaflet (R).
All of the mineral data is in mg/kg.
hope that helps, zach cp
— Reply to this email directly or view it on GitHub https://github.com/zachcp/quickD3map/issues/15#issuecomment-96788250 . https://github.com/notifications/beacon/AB9THopyTFVe05A3lE764wDQ0_d1HxRjks5oDoUdgaJpZM4EJjlE.gif
May I ask for your help on: http://bl.ocks.org/zachcp/4340234
How should we update your JS so that the chemical data in the JSON file is revealed on map location mouseover?
If that is possible, how should we format the chemical data as a 2 column table?
Also what is the unit-of-measure for the data? For example is it grams per kilogram?
Thank you for your help here. /gg