1

Anyone know what the use of the render option that can be passed to Layer constructor?

it's seem that is not effect on anything or that the render function is missing the prefix

if(this.render) return this.render(frameState, target)

tzahi_levi
  • 11
  • 5
  • It for for custom layers, e.g. integrating MapboxGL https://openlayers.org/en/latest/examples/mapbox-layer.html or SVG https://openlayers.org/en/latest/examples/svg-layer.html – Mike Jan 25 '22 at 22:09
  • another example https://openlayers.org/en/latest/examples/d3.html – Mike Jan 26 '22 at 14:08

0 Answers0