A point of interest could not be handled — malformed entry, failed load, invalid marker.
Code: POI_ERROR.
POI_ERROR
throw new GeoLeaf.Errors.POIError("Invalid POI: missing latlng", { poiId: "poi-123", provided: { id: "poi-123", label: "Test" }, expected: "latlng: [lat, lng]",}); Copy
throw new GeoLeaf.Errors.POIError("Invalid POI: missing latlng", { poiId: "poi-123", provided: { id: "poi-123", label: "Test" }, expected: "latlng: [lat, lng]",});
Returns a string representation of an object.
A point of interest could not be handled — malformed entry, failed load, invalid marker.
Code:
POI_ERROR.Example