Audrie Gordon responds to a community member who wants to create an app that can be used to see a map based on the selection of a building or address. In this video we use the new Bing Maps connector (in preview).
References:
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
Formulas:
Drop down with address (from SP List called Building Addresses):
Items property: BuildingAddresses
Reset map button icon:
OnSelect property -
Set(MapResponse,BingMaps.GetLocationByAddress({addressLine:Dropdown1.Selected.Address}))
Labels for Longitude and Latitude:
MapResponse.point.coordinates.longitude
MapResponse.point.coordinates.latitude
Image for Map:
Image property-
BingMaps.GetMap("Road",15,lblLatitude.Text,lblLongitude.Text)
OnVisible (screen) - so that it defaults to the first list item
Set(MapResponse,BingMaps.GetLocationByAddress({addressLine:First(BuildingAddresses).Address,locality:First(BuildingAddresses).City,adminDistrict:First(BuildingAddresses).State}))
Enjoy!
Ещё видео!