SVG Icon Animation not working on Arcgis javascript

12-02-2020 04:06 AM
New Contributor II

am working on Angular 11 project having arcgis javascript version 4.17 when placing points on map using GraphicsLayer am using custom SVG Icons, the ones with animation are not showing perfectly on the map. they are showed as a static picture , even though they are showed perfectly animated on the Developer tools-> source portal.

note that i had tried SimpleMarkerSymbol.path and PictureMarkerSymbol.url but the same problem exist.

symbol = { type: 'picture-marker', url:
./assets/icons/svg/abnormal.svg, width: '45px', height: '45px' };
const pointGraphic = new Graphic({ geometry: point, symbol: symbol });

0 Replies