Feature #423
Updated by Stefan Eichert over 9 years ago
Update after implementing some map features. Still open are: - a "blue" or highlightend marker for the selected entry which can be moved Possible first steps: When the page of the respective site is opened zoom to the site: 1. Zoom to site javascript: map.setView([lat, lng], 15); where lat and lng are latitude and longitude (northing and easting) of site 2. Open Popup of site javascript: sitesmarkers.eachLayer(function (marker) { if (marker.feature.properties.uid === uid) { marker.openPopup(); } }); where uid is the id of the respective site. Required: uid and x y of site as variable when site is opened @ Alex: I will use some fake variables for now. Can you automatically generate them later? - different colors for different types - show type-tree instead only type name - fullscreen mode - js broken if no places - show coordinate capture button only in insert or edit mode of site @Alex: I will implement this by using a fake true/false variable. Can you replace it afterwards with an automatically created one. Maps: I think it would be good to have the map-window on more pages than just the edit/insert page for places: 1. What about a map interface in the list-overview? Here an overview of the hitherto existing places could be shown. Different colors for different types of places. Pop-up binded to name, type, start/end and description 2. Map in the standard information page for places Here a map zoomed to the highlighted marker of the respective place would be good. 3. Edit/Insert window Here the already existing places like suggested in point 1 should be shown with (if in edit mode) the selected one highlighted. General: Should the map have a fullscreen toggle button? I suggest we talk about these ideas at the next meeting and discuss what to do and who (me?) does the map part. regards, Stefan