Code Monkey home page Code Monkey logo

Comments (12)

erdem avatar erdem commented on August 17, 2024 8

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.

from django-map-widgets.

jhotujec avatar jhotujec commented on August 17, 2024 3

+1 for the polygon widget

from django-map-widgets.

ryanuc avatar ryanuc commented on August 17, 2024

Another +1 for the polygon widget - would you consider funded development?

from django-map-widgets.

erdem avatar erdem commented on August 17, 2024

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.

camara90100 avatar camara90100 commented on August 17, 2024

+1 for the polygon widget

from django-map-widgets.

erdem avatar erdem commented on August 17, 2024

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.

RamizSami avatar RamizSami commented on August 17, 2024

+1 for the polygon widget

from django-map-widgets.

aksharahegde avatar aksharahegde commented on August 17, 2024

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

django-map-widgets

P.S.

  1. Supports only Google Maps as of now.
  2. Set WIDGET_MAP_CENTER in mapwidgets/static/mapwidgets/js/map_helper.js based on your region as default center.

from django-map-widgets.

mcosti avatar mcosti commented on August 17, 2024

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.

erdem avatar erdem commented on August 17, 2024

@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.

erdem avatar erdem commented on August 17, 2024

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.

ajgumiran88 avatar ajgumiran88 commented on August 17, 2024
  • 1 for polygon widget

from django-map-widgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.