Hi
is there anyway to provide a postal code or address to a control that would show either bing or google image with the position provided ?
Hi
is there anyway to provide a postal code or address to a control that would show either bing or google image with the position provided ?
You can use either the WebImage
or WebBrowser
control. Both of those can display web content. You can display the postal code or address with a Label
.
Hi Bill,
Ok thanks for this now I have another question,
the following URL is what I would like to use to display a map in the Homeremote app:
https://dev.virtualearth.net/REST/v1/Imagery/Map/road/[long,lat]?mapSize=400,400&pushpin=[long,lat]&mapLayer=basemap&format=jpeg&key=[Bing_Key]
I know I can create a control webimage control and enter the URL in the source value of that control BUT I can’t figure out how to replace [long,lat] in the control source value field with my Homeseer Long Lat value field ?
can you guide me to do so
thanks
I will share an example with you in a few days. The preferred way of doing this isn’t supported in the current version.
Thank you Bill, I’ll wait for your feedback.
Use a MultiBinding to do this. For the StringFormat
, enter your URL & replace [long,lat] with {0}
. Then add your HomeSeer LongLat variable to the Bindings
box.
Attached are 2 examples you can look at. One uses a WebBrowser
& the other uses a WebImage
.
GoogleMaps_WebBrowser.hrp (7.9 KB)
Bing_WebImage.hrp (7.9 KB)