ui-mapbox
ui-mapbox copied to clipboard
mapbox.addImage() doesnt work with local storage, is this possible to load images to clustered feature ? or create clustered custom markers ?.
Loading image from from res:// or even from any other directory from projects sources works, but it failed when path point to local storage. Im using clustering points and want to load images from backend and then using "icon-image" in symbol feature to point to this image added by mapbox.addImage(), due there is no other way to add image ( adding custom marker is not a solution, or someone know how to create clustered custom markers, url to image looks like is not supported ). For me looks like there is no other way to add custom icons not predefined before application release in case of clustering option. Summarizng, is any possibility to load icons from backend and present them using clustering ?. Workaround can be usage of query features, find unclastered point, and add custom marker to this point, but don't know how to show such custom marker on top of unclastered point ( after try it appears behind it ).