mapbox-gl-inspect icon indicating copy to clipboard operation
mapbox-gl-inspect copied to clipboard

v1.9 is the HIGHEST COMPATIBLE mapbox-gl version. Please update the MapboxInspect to work with latest mapbox v2.6!

Open ngnnah opened this issue 2 years ago • 0 comments

When I change mapbox-gl version from v1.9 to v2.6, I got this error in MapboxInspect.js:


  <link href="https://api.mapbox.com/mapbox-gl-js/v2.6.0/mapbox-gl.css" rel="stylesheet">
  <script src="https://api.mapbox.com/mapbox-gl-js/v2.6.0/mapbox-gl.js"></script>
  <!-- <link href="https://api.mapbox.com/mapbox-gl-js/v1.9.0/mapbox-gl.css" rel="stylesheet"> -->
  <!-- <script src="https://api.mapbox.com/mapbox-gl-js/v1.9.0/mapbox-gl.js"></script> -->

MapboxInspect.js:135 Uncaught TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at MapboxInspect._onSourceChange (MapboxInspect.js:135)
    at Map.fire (evented.js:129)
    at Map.<anonymous> (map.js:548)
    at Map.fire (evented.js:129)
    at je.fire (evented.js:144)
    at vector.fire (evented.js:144)
    at je.update (style.js:553)
    at Map._render (map.js:2865)
    at map.js:3217

ngnnah avatar Nov 15 '21 18:11 ngnnah