Project

General

Profile

Feature #423

Updated by Stefan Eichert almost 9 years ago

Update after implementing some map features.  

 done:  
 fullscreen 
 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 marker and open popup (if one single place is selected) the site: 
 fit 1. Zoom to bounds (in overview) site 
 hide coord. button 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 not in edit or insert mode (marker.feature.properties.uid === uid)  
       { 
       marker.openPopup(); 
       } 
     }); 
 popup offset if too close to control buttons 



 Still open are:  
 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 
 - open place show coordinate capture button only in insert or edit mode of site 
    @Alex: I will implement this by clicking 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 marker/popup 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