R
R
Roman Kalita2016-02-13 10:25:22
OpenStreetMap
Roman Kalita, 2016-02-13 10:25:22

How to make an editable map on the site?

Where to look for information, what to look for?
How to make a web page with a map.
The map is made up of layers. The city map itself is loaded onto the lower layer (from OpenStreetMap), the upper layers are loaded from the database. And it is also necessary that the user can enter elements (point / line / polygon) on the desired layer with the mouse and they are saved in the database.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dark Hole, 2016-02-13
@Engeneer

You need to put a click handler on the map. And send XMLHttpRequest to the server

R
Roman Kalita, 2016-02-13
@Engeneer

So far, I realized that to solve my question, you need to look towards Leaflet and GeoJSON.
Now I would like to understand how to load layers from the database onto the map. And how to edit these layers from the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question