Hi I would like to draw several areas on the map (which are not overlapping), preferrably in different colour each. Each area should have one central point (headquarter). It can be marked with marker. Website visitors can then see which area they are within and which central point they need to report. However, those areas are useful to the visitors of my web site only i.e. they are not county borders or anything similar worth marking permanently and sharing with general public (but no problem if needed to be). The map should be embedded on my web site. It should look something similar to this: link text Is it possible to do it using OpenStreetMap, and what would be the best way? asked 30 Nov '12, 17:11 Nik |
You would not technically be doing this "with OpenStreetMap". You would just display OpenStreetMap as your background layer (or, indeed, any other map), and use a suitable JavaScript library (OpenLayers or Leaflet) to display your polygons on top of that. That will require a little JavaScript coding but not much. You will also need a way to feed your polygons into the JavaScript - this can either happen through a static KML document that you amend with an editor each time a polygon is added or changed, or it could be with a database on some kind of server. answered 30 Nov '12, 18:10 Frederik Ramm ♦ Thanks Frederik, I hoped that there is some ready made solution, as I'm not a Java programmer, but I'll figure it out with the help of some friends.
(30 Nov '12, 23:14)
Nik
|