Hello,
is it possible to use image sprite's images as icon for FeatureLayer's features? And if so can someone help me how?
I have my image sprite loaded in my style.css
.imageSprite {
background-image: url('images/custom-icons.png');
background-repeat: no-repeat;
width: 42px;
height: 49px;
text-align: center;
}
.imageSpriteCam {
background-position: 0px,0px
}
.imageSpriteCluster {
background-position: 42px,0px
}
.imageSpriteCrash {
background-position: 0px,49px
}
.imageSpriteCrossroad {
background-position: 0px,98px
}
My FL is made from Feature Collection but when I would use PictureMarkerSymbol as icon there is no style attribute or something like this. So I don't know how to use it if it's even possible.
Thanks for help.