btcmap.org icon indicating copy to clipboard operation
btcmap.org copied to clipboard

Missing image `circle-11` console warning

Open dadofsambonzuki opened this issue 7 months ago • 4 comments

The following warning is logged to console when loading /map.

Image "circle-11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event

Does not appear to affect functionality

dadofsambonzuki avatar May 13 '25 09:05 dadofsambonzuki

Also:

Image "wood-pattern" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.

https://btcmap.org/map#18/53.55807/10.01155

escapedcat avatar May 15 '25 04:05 escapedcat

During the e2e tests within the playwright UI we even get these:

Image

escapedcat avatar May 16 '25 09:05 escapedcat

Current findings:

I'm wondering if the warnings are an actual error (and we are missing images) or they show up because we maybe overwrite all markers etc. in our own way anyways? But maybe not in a very correct way? ...only assumptions though.

Would be great to know why these images are "missing" and what the default(?) images would be (and check if those could be used?)

Might need to dig further into how we adjust the design of the markers/map/etc

escapedcat avatar May 16 '25 09:05 escapedcat

Image "wood-pattern" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.

escapedcat avatar Oct 21 '25 13:10 escapedcat

It's gone

escapedcat avatar Nov 21 '25 06:11 escapedcat

Never mind, still there (prod only)

escapedcat avatar Nov 21 '25 07:11 escapedcat