I have an elevation tilelayer in Leaflet and would like to access the individual tile images in order to access their elevation data via the imageData object
Where are the tile images stored within Leaflets tileLayer object?
I have an elevation tilelayer in Leaflet and would like to access the individual tile images in order to access their elevation data via the imageData object
Where are the tile images stored within Leaflets tileLayer object?
Copyright © 2021 Jogjafile Inc.
There is no public function for this but you can access it via
tile._tiles
Demo: https://plnkr.co/edit/rHpmBfqRkPRCypBs