jazzband / jazzband/django-floppyforms

Multiple vector types in admin (polygon, line, points) in 1 map

Open
#183 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
836
Forks
150
PR merge metrics
No merged PRs in 30d

Description

Hi -
Thanks for the awesome code. Can you show how you get multiple different GEOS geometry fields into 1 admin map (polygon, line, points)?

This example only brings in the Point:

import floppyforms as forms

class GeoForm(forms.Form):
point = forms.gis.PointField()

I would like points, lines and polygons like the top of your map below the GeoDjango widgets title.

Cheers

Contributor guide

Open the contributing guide

Research direction

Start with the GeoForm example in the issue and the GeoDjango widgets section referenced there, then inspect the project’s admin-map documentation or examples. Done means documenting how one admin map can display point, line, and polygon geometry fields, including a working example if the project supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.