Smalyshev created this task.
Herald added a subscriber: Aklapper.
Herald added projects: Wikidata, Discovery.

TASK DESCRIPTION
  When showing a map in WDQS GUI, the GUI does not seem to be able to handle 
non-Earth coordinates well. E.g. query:
  
    SELECT ?item ?place WHERE {
      BIND(wd:Q787075 as ?item)
      ?item wdt:P31 wd:Q55818 .
      ?item wdt:P625 ?place .
    }
  
  Does offer to show a map (even though it probably should not, since we can't 
show maps of the moon AFAIK), and if I click on the map, it gets stuck on 
"Generating" with this error message:
  
    Uncaught TypeError: Cannot read property 'lat' of undefined
    o.LatLngBounds.getNorth @ leaflet.js:6o.LatLngBounds.getNorthWest @ 
leaflet.js:6
    o.Map.o.Class.extend.getBoundsZoom @ leaflet.js:6
    o.Map.o.Class.extend.fitBounds @ leaflet.js:6
    wikibase.queryService.ui.resultBrowser.CoordinateResultBrowser.SELF.draw @ 
CoordinateResultBrowser.js:64
    (anonymous function) @ App.js:473

TASK DETAIL
  https://phabricator.wikimedia.org/T130428

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jonas, Smalyshev
Cc: Aklapper, Smalyshev, debt, Gehel, D3r1ck01, FloNight, Izno, jkroll, 
Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to