Open sebitoelcheater opened 7 years ago
Hi @sebitoelcheater
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.
+1 for the polygon widget
Another +1 for the polygon widget - would you consider funded development?
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 github@erdemozkol.com.
Thanks.
+1 for the polygon widget
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.
+1 for the polygon widget
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.
mapwidgets/static/mapwidgets/js/map_helper.js
based on your region as default center.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?
@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.
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.
Please consider implementing a widgets.PolygonFieldInlineWidgetMixin