Project

General

Profile

Actions

Feature #982

closed

DPP Archaeological Map Extension

Added by Stefan Eichert almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Maps
Target version:
Start date:
2019-02-06
Estimated time:
4.00 h

Description

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

sample code:

    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
Pohansko (pending)

Actions #1

Updated by Alexander Watzinger almost 6 years ago

  • Assignee changed from Stefan Eichert to Alexander Watzinger
Actions #2

Updated by Alexander Watzinger almost 6 years ago

  • Description updated (diff)
  • Target version set to 3.14.0
Actions #3

Updated by Alexander Watzinger almost 6 years ago

  • Description updated (diff)

Joined this one with infos from issue 986 (DPP Archaeological Map Extension - Preparation) and deleted issue 986.

Actions #4

Updated by Alexander Watzinger almost 6 years ago

  • Status changed from Assigned to Closed
  • Estimated time set to 4.00 h

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.

Actions

Also available in: Atom PDF