# MapView Map Markers move horizontally when zooming or moving

**URL:** <https://forums.fusetools.com/t/mapview-map-markers-move-horizontally-when-zooming-or-moving/5252>\
**Category:** Bug Reports\
**Created:** [January 6, 2018, 9:49pm UTC](https://forums.fusetools.com/t/mapview-map-markers-move-horizontally-when-zooming-or-moving/5252 "2018-01-06T21:49:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Timberlake](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@Chris\_Timberlake](https://forums.fusetools.com/u/Chris_Timberlake)\
**Post date:** [January 6, 2018, 9:49pm UTC](https://forums.fusetools.com/t/mapview-map-markers-move-horizontally-when-zooming-or-moving/5252/1 "2018-01-06T21:49:10Z")

</div>

Version: Fuse version 1.5.0 (build 15046)  
OS: MacOSX  
iPhone X

I’m finding that when I zoom/moving the map that my map markers will move horizontally with the map itself.

```auto
<Page ux:Class="VenueMap" Background="#FFF">
	<Router ux:Dependency="mainRouter" />
	<JavaScript>
		var State = require("js/State.js").State;
		module.exports = {lat: State.VenueLat.value, long: State.VenueLong, name: State.VenueName}
	</JavaScript>
	<Panel>
		<NativeViewHost>
			<DockPanel>
				<RoundButton Title="Get Directions" ColorRect="#4CD964" Margin="0,0,0,20" Clicked="" Dock="Bottom"/>
				<MapView Latitude="{lat}" Longitude="{long}" ShowMyLocation="true" Dock="Fill">
					<MapMarker Latitude="{lat}" Longitude="{long}" Label="{name}"/>
				</MapView>
			</DockPanel>
		</NativeViewHost>
	</Panel>
</Page>

```

Picture:  
[https://drive.google.com/file/d/1N-YXqcKO4fBfQ-Aj7-Wumumqtg9Z2fDE/view?usp=sharing](https://drive.google.com/file/d/1N-YXqcKO4fBfQ-Aj7-Wumumqtg9Z2fDE/view?usp=sharing)  
[https://drive.google.com/file/d/1WkLApgZblA6IVfOs0LzYxzjWiFIgNkTr/view?usp=sharing](https://drive.google.com/file/d/1WkLApgZblA6IVfOs0LzYxzjWiFIgNkTr/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [January 8, 2018, 11:25am UTC](https://forums.fusetools.com/t/mapview-map-markers-move-horizontally-when-zooming-or-moving/5252/2 "2018-01-08T11:25:59Z")

</div>

That’s because both your marker and the mapview itself are data-bound to the same variables.

As you move the map, the coordinates of `lat` and `long` are updated to the value that is currently at the center of the viewport. The `MapMarker` then is moved to that position, since it uses the same variables for its position.

---

<div class="post-metadata">

**Author:** ![Chris\_Timberlake](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@Chris\_Timberlake](https://forums.fusetools.com/u/Chris_Timberlake)\
**Post date:** [January 8, 2018, 3:09pm UTC](https://forums.fusetools.com/t/mapview-map-markers-move-horizontally-when-zooming-or-moving/5252/3 "2018-01-08T15:09:32Z")

</div>

Well, now I feel dumb! Thanks @Uldis!
