The place name of the location is not displayed correctly.

Hello, since some time (I don't know, maybe it's a new update) the name of the place is not displayed correctly. It doesn't match the actual place where I am.

I am attaching my code here and if I may ask someone please tell me what I am doing wrong?

function drawLocation(dc) {
var x = $.SCREEN_WIDTH / 2 + 24, y = 76;


var observationLocationName = Weather.getCurrentConditions().observationLocationName;
observationLocationName = observationLocationName == null ? "--------" : observationLocationName;
var comm = observationLocationName.find(",");
observationLocationName = observationLocationName.substring(0, comm == null || comm > 14 ? 14 : comm);

dc.setColor($.colorLocation, Graphics.COLOR_TRANSPARENT);
dc.drawText(x, y, $.fontSmall, observationLocationName, Graphics.TEXT_JUSTIFY_CENTER);
 }
}

Thank you

  • Just click on the like I posted and then download. Or find any one oy apps and then tap on "more from this developer" in the CIQ mobile app.  In the web based app store I see the quatrix 6 as supported.

  • Now I am making a final attempt to eliminate the problem, which consists of these steps:

    - cancellation of pairing of the watch with the application on the phone

    - clearing the application cache and then uninstalling the application

    - phone updates (some also system updates)

    - restart the phone

    - download the CIQ app back to your phone

    - setting and pairing the application with the watch.

    I'm doing this because I set the app to show a fixed location, I entered a location there and it didn't change at all even after an hour, so maybe the problem is in the HW

    Thank you for now

  • So I downloaded and installed your app and in the Weather: Temp + Location setting I also get the wrong location.

    Any ideas?

  • As I said, what I see with that watch face matches what I see in the native widget.  

  • The conclusion is:

    Your application on my watch shows the wrong location name, but the application from the PSX-1 developer shows everything correctly, so there must be a code error somewhere, I will try to ask the PSX developer directly.

  • question is if  app shows on your watch exactly the same location name like system weather widget. If yes, everything is ok - you have decided to display

    Weather.getCurrentConditions().observationLocationName

    so you see what Garmin deems as name for gps X;Y;

  • I don't know where to set in the system widget - find the area where I am.
    I did not find it.

  • I can't see location name in system widget too, maybe thought about the same data.

    In my apps I don't display Weather.getCurrentConditions().observationLocationName but data from OWM.

    But you have to know that location name from OWM is probably text entering in weather station:

    openweathermap.org/stations

  • Not all watches show the location name for the Garmin weather in the native widget.  The fr255 does, and that's what I checked.  The location name is what GCM gets for the current phone location, so it's not coming from Garmin, but from the phone.  Maybe check something like Google Maps on the phone to see where it thinks you are.

    With OWM, you pass it a lat/lon and in the response, the location is the nearest reporting weather station to that location.  With OWM, I switch between two different locations, both about 5 miles (opposite directions) from me

  • My f6p doesn't show location name, only time of fetching - it's a big issue many people think they see weather for their current location and it can be 1000km away  Slight smile

    I don't know location name in garmin weather coming from. But gps is taken from phone/fixed according to settings in GCM.