# MapShapes translated with map extent translation

**URL:** <https://community.thinkgeo.com/t/mapshapes-translated-with-map-extent-translation/1780>\
**Category:** WinForms\
**Created:** [August 30, 2011, 6:53am UTC](https://community.thinkgeo.com/t/mapshapes-translated-with-map-extent-translation/1780 "2011-08-30T06:53:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://community.thinkgeo.com/u/Christian)\
**Post date:** [August 30, 2011, 6:53am UTC](https://community.thinkgeo.com/t/mapshapes-translated-with-map-extent-translation/1780/1 "2011-08-30T06:53:48Z")

</div>

&nbsp;Hi,

When&nbsp;I&nbsp;translate&nbsp;the&nbsp;CurrentExtent&nbsp;of&nbsp;the&nbsp;map&nbsp;by&nbsp;a&nbsp;certain&nbsp;offset,&nbsp;the&nbsp;overlying&nbsp;InMemoryFeatureLayer&nbsp;"moves"&nbsp;with&nbsp;it.&nbsp;i.e,&nbsp;the&nbsp;mapshapes&nbsp;in&nbsp;the&nbsp;InMemoryFeatureLayer&nbsp;are&nbsp;also&nbsp;translated&nbsp;by&nbsp;the&nbsp;same&nbsp;offset.&nbsp;Hence&nbsp;their&nbsp;coordinate&nbsp;point&nbsp;values&nbsp;change&nbsp;with&nbsp;each&nbsp;translation.&nbsp;

What&nbsp;I&nbsp;need&nbsp;is&nbsp;for&nbsp;the&nbsp;mapshapes&nbsp;to&nbsp;stay&nbsp;fixed&nbsp;on&nbsp;their&nbsp;original&nbsp;point&nbsp;coordinates.&nbsp;I&nbsp;use&nbsp;the&nbsp;translation&nbsp;as&nbsp;a&nbsp;means&nbsp;of&nbsp;panning&nbsp;programmatically.&nbsp;"PanTo"&nbsp;does&nbsp;not&nbsp;fulfill&nbsp;my&nbsp;panning&nbsp;requirements.

&nbsp;

help&nbsp;would&nbsp;be&nbsp;much&nbsp;appreciated.&nbsp;Many&nbsp;thanks

&nbsp;

---

<div class="post-metadata">

**Author:** ![Christian](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://community.thinkgeo.com/u/Christian)\
**Post date:** [August 30, 2011, 7:03am UTC](https://community.thinkgeo.com/t/mapshapes-translated-with-map-extent-translation/1780/2 "2011-08-30T07:03:17Z")

</div>

my&nbsp;mistake,&nbsp;just&nbsp;the&nbsp;opposite&nbsp;is&nbsp;true.&nbsp;what&nbsp;i&nbsp;need&nbsp;is&nbsp;for&nbsp;the&nbsp;mapshapes&nbsp;to&nbsp;move&nbsp;with&nbsp;the&nbsp;translation&nbsp;and&nbsp;not&nbsp;stay&nbsp;positioned&nbsp;on&nbsp;one&nbsp;static&nbsp;screenpoint.

---

<div class="post-metadata">

**Author:** ![Christian](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://community.thinkgeo.com/u/Christian)\
**Post date:** [August 30, 2011, 8:19am UTC](https://community.thinkgeo.com/t/mapshapes-translated-with-map-extent-translation/1780/3 "2011-08-30T08:19:20Z")

</div>

resolved.&nbsp;On&nbsp;changing&nbsp;the&nbsp;extent&nbsp;of&nbsp;the&nbsp;map,&nbsp;the&nbsp;Overlay&nbsp;holding&nbsp;the&nbsp;layers&nbsp;with&nbsp;mapshapes&nbsp;needs&nbsp;to&nbsp;be&nbsp;refreshed&nbsp;manually.

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [August 30, 2011, 1:56pm UTC](https://community.thinkgeo.com/t/mapshapes-translated-with-map-extent-translation/1780/4 "2011-08-30T13:56:11Z")

</div>

Christian,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;replying&nbsp;delay,&nbsp;that’s&nbsp;a&nbsp;good&nbsp;news&nbsp;to&nbsp;hear&nbsp;you&nbsp;resolved&nbsp;it,&nbsp;if&nbsp;you&nbsp;encounter&nbsp;any&nbsp;new&nbsp;problems&nbsp;please&nbsp;let&nbsp;me&nbsp;know&nbsp;again,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,
