Hi @Anonymous :
Do you want to get the user’s current location and the current weather for that city?
Firstly, I want to explain why you encounter this problem.
The key is to use a connector with "weather" functionality.(BingMap does not has the feather about whether)
I suggest you use MSN Weather connection here.
In addition, Location.Latitude&","&Location.Longitude is enough. For convenience, we do not need to use BingMaps here.
Secondly, I’ve made a test for your reference:
Case1:use BingMap
1/add a button and set it’s OnSelect property to:
Set(myLocation, BingMaps.GetLocationByPoint(Location.Latitude, Location.Longitude));
Set(myweather,MSNWeather.CurrentWeather(myLocation.address.addressLine,"Metric"))
2/add three label controls(Label1/ Label2/ Label3) and set their Text property to:
Label1:
"Area:"& myweather.responses.source.location
Label2:
"CAP:"& myweather.responses.weather.current.cap
Label3:
"Temp:"& myweather.responses.weather.current.temp&myLocation.units.temperature
Case2:do not use BingMap
1/add a button and set it’s OnSelect property to:
Set(myweather,MSNWeather.CurrentWeather(Location.Latitude&","&Location.Longitude,"Metric"))
Best Regards,
Bof