DPP Archaeological Map Extension
This is a workaround for our favorite archaeologist Stefan until #978 is implemented.
Other user won't be able to use it but it's a good preparation for #978 and will then already be testet by Stefan.
Therefore three image files need to be shown on the map using Leaflet imageoverlay
var imageUrl = 'path to image/Kourim_north_georeferenced', --as url or relative path to file on server imageBounds = [[49.99800, 14.99246], [49.99747, 14.99328]]; --sample coordinates Kourim WGS84 L.imageOverlay(imageUrl, imageBounds).addTo(map);
Max Zoom needs to be adjusted to 30 to show the required scale of the image
Stará Kourim, ID = 112757, imageBounds = [[49.99800, 14.99246], [49.99747, 14.99328]]
Thunau, ID = 112760, imageBounds = [[48.58709, 15.64294], [48.58653, 15.64356]]
#4 Updated by Alexander Watzinger 4 months ago
- Estimated time set to 4.00 h
- Status changed from Assigned to Closed
Implemented the workaround with hardcoded data. Works only if in DPP versions and user is Stefan or me. There are 2 additional controls for the 2 overlay maps, also the max-zoom level is raised to 30.