---
title: "Discussion on \"Animating InteractiveViewer in Flutter. Or how to animate Map in your Game.\" | Hashnode"
description: "Discussion on \"Animating InteractiveViewer in Flutter. Or how to animate Map in your Game.\". In my 4th game in the Loca Deserta Game Universe I am using InteractiveViewer widget in order to implement a map. It allows me to pan, zoom in/out, basically everything you expect from the map in a game:\n\nWhen the game starts I want to animate fly-ov..."
url: "https://hashnode.com/posts/animating-interactiveviewer-in-flutter-or-how-to-animate-map-in-your-game/608d22f4dc886b4318005183"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Animating InteractiveViewer in Flutter. Or how to animate Map in your Game.](https://gladimdim.org/animating-interactiveviewer-in-flutter-or-how-to-animate-map-in-your-game?utm_source=hashnode&utm_medium=feed)

In my 4th game in the Loca Deserta Game Universe I am using InteractiveViewer widget in order to implement a map. It allows me to pan, zoom in/out, basically everything you expect from the map in a game: When the game starts I want to animate fly-ov...

May 1, 2021 · 4 min read · gladimdim.org  
Updated Oct 29, 2021  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#game-development](https://hashnode.com/tag/game-development)

## Written by

[Dmytro Gladkyi](https://hashnode.com/@dmytrogladkyi)

@dmytrogladkyi · Kyiv, Ukraine

  
[View profile](https://hashnode.com/@dmytrogladkyi)

Unity & Web Developer

## Responses 1

Markdown supported · ⌘↵ to post

[Hitesh Danidhariya](https://hashnode.com/@benevolent)

[Nov 26, 2021](https://hashnode.com/posts/animating-interactiveviewer-in-flutter-or-how-to-animate-map-in-your-game/608d22f4dc886b4318005183/comment/61a087b59829fb749bcbfa06)

Can we get the Code for reference?

[Dmytro Gladkyi](https://hashnode.com/@dmytrogladkyi)

[Nov 26, 2021](https://hashnode.com/posts/animating-interactiveviewer-in-flutter-or-how-to-animate-map-in-your-game/608d22f4dc886b4318005183/comment/61a087b59829fb749bcbfa06#reply-61a0b83b9829fb749bcbff9d)

Yes! The whole game is open sourced.

You can find it here:

[github.com/gladimdim/chumaki](https://github.com/gladimdim/chumaki)

[Hitesh Danidhariya](https://hashnode.com/@benevolent)

[Nov 26, 2021](https://hashnode.com/posts/animating-interactiveviewer-in-flutter-or-how-to-animate-map-in-your-game/608d22f4dc886b4318005183/comment/61a087b59829fb749bcbfa06#reply-61a0bc5ce6a8de7421324e14)

[Dmytro Gladkyi](https://hashnode.com/@dmytrogladkyi) Bro can you answer one of my doubts? Is it possible to translate the Interactive Viewer from translate.(150.0,200.0) to something like translate.(0.0,200.0) bcoz my matrix just translate to (150.0,200.0) doesn't go to x = 0.0.
