0
votes

I want to make a windows phone app that gets the users location and then checks wether their location is within a certain area (a mapped out polygon or inside a square of coordinates) and then deliver information based on if they are within that area or not. This is referred to as geofencing. Is their an API out their on an example of this that makes this very easy? All I want to do is map out a location and see if the users coordinates are within that.

Thanks

2

2 Answers

0
votes

Please use MovementThreshold property in GeoCoordinateWatcher. here please mention the distance in meter. So if the corresponding distance crossed you will get notification in Position_Changed Callback.

Thanks

0
votes

IF you're going to show the current location in a map, then you could simply go for the guidance provided by msdn here.

Or else if you just wanted to use the `Geo Coordinates, have a look at this.

For you to continue with the GeoFencing, this would be helpful Setting up a geofence

Hope it helps!