Detect location (HTML)
Purpose
Developers can create apps that detect the user's geographic location. For example, an application can plot the user's location on a map, tag a photo or email message with geographic coordinates, or respond to a change in the user's location by updating a list of points of interest.
This section includes how-to topics and guidelines for detecting a user's geographic location. For additional information on using location and maps, see the Bing Maps SDK Samples.
In this section
Topic | Description |
---|---|
This tutorial discusses the steps that are required to detect a user's geographical location by using the Windows Runtime Geolocation API. |
|
This topic explains how to respond to changes in the user's location. |
|
This quickstart shows you how to detect a user's geographical location, by using the W3C Geolocation API available in HTML5. |
|
This topic shows you how to respond to changes in the user's geographic position, using the W3C Geolocation API in HTML5. |
|
This topic will guide you through the steps of setting up a Geofence in your app. |
|
This topic will guide you through the steps of handling Geofence notification in the foreground, in your app. |
|
This topic will guide you through the steps of setting up a background task to listen for Geofence notifications in your app. |
|
This topic will guide you through the steps of handling Geofence notifications from a background task, in your app. |
|
Testing and debugging geofencing apps can be a challenge because they depend on a device's location. Here we outline several methods for testing both foreground and background geofences. |