https://bugzilla.wikimedia.org/show_bug.cgi?id=38983

       Web browser: ---
             Bug #: 38983
           Summary: Use my current location hangs on areas with few/no
                    monuments
           Product: WikiLoves Monuments Mobile
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Maps
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


When clicking on use my current location in a location where there are few or
no monuments (for example Sydney) the map is never loaded. This is due to the
fix for bug 38741.

Essentially what happens is the map continues to zoom out from zoom level 18
until it finds monuments. When it gets to zoom <11 the api fails to respond
possibly due to a throttling constraint the server imposes (as the client at
this point would have made about 7 requests).

Possibly we want to give up looking at zoom level 10 to prevent this but I
suspect the server needs to do something more useful such as refuse requests
when such throttling occurs.

You can demonstrate this by running
WLMMobile.app.showMonumentsForPosition(-33.859972, 151.211111)
in your console (you will need to expose showMonumentsForPosition in app.js

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to