Project

General

Profile

Actions

Feature #1136

closed

Map enhancements

Added by Roland Filzwieser almost 5 years ago. Updated almost 5 years ago.

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

Description

General:
In view mode: display the respective unit (blue) and its subunits (green) e.g. place and all features of this place. Do not show superior unit e.g. do not show the place in the feature view.
Due to that too many markers can be hindering for orientation, it should be possible to switch the markers off.

In insert and edit mode: display the respective unit (blue) and its sibling units (green) e.g. grave (blue) and all other graves of this place (grey). Do not show superior- or sub-units e.g. only show the selected grave and sibling graves.

However, show marker of superior unit to make it easier findable.
Due to that too many markers can be hindering for orientation, it should be possible to switch the markers off.

It seems that intermediate centerpoints are calculated on the fly. They should only be calculated if there is no point geometry. If there is point geometry no calculated centerpoint is needed.

Zoom (in view/edit/insert): Zoom to bounds of all units (recursive) of this place if zoom is < 22; Else zoom to default value from profile settings

Actions #1

Updated by Roland Filzwieser almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Stefan Eichert almost 5 years ago

  • Description updated (diff)
  • Category set to Maps
  • Assignee changed from Stefan Eichert to Alexander Watzinger
Actions #3

Updated by Alexander Watzinger almost 5 years ago

  • Status changed from New to Assigned
  • Target version set to 5.0.0

Thank you for the feedback.

Better zoom and a toggle functions for markers will be added after Bootstrap implementation. If you didn't meant to toggle all markers please specify there (#1137) which one should be toggled.

Actions #5

Updated by Sonja Mayer almost 5 years ago

Just tested:

In insert mode all features of a place are shown, but in edit mode only the respective unit is displayed.

Actions #6

Updated by Alexander Watzinger almost 5 years ago

  • Status changed from Assigned to In Progress
  • Assignee changed from Alexander Watzinger to Stefan Eichert

As soon as we have fixed following issues I will merge it to the develop branch which is important so that it can be integrated to the bootstrap branch.

  • The new general/polygones/linestrings option which are not marked by default - I'm not sure what they are about and guess others will wonder too
  • We should look at the new zoom/cluster mechanics, test edge cases and maybe remove some admin/profile options if they are not needed anymore

@ Stefan: Many thanks for the work, I especially like the new cluster toggle option. Assigning this ticket to you.

Actions #7

Updated by Alexander Watzinger almost 5 years ago

@ Stefan:

I implemented a default_zoom setting. Default for is 12 (can be changed with DEFAULT_ZOOM in instance/production.py) which can be overridden by users in their profile.

It is than injected in templates/map.html as a JavaScript variable called mapDefaultZoom and would be available in map scripts like the mapMaxZoom variable.

Please implement so that if e.g. only one place is shown the map zooms only to the default zoom (currently it zooms to max zoom).

It's already committed in the develop branch on GitHub and online at https://thanados.openatlas.eu

Actions #8

Updated by Stefan Eichert almost 5 years ago

  • Subject changed from Display geodata in map enhancements to Map enhancements
  • Description updated (diff)
  • Status changed from In Progress to Closed
Actions #9

Updated by Alexander Watzinger almost 5 years ago

  • Estimated time set to 16.00 h
Actions

Also available in: Atom PDF