Skip to content

Fehler im Firefox #63

@tomsrocket

Description

@tomsrocket

Auf meinem Bürorechner kommt im Firefox auf der Konsole einfach nur ein Fehler "Error: Invalid LatLng object: (NaN, NaN)", in leaflet, und die Karte bleibt weiß.

Wahrscheinlich sollten wir die Abfrage der Koordinaten noch etwas robuster machen, bzw. die Default-Stadtkernkoordination setzen wenn die Koordinaten nicht geholt werden konnten.

Detailinfos:

TRACE: 2019-03-22T14:34:23Z
  -> POST https://elasticsearch.codeformuenster.org/mein-ms-districts/_search
  {
    "size": 1,
    "_source": [
      "properties.Name"
    ],
    "query": {
      "geo_shape": {
        "geometry": {
          "relation": "contains",
          "shape": {
            "type": "point",
            "coordinates": [
              null,
              null
            ]
          }
        }
      }
    }
  }
  <- 400
  {
    "error": {
      "root_cause": [
        {
          "type": "illegal_argument_exception",
          "reason": "coordinates cannot contain NULL values)"

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions