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

add django-geojson template filter to the documentation #369

Merged
merged 1 commit into from Jan 8, 2024

Conversation

lukasalexanderweber
Copy link
Contributor

@lukasalexanderweber lukasalexanderweber commented Dec 29, 2023

Thanks for both django-geojson and django-leaflet, it's really convenient to use!

In django-geojson is stated that I can simply put

// Leaflet JS
L.geoJson({{ object_list|geojsonfeature|safe}}).addTo(map);

to add data from my queryset to a map. However, it seems to be a bit more complicated.

I thought it might be a good idea to contribute a working solution. If you think it is correct, we might also want to update the django-geojson docs or link to this page.

@Gagaro
Copy link
Member

Gagaro commented Jan 8, 2024

Thanks for the PR 👍 . Feel free to do another one in django-geojson.

@Gagaro Gagaro merged commit a344779 into makinacorpus:master Jan 8, 2024
17 of 18 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants