Comments (12)
I am considering to implement Polygon widget at the moment, but I am not sure when I can start to implement. It may come in next release.
Thanks.
from django-map-widgets.
+1 for the polygon widget
from django-map-widgets.
Another +1 for the polygon widget - would you consider funded development?
from django-map-widgets.
Sorry for late reply guys. I had been quite busy last a couple months. I can't look this project for a while.
I want to add the polygon map widget, but I need to fix some bugs first. A static polygon map widget will be in next release, but I can't say the same for google map integrated widget.
@ryanuc I never thought funded development for this project but sounds good. You can contact me at [email protected].
Thanks.
from django-map-widgets.
+1 for the polygon widget
from django-map-widgets.
Hi All
Unfournetly, I will not implement the polygon widget in the short term. I did some bug fixes and just released a new version, but I couldn't spare time to implement new widgets.
If anyone like to send a PR for Polygon Widget, I'm happy to help.
I am closing the ticket until getting a PR.
Thanks.
from django-map-widgets.
+1 for the polygon widget
from django-map-widgets.
Added Polygon and Polyline widgets for Django Admin.
Polygon Widget: Supports drawing and rendering of django.contrib.gis.geos.Polygon
Polyline Widget: To render django.contrib.gis.geos.MultiLineString
P.S.
- Supports only Google Maps as of now.
- Set WIDGET_MAP_CENTER in
mapwidgets/static/mapwidgets/js/map_helper.js
based on your region as default center.
from django-map-widgets.
Hey @aksharahegde, great work with adding it.
I've worked a bit to make your code actually work here:
https://github.com/mcosti/django-map-widgets
Feel free to merge it into your own fork.
Using your library, you cannot load multiple maps on the same page. Personally, I need a point widget and a (multi) polygon widget.
You've done some great work so far, I wish I could contribute more to it, but I don't have the time.
Do you think it would be difficult for you to fix that and also add support for multi polygon?
from django-map-widgets.
@mcosti Thank you for your contribution! I am on vacation at the moment, will look into your work as soon as I am available and will update the thread.
Thanks again.
from django-map-widgets.
Sorry for the confusion in my previous response, I misunderstood the intention behind @mcosti's post.
@aksharahegde, I am glad to see a polygon widget in one of the forks of this project. However, it is not ready to be included in the upcoming release as some key functionalities are still missing, such as the ability to draw a polygon area on the map. If you continue to work on the polygon widget, please let us know.
I haven't given up on the project yet. Implementing a fully functional polygon widget will require additional work along with the widget itself, but I will do my best to find a time to do it in the near future.
Thanks.
from django-map-widgets.
- 1 for polygon widget
from django-map-widgets.
Related Issues (20)
- Detail page stuck
- Add delay for autocomplete HOT 1
- Support of polygon fields HOT 1
- map image not found HOT 1
- This project support Django3.x? HOT 3
- place.geometry can be undefined in handleAutoCompletePlaceChange
- Add documentation for Google APIs that have to be enabled HOT 5
- missing six requirement
- how can I change the template of form column? HOT 1
- After loading {{form.media}} javascripts in the page stop working HOT 3
- docker-compose seems broken HOT 2
- Undefined geocoding response object "place" when triggering "google_point_map_widget:marker_change" HOT 3
- .ugettext_lazy() is deprecated in django 4.0 HOT 1
- Form field errors are not shown HOT 1
- The map doesn't appear and ScrollWheel zooming settings HOT 4
- Invalid JSON error reported whenever a `PointField` is saved with the `GooglePointFieldWidget` in the Django admin
- How to make a map widget read-only? HOT 1
- How to set the default MapTypeId to satellite? HOT 1
- GooglePointFieldInlineWidget doesn't work with Django 4.2.2 HOT 1
- Map doesn't show in django admin? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-map-widgets.