# How to plot my locations in map

**URL:** <https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978>\
**Category:** WinForms\
**Created:** [January 20, 2010, 12:56am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978 "2010-01-20T00:56:51Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 20, 2010, 12:56am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/1 "2010-01-20T00:56:51Z")

</div>

Hai&nbsp;All,

Am&nbsp;new&nbsp;&nbsp;to&nbsp;this&nbsp;tool.&nbsp;Am&nbsp;using&nbsp;Desktop&nbsp;edition&nbsp;3.0&nbsp;in&nbsp;WPF(C#).&nbsp;i&nbsp;succesfully&nbsp;loaded&nbsp;my&nbsp;geotif&nbsp;map&nbsp;image&nbsp;in&nbsp;wpf&nbsp;window&nbsp;form.&nbsp;and&nbsp;now&nbsp;my&nbsp;requirement&nbsp;is&nbsp;to&nbsp;locate&nbsp;my&nbsp;points&nbsp;in&nbsp;the&nbsp;map.&nbsp;my&nbsp;location&nbsp;points&nbsp;are&nbsp;in&nbsp;(.csv)&nbsp;file&nbsp;format.&nbsp;is&nbsp;it&nbsp;possible&nbsp;to&nbsp;load&nbsp;csv&nbsp;location&nbsp;points&nbsp;in&nbsp;geotiff.??&nbsp;if&nbsp;so&nbsp;can&nbsp;any&nbsp;on&nbsp;tell&nbsp;me&nbsp;how&nbsp;to&nbsp;do&nbsp;it&nbsp;else&nbsp;if&nbsp;possible&nbsp;tell&nbsp;me&nbsp;some&nbsp;sample&nbsp;code.&nbsp;it&nbsp;might&nbsp;be&nbsp;help&nbsp;lot.

---

<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:** [January 20, 2010, 2:45am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/2 "2010-01-20T02:45:13Z")

</div>

dCODE,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Welcome&nbsp;to&nbsp;MapSuite’s&nbsp;world.&nbsp;  
&nbsp;&nbsp;  
&nbsp;First,&nbsp;you&nbsp;need&nbsp;to&nbsp;get&nbsp;the&nbsp;longitude&nbsp;and&nbsp;latitude&nbsp;from&nbsp;csv&nbsp;file&nbsp;by&nbsp;your&nbsp;code.&nbsp;And&nbsp;then&nbsp;you&nbsp;can&nbsp;create&nbsp;a&nbsp;InMemoryFeatureLayer&nbsp;and&nbsp;add&nbsp;the&nbsp;point&nbsp;to&nbsp;it.&nbsp;Make&nbsp;sure&nbsp;you&nbsp;set&nbsp;the&nbsp;right&nbsp;style&nbsp;and&nbsp;zoomlevel.&nbsp;  
&nbsp;Please&nbsp;look&nbsp;at&nbsp;our&nbsp;HowDoI&nbsp;sample&nbsp;PlotALatitudeAndLongitudePointOnTheMap&nbsp;which&nbsp;is&nbsp;exactly&nbsp;what&nbsp;you&nbsp;want.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Let&nbsp;me&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;more&nbsp;questions.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 20, 2010, 3:25am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/3 "2010-01-20T03:25:13Z")

</div>

when&nbsp;am&nbsp;trying&nbsp;to&nbsp;run&nbsp;the&nbsp;how&nbsp;do&nbsp;i&nbsp;samples&nbsp;am&nbsp;getting&nbsp;object&nbsp;reference&nbsp;error&nbsp;in&nbsp;wpfMap1.Refresh();&nbsp;  
&nbsp;&nbsp;  
&nbsp;whats&nbsp;the&nbsp;reason?

---

<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:** [January 20, 2010, 9:49am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/4 "2010-01-20T09:49:18Z")

</div>

Hi&nbsp;dCODE,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;need&nbsp;to&nbsp;clarify&nbsp;some&nbsp;information&nbsp;with&nbsp;you&nbsp;to&nbsp;solve&nbsp;this&nbsp;problem:&nbsp;  
&nbsp;&nbsp;  
&nbsp;1.&nbsp;Could&nbsp;you&nbsp;please&nbsp;tell&nbsp;us&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;sample&nbsp;which&nbsp;raises&nbsp;this&nbsp;exception?&nbsp;  
&nbsp;2.&nbsp;Could&nbsp;you&nbsp;please&nbsp;give&nbsp;us&nbsp;the&nbsp;version&nbsp;number&nbsp;of&nbsp;the&nbsp;DesktopEdition&nbsp;that&nbsp;you&nbsp;are&nbsp;using?&nbsp;  
&nbsp;3.&nbsp;And&nbsp;could&nbsp;you&nbsp;please&nbsp;paste&nbsp;some&nbsp;detail&nbsp;information&nbsp;about&nbsp;this&nbsp;exception?&nbsp;Such&nbsp;as&nbsp;the&nbsp;exception&nbsp;type&nbsp;and&nbsp;stack&nbsp;trace?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;information&nbsp;about&nbsp;this&nbsp;is&nbsp;appreciated.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sun&nbsp;

---

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 21, 2010, 3:44am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/5 "2010-01-21T03:44:18Z")

</div>

--&nbsp;in&nbsp;every&nbsp;sample&nbsp;application&nbsp;am&nbsp;getting&nbsp;that&nbsp;error.&nbsp;only&nbsp;in&nbsp;wpfMap1.Refresh();&nbsp;line.&nbsp;  
  
--version&nbsp;3.0&nbsp;  
  
--Exception&nbsp;&nbsp;

Stack&nbsp;tree&nbsp;  
  
  
  
at&nbsp;ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas&nbsp;canvas)&nbsp;  
  
at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.x03e3d48bcfe7bb6c(IEnumerable`1&nbsp;xa6f0db4f183189f1)&nbsp;  
  
at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.xff5b27c00f9678c2(RectangleShape&nbsp;x178b193eec228e6e)&nbsp;  
  
at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.xe3cee4adb9c72451()&nbsp;  
  
at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.x9ac8c50f434f4b39(Int32&nbsp;xb565f4681f05557a)&nbsp;  
  
at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.Refresh()&nbsp;  
  
at&nbsp;CSWpfHowDoISamples.ConvertWorldCoordinatesToScreenCoordinates.ConvertScreenCoordinateToWorldCoordinate\_Load(Object&nbsp;sender,&nbsp;RoutedEventArgs&nbsp;e)&nbsp;in&nbsp;C:\Program&nbsp;Files&nbsp;(x86)\ThinkGeo\Map&nbsp;Suite&nbsp;Desktop&nbsp;Evaluation&nbsp;Edition&nbsp;3.0\Samples\CSharp&nbsp;Wpf&nbsp;How&nbsp;Do&nbsp;I&nbsp;Samples\Screen&nbsp;&&nbsp;World&nbsp;Coordinates\ConvertWorldCoordinatesToScreenCoordinates.xaml.cs:line&nbsp;47&nbsp;  
  
at&nbsp;System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object&nbsp;target,&nbsp;RoutedEventArgs&nbsp;routedEventArgs)&nbsp;  
  
at&nbsp;System.Windows.EventRoute.InvokeHandlersImpl(Object&nbsp;source,&nbsp;RoutedEventArgs&nbsp;args,&nbsp;Boolean&nbsp;reRaised)&nbsp;  
  
at&nbsp;System.Windows.UIElement.RaiseEventImpl(DependencyObject&nbsp;sender,&nbsp;RoutedEventArgs&nbsp;args)&nbsp;  
  
at&nbsp;System.Windows.UIElement.RaiseEvent(RoutedEventArgs&nbsp;e)&nbsp;  
  
at&nbsp;System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject&nbsp;root,&nbsp;RoutedEvent&nbsp;routedEvent)&nbsp;  
  
at&nbsp;System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object&nbsp;root)&nbsp;  
  
at&nbsp;MS.Internal.LoadedOrUnloadedOperation.DoWork()&nbsp;  
  
at&nbsp;System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()&nbsp;  
  
at&nbsp;System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()&nbsp;  
  
at&nbsp;System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object&nbsp;resizedCompositionTarget)&nbsp;  
  
at&nbsp;System.Windows.Media.MediaContext.RenderMessageHandler(Object&nbsp;resizedCompositionTarget)&nbsp;  
  
at&nbsp;System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter)&nbsp;  
  
at&nbsp;System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object&nbsp;source,&nbsp;Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
  
at&nbsp;System.Windows.Threading.DispatcherOperation.InvokeImpl()&nbsp;  
  
at&nbsp;System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object&nbsp;state)&nbsp;  
  
at&nbsp;System.Threading.ExecutionContext.runTryCode(Object&nbsp;userData)&nbsp;  
  
at&nbsp;System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode&nbsp;code,&nbsp;CleanupCode&nbsp;backoutCode,&nbsp;Object&nbsp;userData)&nbsp;  
  
at&nbsp;System.Threading.ExecutionContext.RunInternal(ExecutionContext&nbsp;executionContext,&nbsp;ContextCallback&nbsp;callback,&nbsp;Object&nbsp;state)&nbsp;  
  
at&nbsp;System.Threading.ExecutionContext.Run(ExecutionContext&nbsp;executionContext,&nbsp;ContextCallback&nbsp;callback,&nbsp;Object&nbsp;state)&nbsp;  
  
at&nbsp;System.Windows.Threading.DispatcherOperation.Invoke()&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.ProcessQueue()&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.WndProcHook(IntPtr&nbsp;hwnd,&nbsp;Int32&nbsp;msg,&nbsp;IntPtr&nbsp;wParam,&nbsp;IntPtr&nbsp;lParam,&nbsp;Boolean&&nbsp;handled)&nbsp;  
  
at&nbsp;MS.Win32.HwndWrapper.WndProc(IntPtr&nbsp;hwnd,&nbsp;Int32&nbsp;msg,&nbsp;IntPtr&nbsp;wParam,&nbsp;IntPtr&nbsp;lParam,&nbsp;Boolean&&nbsp;handled)&nbsp;  
  
at&nbsp;MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object&nbsp;o)&nbsp;  
  
at&nbsp;System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter)&nbsp;  
  
at&nbsp;System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object&nbsp;source,&nbsp;Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority&nbsp;priority,&nbsp;TimeSpan&nbsp;timeout,&nbsp;Delegate&nbsp;method,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter)&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority&nbsp;priority,&nbsp;Delegate&nbsp;method,&nbsp;Object&nbsp;arg)&nbsp;  
  
at&nbsp;MS.Win32.HwndSubclass.SubclassWndProc(IntPtr&nbsp;hwnd,&nbsp;Int32&nbsp;msg,&nbsp;IntPtr&nbsp;wParam,&nbsp;IntPtr&nbsp;lParam)&nbsp;  
  
at&nbsp;MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&&nbsp;msg)&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame&nbsp;frame)&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame&nbsp;frame)&nbsp;  
  
at&nbsp;System.Windows.Threading.Dispatcher.Run()&nbsp;  
  
at&nbsp;System.Windows.Application.RunDispatcher(Object&nbsp;ignore)&nbsp;  
  
at&nbsp;System.Windows.Application.RunInternal(Window&nbsp;window)&nbsp;  
  
at&nbsp;System.Windows.Application.Run(Window&nbsp;window)&nbsp;  
  
at&nbsp;System.Windows.Application.Run()&nbsp;  
  
at&nbsp;CS\_Wpf\_HowDoISamples\_For\_Debug.App.Main()&nbsp;in&nbsp;C:\Program&nbsp;Files&nbsp;(x86)\ThinkGeo\Map&nbsp;Suite&nbsp;Desktop&nbsp;Evaluation&nbsp;Edition&nbsp;3.0\Samples\CSharp&nbsp;Wpf&nbsp;How&nbsp;Do&nbsp;I&nbsp;Samples\obj\x86\Debug\App.g.cs:line&nbsp;0&nbsp;  
  
at&nbsp;System.AppDomain.\_nExecuteAssembly(Assembly&nbsp;assembly,&nbsp;String[]&nbsp;args)&nbsp;  
  
at&nbsp;System.AppDomain.ExecuteAssembly(String&nbsp;assemblyFile,&nbsp;Evidence&nbsp;assemblySecurity,&nbsp;String[]&nbsp;args)&nbsp;  
  
at&nbsp;Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&nbsp;  
  
at&nbsp;System.Threading.ThreadHelper.ThreadStart\_Context(Object&nbsp;state)&nbsp;  
  
at&nbsp;System.Threading.ExecutionContext.Run(ExecutionContext&nbsp;executionContext,&nbsp;ContextCallback&nbsp;callback,&nbsp;Object&nbsp;state)&nbsp;  
  
at&nbsp;System.Threading.ThreadHelper.ThreadStart()&nbsp;  
  
&nbsp;

---

<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:** [January 21, 2010, 7:09am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/6 "2010-01-21T07:09:28Z")

</div>

Hi&nbsp;dCODE,&nbsp;  
&nbsp;&nbsp;  
&nbsp;About&nbsp;the&nbsp;version&nbsp;number,&nbsp;it&nbsp;will&nbsp;be&nbsp;better&nbsp;if&nbsp;you&nbsp;can&nbsp;give&nbsp;us&nbsp;a&nbsp;more&nbsp;detail&nbsp;one,&nbsp;like&nbsp;3.1.299.&nbsp;And&nbsp;we&nbsp;noticed&nbsp;that&nbsp;you&nbsp;seem&nbsp;to&nbsp;using&nbsp;a&nbsp;64-bit&nbsp;operation&nbsp;system,&nbsp;we&nbsp;want&nbsp;to&nbsp;know&nbsp;what&nbsp;operation&nbsp;system&nbsp;you&nbsp;are&nbsp;using&nbsp;so&nbsp;that&nbsp;we&nbsp;can&nbsp;deploy&nbsp;an&nbsp;environment&nbsp;which&nbsp;is&nbsp;just&nbsp;like&nbsp;yours&nbsp;to&nbsp;recreate&nbsp;your&nbsp;problem.&nbsp;We&nbsp;haven’t&nbsp;reproduced&nbsp;the&nbsp;exception&nbsp;you&nbsp;mentioned&nbsp;in&nbsp;this&nbsp;post&nbsp;so&nbsp;far,&nbsp;and&nbsp;we&nbsp;will&nbsp;continue&nbsp;to&nbsp;work&nbsp;on&nbsp;this.&nbsp;Please&nbsp;keep&nbsp;an&nbsp;eye&nbsp;on&nbsp;this&nbsp;thread;&nbsp;we&nbsp;will&nbsp;let&nbsp;you&nbsp;know&nbsp;as&nbsp;soon&nbsp;as&nbsp;possible&nbsp;once&nbsp;we&nbsp;have&nbsp;a&nbsp;result.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;inconvenience.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sun&nbsp;

---

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 21, 2010, 7:42am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/7 "2010-01-21T07:42:49Z")

</div>

version&nbsp;3.1.299&nbsp;  
&nbsp;Windows&nbsp;XP&nbsp;Professional&nbsp;(64-bit)

---

<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:** [January 21, 2010, 9:44am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/8 "2010-01-21T09:44:39Z")

</div>

Thanks&nbsp;for&nbsp;providing&nbsp;this&nbsp;information&nbsp;to&nbsp;us.&nbsp;We&nbsp;will&nbsp;work&nbsp;on&nbsp;this&nbsp;as&nbsp;soon&nbsp;as&nbsp;possible&nbsp;once&nbsp;we&nbsp;deployed&nbsp;the&nbsp;same&nbsp;clean&nbsp;machine&nbsp;environment&nbsp;as&nbsp;yours.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;let&nbsp;us&nbsp;know.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sun&nbsp;

---

<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:** [January 21, 2010, 11:03pm UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/9 "2010-01-21T23:03:28Z")

</div>

&nbsp;

dCODE,  
&nbsp;  
Thank&nbsp;Sun’s&nbsp;help!  
&nbsp;  
I&nbsp;have&nbsp;tested&nbsp;this&nbsp;issue&nbsp;and&nbsp;found&nbsp;the&nbsp;reason&nbsp;is&nbsp;that&nbsp;you’re&nbsp;offline&nbsp;or&nbsp;your&nbsp;internet&nbsp;can&nbsp;not&nbsp;access&nbsp;our&nbsp;WorldMapKit&nbsp;Wms&nbsp;Server.  
&nbsp;  
You&nbsp;can&nbsp;remove&nbsp;this&nbsp;two&nbsp;lines&nbsp;code&nbsp;to&nbsp;confirm&nbsp;with&nbsp;this&nbsp;problem.  
&nbsp;  
WorldMapKitWmsDesktopOverlay&nbsp;worldMapKitDesktopOverlay&nbsp;=&nbsp;new&nbsp;WorldMapKitWmsDesktopOverlay();  
wpfMap1.Overlays.Add(worldMapKitDesktopOverlay);  
&nbsp;  
Please&nbsp;let&nbsp;me&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;another&nbsp;questions.  
&nbsp;  
James

---

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 25, 2010, 4:01am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/10 "2010-01-25T04:01:32Z")

</div>

No&nbsp;james,&nbsp;am&nbsp;online&nbsp;only.&nbsp;connected&nbsp;to&nbsp;internet.&nbsp;but&nbsp;still&nbsp;same&nbsp;problem,&nbsp;This&nbsp;error&nbsp;occurs&nbsp;in&nbsp;half&nbsp;of&nbsp;the&nbsp;samples&nbsp;only..&nbsp;other&nbsp;samples&nbsp;working&nbsp;well.

---

<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:** [January 25, 2010, 7:04am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/11 "2010-01-25T07:04:24Z")

</div>

dCODE,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Could&nbsp;you&nbsp;please&nbsp;have&nbsp;a&nbsp;try&nbsp;use&nbsp;James’s&nbsp;method?&nbsp;Try&nbsp;to&nbsp;remove&nbsp;the&nbsp;WorldMapKit&nbsp;overlay&nbsp;from&nbsp;the&nbsp;sample&nbsp;to&nbsp;see&nbsp;if&nbsp;the&nbsp;error&nbsp;still&nbsp;happens.&nbsp;We&nbsp;want&nbsp;to&nbsp;make&nbsp;sure&nbsp;if&nbsp;the&nbsp;problem&nbsp;exists&nbsp;in&nbsp;the&nbsp;WorldMapKit&nbsp;overlay.&nbsp;If&nbsp;not,&nbsp;could&nbsp;you&nbsp;please&nbsp;give&nbsp;us&nbsp;two&nbsp;samples’&nbsp;name,&nbsp;one&nbsp;of&nbsp;them&nbsp;has&nbsp;the&nbsp;error&nbsp;and&nbsp;the&nbsp;other&nbsp;doesn’t,&nbsp;so&nbsp;that&nbsp;we&nbsp;can&nbsp;compare&nbsp;the&nbsp;code&nbsp;to&nbsp;see&nbsp;how&nbsp;this&nbsp;problem&nbsp;is&nbsp;raised.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;information&nbsp;about&nbsp;this&nbsp;is&nbsp;appreciated.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sun&nbsp;

---

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 25, 2010, 7:34pm UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/12 "2010-01-25T19:34:22Z")

</div>

Most&nbsp;Example&nbsp;throwing&nbsp;error.&nbsp;  
&nbsp;-Plot&nbsp;a&nbsp;latitude&nbsp;and&nbsp;longitude&nbsp;on&nbsp;map&nbsp;  
&nbsp;-Load&nbsp;a&nbsp;shape&nbsp;file&nbsp;feature&nbsp;layer&nbsp;  
&nbsp;-Draw&nbsp;using&nbsp;Zed&nbsp;Graph&nbsp;  
&nbsp;&nbsp;  
&nbsp;Some&nbsp;of&nbsp;them&nbsp;working&nbsp;properly&nbsp;  
&nbsp;-Display&nbsp;a&nbsp;feature&nbsp;layer&nbsp;only&nbsp;at&nbsp;certain&nbsp;scale&nbsp;  
&nbsp;-Loading&nbsp;a&nbsp;sattelite&nbsp;image&nbsp;  
&nbsp;&nbsp;  
&nbsp;Error&nbsp;Stack&nbsp;Tree&nbsp;  
&nbsp;&nbsp;  
&nbsp;System.NullReferenceException&nbsp;was&nbsp;unhandled&nbsp;  
&nbsp;&nbsp;&nbsp;Message="Object&nbsp;reference&nbsp;not&nbsp;set&nbsp;to&nbsp;an&nbsp;instance&nbsp;of&nbsp;an&nbsp;object."&nbsp;  
&nbsp;&nbsp;&nbsp;Source="DesktopEdition"&nbsp;  
&nbsp;&nbsp;&nbsp;StackTrace:&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas&nbsp;canvas)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.x03e3d48bcfe7bb6c(IEnumerable`1&nbsp;xa6f0db4f183189f1)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.xff5b27c00f9678c2(RectangleShape&nbsp;x178b193eec228e6e)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.xe3cee4adb9c72451()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.x9ac8c50f434f4b39(Int32&nbsp;xb565f4681f05557a)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.DesktopEdition.WpfMap.Refresh()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;CSWpfHowDoISamples.HighlightAFeatureOnTheMap.HighlightAFeatureOnTheMap\_Load(Object&nbsp;sender,&nbsp;RoutedEventArgs&nbsp;e)&nbsp;in&nbsp;C:\Program&nbsp;Files&nbsp;(x86)\ThinkGeo\Map&nbsp;Suite&nbsp;Desktop&nbsp;Evaluation&nbsp;Edition&nbsp;3.0\Samples\CSharp&nbsp;Wpf&nbsp;How&nbsp;Do&nbsp;I&nbsp;Samples\Dynamic&nbsp;Shapes\HighlightAFeatureOnTheMap.xaml.cs:line&nbsp;56&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object&nbsp;target,&nbsp;RoutedEventArgs&nbsp;routedEventArgs)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.EventRoute.InvokeHandlersImpl(Object&nbsp;source,&nbsp;RoutedEventArgs&nbsp;args,&nbsp;Boolean&nbsp;reRaised)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.UIElement.RaiseEventImpl(DependencyObject&nbsp;sender,&nbsp;RoutedEventArgs&nbsp;args)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.UIElement.RaiseEvent(RoutedEventArgs&nbsp;e)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject&nbsp;root,&nbsp;RoutedEvent&nbsp;routedEvent)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object&nbsp;root)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;MS.Internal.LoadedOrUnloadedOperation.DoWork()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object&nbsp;resizedCompositionTarget)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Media.MediaContext.RenderMessageHandler(Object&nbsp;resizedCompositionTarget)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object&nbsp;source,&nbsp;Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.DispatcherOperation.InvokeImpl()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object&nbsp;state)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Threading.ExecutionContext.runTryCode(Object&nbsp;userData)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode&nbsp;code,&nbsp;CleanupCode&nbsp;backoutCode,&nbsp;Object&nbsp;userData)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Threading.ExecutionContext.RunInternal(ExecutionContext&nbsp;executionContext,&nbsp;ContextCallback&nbsp;callback,&nbsp;Object&nbsp;state)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Threading.ExecutionContext.Run(ExecutionContext&nbsp;executionContext,&nbsp;ContextCallback&nbsp;callback,&nbsp;Object&nbsp;state)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.DispatcherOperation.Invoke()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.ProcessQueue()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.WndProcHook(IntPtr&nbsp;hwnd,&nbsp;Int32&nbsp;msg,&nbsp;IntPtr&nbsp;wParam,&nbsp;IntPtr&nbsp;lParam,&nbsp;Boolean&&nbsp;handled)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;MS.Win32.HwndWrapper.WndProc(IntPtr&nbsp;hwnd,&nbsp;Int32&nbsp;msg,&nbsp;IntPtr&nbsp;wParam,&nbsp;IntPtr&nbsp;lParam,&nbsp;Boolean&&nbsp;handled)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object&nbsp;o)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object&nbsp;source,&nbsp;Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate&nbsp;callback,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter,&nbsp;Delegate&nbsp;catchHandler)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority&nbsp;priority,&nbsp;TimeSpan&nbsp;timeout,&nbsp;Delegate&nbsp;method,&nbsp;Object&nbsp;args,&nbsp;Boolean&nbsp;isSingleParameter)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority&nbsp;priority,&nbsp;Delegate&nbsp;method,&nbsp;Object&nbsp;arg)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;MS.Win32.HwndSubclass.SubclassWndProc(IntPtr&nbsp;hwnd,&nbsp;Int32&nbsp;msg,&nbsp;IntPtr&nbsp;wParam,&nbsp;IntPtr&nbsp;lParam)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&&nbsp;msg)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame&nbsp;frame)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame&nbsp;frame)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Threading.Dispatcher.Run()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Application.RunDispatcher(Object&nbsp;ignore)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Application.RunInternal(Window&nbsp;window)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Application.Run(Window&nbsp;window)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Application.Run()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;CS\_Wpf\_HowDoISamples\_For\_Debug.App.Main()&nbsp;in&nbsp;C:\Program&nbsp;Files&nbsp;(x86)\ThinkGeo\Map&nbsp;Suite&nbsp;Desktop&nbsp;Evaluation&nbsp;Edition&nbsp;3.0\Samples\CSharp&nbsp;Wpf&nbsp;How&nbsp;Do&nbsp;I&nbsp;Samples\obj\x86\Debug\App.g.cs:line&nbsp;0&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.AppDomain.\_nExecuteAssembly(Assembly&nbsp;assembly,&nbsp;String[]&nbsp;args)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.AppDomain.ExecuteAssembly(String&nbsp;assemblyFile,&nbsp;Evidence&nbsp;assemblySecurity,&nbsp;String[]&nbsp;args)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Threading.ThreadHelper.ThreadStart\_Context(Object&nbsp;state)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Threading.ExecutionContext.Run(ExecutionContext&nbsp;executionContext,&nbsp;ContextCallback&nbsp;callback,&nbsp;Object&nbsp;state)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;System.Threading.ThreadHelper.ThreadStart()&nbsp;  
&nbsp;&nbsp;&nbsp;InnerException:&nbsp;&nbsp;

---

<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:** [January 26, 2010, 2:19am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/13 "2010-01-26T02:19:32Z")

</div>

dCODE,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;curious&nbsp;that&nbsp;if&nbsp;dCODE&nbsp;is&nbsp;your&nbsp;really&nbsp;name?&nbsp;If&nbsp;not,&nbsp;please&nbsp;let&nbsp;me&nbsp;know&nbsp;your&nbsp;name,&nbsp;I&nbsp;think&nbsp;it’s&nbsp;not&nbsp;friendly&nbsp;that&nbsp;always&nbsp;reply&nbsp;the&nbsp;wrong&nbsp;name.&nbsp;  
&nbsp;&nbsp;  
&nbsp;The&nbsp;three&nbsp;samples&nbsp;which&nbsp;will&nbsp;throw&nbsp;exception&nbsp;are&nbsp;using&nbsp;WorldMapKitWmsDesktopOverlay,&nbsp;the&nbsp;two&nbsp;samples&nbsp;which&nbsp;won’t&nbsp;throw&nbsp;exception&nbsp;are&nbsp;not&nbsp;using&nbsp;WorldMapKitWmsDesktopOverlay.&nbsp;So&nbsp;the&nbsp;conclusion&nbsp;is&nbsp;the&nbsp;same&nbsp;as&nbsp;I&nbsp;said.&nbsp;Your&nbsp;network&nbsp;can&nbsp;not&nbsp;connect&nbsp;our&nbsp;wms&nbsp;server.&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;you&nbsp;want&nbsp;to&nbsp;connect&nbsp;our&nbsp;server,&nbsp;please&nbsp;contact&nbsp;your&nbsp;network&nbsp;administrator&nbsp;and&nbsp;solve&nbsp;the&nbsp;problem.&nbsp;Or&nbsp;you&nbsp;can&nbsp;add&nbsp;this&nbsp;code&nbsp;to&nbsp;avoid&nbsp;exception&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;worldMapKitDesktopOverlay.DrawingExceptionMode&nbsp;=&nbsp;DrawingExceptionMode.DrawException;&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;you&nbsp;don’t,&nbsp;just&nbsp;remove&nbsp;the&nbsp;two&nbsp;lines&nbsp;code&nbsp;for&nbsp;WorldMapKitWwmDesktopOverlay.&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;already&nbsp;plan&nbsp;to&nbsp;enhance&nbsp;WorldMapKitWwmDesktopOverlay&nbsp;and&nbsp;make&nbsp;it&nbsp;has&nbsp;better&nbsp;user&nbsp;experience.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 26, 2010, 2:27am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/14 "2010-01-26T02:27:10Z")

</div>

Hi&nbsp;james,

i&nbsp;tried&nbsp;by&nbsp;removing&nbsp;those&nbsp;two&nbsp;lines.&nbsp;but&nbsp;it&nbsp;still&nbsp;throwing&nbsp;the&nbsp;error.&nbsp;okie,&nbsp;let&nbsp;me&nbsp;check&nbsp;in&nbsp;some&nbsp;other&nbsp;machine&nbsp;and&nbsp;let&nbsp;u&nbsp;know&nbsp;soon.&nbsp;sure&nbsp;james&nbsp;wil&nbsp;change&nbsp;my&nbsp;name&nbsp;in&nbsp;a&nbsp;while.

thanks&nbsp;for&nbsp;your&nbsp;reply.&nbsp;

and&nbsp;i&nbsp;have&nbsp;posted&nbsp;another&nbsp;question&nbsp;plz&nbsp;go&nbsp;thru&nbsp;that

---

<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:** [January 26, 2010, 2:56am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/15 "2010-01-26T02:56:45Z")

</div>

Hi&nbsp;deep,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Your&nbsp;name&nbsp;is&nbsp;very&nbsp;special,&nbsp;it&nbsp;seems&nbsp;you&nbsp;are&nbsp;not&nbsp;the&nbsp;American,&nbsp;but&nbsp;I&nbsp;am&nbsp;still&nbsp;glad&nbsp;to&nbsp;answer&nbsp;your&nbsp;questions.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Have&nbsp;you&nbsp;rebuilt&nbsp;the&nbsp;HowDoI&nbsp;samples?&nbsp;Sometimes,&nbsp;if&nbsp;you&nbsp;click&nbsp;build&nbsp;button,&nbsp;it&nbsp;won’t&nbsp;rebuild,&nbsp;just&nbsp;run&nbsp;the&nbsp;original&nbsp;application&nbsp;from&nbsp;bin&nbsp;folder,&nbsp;so&nbsp;the&nbsp;best&nbsp;way&nbsp;to&nbsp;test&nbsp;this&nbsp;issue&nbsp;is&nbsp;that&nbsp;you&nbsp;remove&nbsp;all&nbsp;files&nbsp;from&nbsp;bin&nbsp;folder,&nbsp;and&nbsp;then&nbsp;run&nbsp;it&nbsp;again.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![deep](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@deep](https://community.thinkgeo.com/u/deep)\
**Post date:** [January 26, 2010, 3:08am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/16 "2010-01-26T03:08:51Z")

</div>

Helo&nbsp;james&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;you&nbsp;are&nbsp;right.&nbsp;am&nbsp;Indian.&nbsp;why&nbsp;james&nbsp;indians&nbsp;should&nbsp;not&nbsp;work&nbsp;on&nbsp;your&nbsp;tool&nbsp;ah…&nbsp;LoL.&nbsp;&nbsp;james&nbsp;i&nbsp;have&nbsp;tried&nbsp;that&nbsp;too.&nbsp;but&nbsp;same&nbsp;problem.&nbsp;am&nbsp;installing&nbsp;it&nbsp;in&nbsp;another&nbsp;machine&nbsp;32-bit,.&nbsp;after&nbsp;that&nbsp;i&nbsp;wil&nbsp;found&nbsp;the&nbsp;real&nbsp;issue&nbsp;and&nbsp;let&nbsp;you&nbsp;know&nbsp;about&nbsp;this&nbsp;soon.&nbsp;james&nbsp;need&nbsp;another&nbsp;clarification&nbsp;for&nbsp;this…&nbsp;&nbsp;[gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/21/aft/6941/afv/topic/Default.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/21/aft/6941/afv/topic/Default.aspx)

---

<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:** [January 26, 2010, 3:34am UTC](https://community.thinkgeo.com/t/how-to-plot-my-locations-in-map/978/17 "2010-01-26T03:34:00Z")

</div>

deep,&nbsp;  
&nbsp;&nbsp;  
&nbsp;The&nbsp;world&nbsp;is&nbsp;flat.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Hope&nbsp;you&nbsp;can&nbsp;find&nbsp;the&nbsp;real&nbsp;issue.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;will&nbsp;reply&nbsp;to&nbsp;you&nbsp;at&nbsp;another&nbsp;post.&nbsp;  
&nbsp;&nbsp;  
&nbsp;James
