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

Can i add a geojson in my map? #30

Open
joaoVictorBAlves opened this issue Dec 16, 2022 · 3 comments
Open

Can i add a geojson in my map? #30

joaoVictorBAlves opened this issue Dec 16, 2022 · 3 comments

Comments

@joaoVictorBAlves
Copy link

Hello, I'm João Victor, and I'm trying to use this lib to add geojsons to my map, but I'm not succeeding. In the documentation, there is no specifying how to do it. Could you help me?

@knapcio
Copy link
Owner

knapcio commented Dec 16, 2022

Hi, I'm not sure if I understand the question. Can you please describe what "geojsons" are and how we could possibly use them in the library?

@joaoVictorBAlves
Copy link
Author

Hi @knapcio, Geojson is a file that we submit to draw something on top of the map.
it is a json file that contains the drawings of states, cities, neighborhoods and so on. And in it we can add data about that region.

Something like that:
Captura de Tela (79)
here i submit a deojson in keple.gl rendering a draw under the map. The drawing specifies the regions.

I am trying do this with leaflet and using leaflet.PIXI.Overlay but i dont known how do that! The documentation cites "No limitations to polylines, circles or geoJSON. Draw whatever you want with Pixi.js" but i didnt find a way for that!

@joaoVictorBAlves
Copy link
Author

I believe that your implementation only allows you to implement the markers, but it would be nice to implement adding geojsons to make choropleth maps!

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

2 participants