Static Bing Map component. Allow you to render static map based on Latitude and Longitude. User can specify zoom levels, push-pins…etc
Property | Description |
---|---|
Latitude | Sets the latitude of the location. |
Longitude | Sets the longitude of the location. |
Zoom | Zoom level of the map component. |
Key | Required Bing Map Key to use the component.
|
Pushpins | Sets a collection of pins that is rendered within the map.
Table({Latitude:Location.Latitude,Longitude:Location.Longitude,PinStyle:1,Label:"A"}, {Latitude:47.582119,Longitude:-122.141265,PinStyle:4,Label:"C"}) |
Show Zoom | Sets the visibility of the zooming buttons. |
Styles | Sets a collection of styles that controls various visual aspects of the map.
Table({Key: "Imagery", Value:"Road"}, {Key: "PinStyle", Value:"50"}) |
The map component is not working in Germany, as the latitude and longitude values in final link to virtualearth.net are formatted with commas as the decimal separator.
https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/51,294681,6,557433/15?&pushpin=51,294681,6,557433;50;GOB)&key=...
This won't work. But by replacing the commas with dots, everything works fine. You can do that in code like this:
Substitute(Text(Latitude);",";".")
for every Latitude, Longitude and Map.Latitude / Map. Longitude value in imgMap, imgMapCache1 & imgMapCache2 controls of the reusable component.