# Marker display and Zoom on "Map"

**URL:** <https://forum.inductiveautomation.com/t/marker-display-and-zoom-on-map/95905>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [September 12, 2024, 2:55pm UTC](https://forum.inductiveautomation.com/t/marker-display-and-zoom-on-map/95905 "2024-09-12T14:55:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_MUSSO](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@Thomas\_MUSSO](https://forum.inductiveautomation.com/u/Thomas_MUSSO)\
**Post date:** [September 12, 2024, 2:55pm UTC](https://forum.inductiveautomation.com/t/marker-display-and-zoom-on-map/95905/1 "2024-09-12T14:55:52Z")

</div>

Hello everyone,

I'm coming to you with a small question about Ignition's “Map”, and more specifically about zooms.

I'd like some markers to be visible only when my current zoom is equal to or greater than 13, for example.

However, I can't find the parameter that contains the current zoom value.

`{currentzoomvalue???} >= 13`

I think I'm on the right track by playing with enabled according to the current zoom value, but I can't find it.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [September 12, 2024, 3:22pm UTC](https://forum.inductiveautomation.com/t/marker-display-and-zoom-on-map/95905/2 "2024-09-12T15:22:09Z")

</div>

Looks like there's a function to get the current zoom level:

> **[Perspective - Map Scripting | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-map/perspective-map-scripting#getzoom)**
>
> This page details the various scripting, component, and extension functions available for Perspective's Map component.

Example expression binding that updates once a second (I put it on a custom property, which then you could use in multiple places easily).

```python
runScript('self.getZoom', 1000)

```
