skylines icon indicating copy to clipboard operation
skylines copied to clipboard

"map-click-handler" broken on Firefox and Safari

Open pyrog opened this issue 7 years ago • 2 comments

It seem that clicking on the map on any airspace/airport return no data.

cognac airspace

getLocationInfo call https://skylines.aero/api/mapitems?lon=-0.3175&lat=45.65833333333333 that return datas, but displayed list is empty.

{
  "airspaces": [
    {
      "name": "CTR Cognac 122.55",
      "class": "CTR",
      "top": "1500 MSL",
      "base": "GND",
      "country": "fr"
    },
    {
      "name": "Aquitaine5 120.57",
      "class": "CLASSD",
      "top": "FL 145",
      "base": "FL 65",
      "country": "fr"
    },
    {
      "name": "CTA Cognac 122.55",
      "class": "CLASSD",
      "top": "FL 65",
      "base": "1500 MSL",
      "country": "fr"
    },
    {
      "name": "R49A1 Cognac 122.55",
      "class": "RESTRICT",
      "top": "FL 65",
      "base": "3000 MSL",
      "country": "fr"
    },
    {
      "name": "R49E1 Cognac 122.55",
      "class": "RESTRICT",
      "top": "1500 MSL",
      "base": "GND",
      "country": "fr"
    },
    {
      "name": "R49E2 Cognac 122.55",
      "class": "RESTRICT",
      "top": "FL 65",
      "base": "1500 MSL",
      "country": "fr"
    }
  ],
  "waves": []
}

pyrog avatar Nov 09 '16 07:11 pyrog

Previously tested with Firefox and Safari on macOS.

New tests with Firefox on Debian: work fine 😄 New test on macOS with Chrome… Safari and Firefox: can't reproduce the bug 🙃

pyrog avatar Nov 09 '16 08:11 pyrog

yeah, it's part of the code that's not properly ported to Ember yet...

Turbo87 avatar Nov 09 '16 08:11 Turbo87