B
B
bonmucho2016-05-11 15:13:50
OpenStreetMap
bonmucho, 2016-05-11 15:13:50

How to create a map where you can display information about buildings or highlight buildings that match the given criteria (OSM tags + your own)?

You need to take an OSM map of a particular city, save it separately, add your own tags to buildings.
Make everything available online, with the ability to display information about it when you click on a building. Implement search by building tags. The search result is a specific building or buildings highlighted in color that match the query (you need to color the building polygon).
By what means is it possible to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Scherbakov, 2016-05-11
@Altaisoft

To output a map (OSM layer + your own vector layers on top of it) Leaflet can be used . Very handy thing, there are many plugins.
As for the search, I think I'll have to write separately. You can use Backbone.js or another framework. Well, it depends on the number of buildings - if there are a lot of them, then you should take care of storing data and searching for them in the database on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question