Describe the bug
I have defined a new pixelValuesToColorFn but my map is still rendering the cog with the old colour scheme.
Is there some caching happening that is hidden?
In the gif below, see when I select a new height on the left slider, the raster should re-render with different colours. It initially renders with the old colour scheme (basic blue and yellow), and then updates to the new one (more graduated blues and oranges).
To Reproduce
See attached gif.
I am using leaflet, NOT react-leaflet, Google Chrome browser. I have disabled cache in dev tools, and cleared the cache.
Expected behavior
I would expect the raster to render with the new pixelValuesToColorFn.
Screenshots
Desktop (please complete the following information):
OS: MacOS Catalina
Browser Chrome Version 106.0.5249.119 (Official Build) (x86_64)
georaster-layer-for-leaflet@3.10.0
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Thankyou for developing these awesome tools!
Describe the bug I have defined a new
pixelValuesToColorFn
but my map is still rendering thecog
with the old colour scheme. Is there some caching happening that is hidden?In the
gif
below, see when I select a new height on the left slider, the raster should re-render with different colours. It initially renders with the old colour scheme (basic blue and yellow), and then updates to the new one (more graduated blues and oranges).To Reproduce See attached gif. I am using
leaflet
, NOTreact-leaflet
, Google Chrome browser. I have disabled cache in dev tools, and cleared the cache.Expected behavior I would expect the raster to render with the new
pixelValuesToColorFn
.Screenshots![georaster-caching2](https://user-images.githubusercontent.com/7980991/195758374-a17c85fe-1bf8-4c69-aa2f-92fdfefc7a3a.gif)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Thankyou for developing these awesome tools!