Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-maps gnome-maps
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnome-mapsgnome-maps
  • Merge requests
  • !47

mapView: Do not animate to stored location

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged James Westman requested to merge jwestman/gnome-maps:fix-zoom-at-start into master Jul 17, 2019
  • Overview 1
  • Commits 1
  • Pipelines 4
  • Changes 2

This avoids the gotoBBox function, which uses animations, and instead sets the zoom level and calls center_on() on the view.

This involves storing the last viewed location by coordinates and zoom level rather than by a bounding box. A migration path is provided so that the old bounding boxes use the old, animated method.

Implements #192 (closed)

Edited Jul 30, 2019 by Marcus Lundblad
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-zoom-at-start