I am adding a picture marker symbol to graphic layer like this in Map click event:
const mapPoint:MapPoint = map.toMapFromStage(event.stageX, event.stageY); mapPoint.spatialReference = map.spatialReference; geom= mapPoint; [Embed(source='assets/images/globe.png')] var picEmbeddedClass:Class; var pictureMarker:PictureMarkerSymbol = new PictureMarkerSymbol(picEmbeddedClass,100,100); var myGraphicPic:Graphic = new Graphic(geom); myGraphicPic.symbol = pictureMarker; graphicsLayer.add(myGraphicPic);
which works fine. When I zoom in and zoom out it maintains its
width=100 height=100 upon every change in zoom level to adjust its size.
How to make it retain its size as it was while adding it to graphics layer, irrespective of zoom level. As I zoom in it may seem bigger to me and small as I zoom out. Thanks