jazzband / jazzband/django-floppyforms

set extent of map using map_options

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

Description

i am trying to draw polygon on using floppy-form map in geodjango is there a way by which i can restrict user to draw polygon in certain restricted area using map_options

in short i want to know how so i set map boundaries extent using JavaScript code for floppy form
i know there is option for that in geodjango floppyform : "map_options"

but i don't know how do i set that can someone help me ?

Contributor guide

Open the contributing guide

Research direction

Start with the floppyforms map_options entry point and its JavaScript configuration for GeoDjango maps. Clarify how a user sets map extent or drawing boundaries, and document a complete example showing the required options and the resulting restriction.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, javascript, python
Domain
frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.