Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Bing Maps Web Control SDK retirement
Bing Maps Web Control SDK is deprecated and has been retired for all free (Basic) account customers. Enterprise account customers can continue to use Bing Maps Web Control SDK until June 30th, 2028. To avoid service disruptions, all enterprise account customers using Bing Maps Web Control SDK will need to be updated to use Azure Maps Web SDK by June 30th, 2028. For detailed migration guidance, see Migrate from Bing Maps Web Control SDK and Migrate Bing Maps Enterprise applications to Azure Maps with GitHub Copilot.
Azure Maps is Microsoft's next-generation maps and geospatial services for developers. Azure Maps has many of the same features as Bing Maps for Enterprise, and more. To get started with Azure Maps, create a free Azure subscription and an Azure Maps account. For more information about azure Maps, see Azure Maps Documentation. For migration guidance, see Bing Maps Migration Overview.
Encapsulates an individual entity on the floor of a venue.
Properties
Property | Type | Req? | Description |
---|---|---|---|
address | address | The address of the entity where any missing fields populated from venue address. | |
geometry | geometry [] | A list of any polygons or polylines that define the extents of the entity. | |
tag | string | Unique identifier for the entity so that it can be referenced. | |
label | culture:label | Dictionary of culture-specific text and placement information for possible labels for the entity. The text in a label is what will be drawn on the map. | |
xy | number[] | An X and Y coordinate that, once transform is applied, defines the ___location of a point entity or central ___location for a polygon or polyline entity. | |
name | culture:string | Dictionary of culture-specific names for the entity, where an empty key refers to the culture identified by the venue's defaultCultureProperty. The text in the name is what will be displayed outside the map. | |
phoneNumber | string | The phone number for the entity. | |
type | styleEntry | ✔ | The key that identifies how to display the entity. |
Warning
Even though entity.geometry
technically supports multiple entries, currently only the first one is read.
Example
{
"tag": "5005",
"name": { "": "Empty Room" },
"label": { "en-ca": { "text":"Empty\nRoom", "angle":-10,"xy":[0.5, 0.5],"width":5.01E-05,"height":2.1E-05 }},
"type": "Room",
"xy": [0.5, 0.5],
"geometry": [{"closed":true,"x":[0,1,1,0],"y":[1,1,0,0]}]
}