Project

General

Profile

Feature #423

Updated by Stefan Eichert almost 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. 


 
 - different colors for different types 
 - show type-tree instead only type name 
 - fullscreen mode 
 - js broken if no places 


 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 

 


Back