# Map component zoom in when marker clicked

**URL:** <https://forum.inductiveautomation.com/t/map-component-zoom-in-when-marker-clicked/81759>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 10, 2023, 1:43pm UTC](https://forum.inductiveautomation.com/t/map-component-zoom-in-when-marker-clicked/81759 "2023-11-10T13:43:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Purushothaman\_R](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Purushothaman\_R](https://forum.inductiveautomation.com/u/Purushothaman_R)\
**Post date:** [November 10, 2023, 1:43pm UTC](https://forum.inductiveautomation.com/t/map-component-zoom-in-when-marker-clicked/81759/1 "2023-11-10T13:43:15Z")

</div>

i am trying to do something like this

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/b/0beadc9a4c63b4910ccf56c419514379cec34d00.jpeg)

if i click the marker it should zoom in if i close the popup the map needs to come to its initial position.I will paste the link here for reference. And also the popup should be in bottom right as shown in the figure [https://onlinedemo.inductiveautomation.com/data/perspective/client/OnlineDemo/feature/realtime/maps](https://onlinedemo.inductiveautomation.com/data/perspective/client/OnlineDemo/feature/realtime/maps)  
kindly help me guys.
