Closed yeesian closed 7 years ago
@visr no hurry; but this is now ready for review
working on it
Nice, I have a commit pending that updates the readme.
Sorry for adding one more change that came up as I was working on https://github.com/yeesian/LeafletJS.jl. Here are some samples: http://nbviewer.jupyter.org/github/yeesian/LeafletExamples.jl/blob/master/notebook/leaflet-providers.ipynb
Without the PR, there would be issues (e.g. with escaping string quotes) inside nested objects when using JSON.json()
, and the API is now more consistent with naming conventions:
dict2geo()
takes a Dict
and converts it into a GeoInterface.*
objectgeo2dict()
takes a GeoInterface.*
object and converts it into a Dict
GeoJSON.geojson()
returns a String
(obeying the GeoJSON spec) similar to what JSON.json()
might return.I don't have any more pending changes to make, so feel free.
Added a few more commits. Go ahead and merge if you agree with those.
Thanks!