Django Leaflet - Customization - Javascript

Django Leaflet is a small app for Django which allows the usage of maps in form elements. It is a form widget which generates a map for input fields like PointField, MultiPointField an PolygonField.

For my uses case I would like to customize the map controls within the leaflet map that is generated by the widget. The map let's users select a location which is then added to the formfield on a mouseclick or touch.

I would like to customize the code for the following fields:

- PointField

- MultiPointField

- PolygonField

The reason why I would like to customize:

Currently a user needs to select a marker option from the toolbar and apply it to the map. If a user wants to update the location he first needs to select the delete tool from the toolbar, delete the layer and reselect the marker option from the toolbar and then select a new location on the map.

This involves multiple clicks and a certain understanding of how the toolbar works. I think this can be done easier.

End result:

I would like to see the marker location updated on a second click on the map or after the polygon is finished without specifically selecting a delete or update tool from the toolbar.

For the PointField, we can update the location instead of deleting the old marker and creating a new marker. For the MultiPointField we can just add different markers on click. For The PolygonField we can delete the old polygon after the first polygon is closed.

More about the map widget can be found here: [login to view URL]

Javascript code responsible for the map controls: [login to view URL]

Documentation on how to customize the widget: [login to view URL]

In the attachement I included a screenshot from the current map widget compared with the required solution. You will notice that I removed the map controls, which shows a bare map with only the zoomcontrols.

If you have any question about this project, please let me know.

Example project is available on github

Навыки: Django, JavaScript, Git

Показать больше: small app php mysql, programming iphone app integration google maps, windows app allows chat outside organization, small app monitor windows folder, phyton app engine google maps, delphi small app, python django social networking google app engine, app allows quizzes post results facebook, iphone app data usage, small app mac, iphone app table view maps, app allows signature sms, iphone small app icon, create iphone app using google maps, small app change proxy, app desktop google maps, small app iphone, android sales app offline usage using rest, small app symbian

О работодателе:
( 0 отзыв(-а, -ов) ) Terschelling, Netherlands

ID проекта: #31275706

8 фрилансеров(-а) готовы выполнить эту работу в среднем за €151

(38 отзывов(-а))

Hi Very Thanks for positing "Django Leaflet - Customization" and I checked description As professional Full stack&Full time developer i have 7+ years experience in JavaScript, Git and Django etc. These are example si Больше

€155 EUR за 7 дней(-я)
(2 отзывов(-а))

I closely checked your description and I am very interested in your project. Experience : 7+ years Skills : Python / Django / Flask / Php / Laravel. I always bringing fresh idea during development and make it world- Больше

€120 EUR за 5 дней(-я)
(5 отзывов(-а))

Hello How are you? I have read your details carefully. I am familiar with leaflet. [login to view URL] please check this url. I used leaflet in this project. so I can help you. thanks

€140 EUR за 7 дней(-я)
(3 отзывов(-а))

Hi there, I am a independent and full stack developer. I have knowledge with following: - As Backend - Django, Flask, PHP(Codigniter, Laravel, PHP) - As front end - Vue.js React, Angular Больше

€249 EUR за 7 дней(-я)
(1 отзыв)

Hi, Greetings of the day! I am skilled Full stack software engineer with skills including Python, Plugin development, Web Security, Web Testing, JavaScript, Django, MySQL, Software Architecture, Software Development an Больше

€140 EUR за 7 дней(-я)
(3 отзывов(-а))

Hope you stay safe. I went over your job description thoroughly. With 5+ years of experience in Django development, I am absolutely sure I am the right person for this project. I am sure that I can do this project v Больше

€120 EUR за 2 дней(-я)
(1 отзыв)

Hello How are you? I have read your details. I am familiar with django projects. I have good experience with leaflet.js. so I can help you. Please contact me for more chat. thanks

€140 EUR за 7 дней(-я)
(1 отзыв)