Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #41
Closed
Open
Created Jun 07, 2017 by Matija Obreza@mobrezaOwner

Auto-center map for countries and regions

The original map centering worked on locations of accessions directly. The centering methods worked correctly, but because the data is very poor the centering seemed to behave funny and non-functional.

We have implemented #39 (closed) that adds bounding box information on Country level.

Bounding box information for countries is available as SQL updates in: bboxes.csv

Center map for countries and regions only

When the filters contains "Country of Origin" or "Region of Origin", obtain the bounding box for the selected origin countries and auto-center map on the countries bounding box.

Initial "centering"

When the map is first displayed use the bounding box [(-80, -170), (80, 170)] to center the map.

Assignee
Assign to
Time tracking