Is it possible to show user's location with ArcGIS API for Silverlight? (v3.3)

8045
1
05-21-2015 02:39 PM
EnriqueIbarra
New Contributor III

I'm traying to show user's location in a graphics layer, browsing the web I found this: https://davetimmins.wordpress.com/2011/09/20/geolocation-with-the-esri-silverlight-api/ but I don't know where local:LocationLayer comes from.
Anybody can help me?

I'm using c# and ArcGISAPI for silverlight (v3.3) in VS 2010.

Tags (2)
0 Kudos
1 Reply
AhmedEl-Sisi
Occasional Contributor III

local is a prefix to reference your assembly (which contains LocationLayer class) in your XAML.
It should looks like xmlns:local="clr-namespace:YourAssembly" in your XAML.

For more information about Applying XAML Namespace Attributes to Custom Assemblies.

Also I attached a sample for location layer, I used Sliverlight API v3.0 on VS 2012.

0 Kudos