Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Hi folks. Can I ask you for help with an error from trying to put a geotiff layer on leaflet?
    Uncaught (in promise) TypeError: Cannot read property 'lat' of undefined
    at LatLngBounds.getCenter (LatLngBounds.js:101)
    at Object.wrapLatLngBounds (CRS.js:123)
    at NewClass.wrapLatLngBounds (Map.js:1036)
    at e._tileCoordsToBounds (leaflet.js:6)
    at e._isValidTile (georaster-layer-for-leaflet:2)
    at e._update (leaflet.js:6)
    at e._setView (leaflet.js:6)
    at e._resetView (leaflet.js:6)
    at e.onAdd (leaflet.js:6)
    at e._layerAdd (leaflet.js:6)
    at NewClass.whenReady (Map.js:1465)
    at NewClass.addLayer (Layer.js:176)
    at e.addTo (leaflet.js:6)
    I'm using the code from here, both with the tiff-file that lies there and one of my own
    Hi, we have only recently set up this Gitter room. It may be a while before other developers respond to your question. We appreciate your patience.