Export (0) Print
Expand All
3 out of 6 rated this helpful - Rate this topic

User Context Parameters

Bing

Use user context parameters to specify information about the user. You can increase the accuracy of a location result when you specify a user context parameter in your request URL.

When an alias is provided, you can use the alias to shorten the length of the query parameter.

Parameter Alias Description Values

userMapView

umv

Optional. The geographic region that corresponds to the current viewport.

A rectangular area on the earth defined as a bounding box object. The sides of the rectangles are defined by latitude and longitude values. For more information, see Location and Area Types. When you specify this parameter, the geographical area is taken into account when computing the results of a location query.

Example: 40.879052728414536,-122.51596324145794,49.77062925696373,-105.74403114616871

userLocation

ul

Optional. The user’s current position.

A point on the earth specified as a latitude and longitude. When you specify this parameter, the user’s location is taken into account and the results returned may be more relevant to the user.

Example: userLocation=51.504360719046616,-0.12600176611298197

userIp

uip

Optional. An Internet Protocol version 4 (IPv4) address.

The default address is the IPv4 address of the request. When you specify this parameter, the location associated with the IP address is taken into account in computing the results of a location query.

Example: userIp=111.111.11.11

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.