0

I 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 exists.

Code:

symbol = {
 type: 'picture-marker',
 url:`./assets/icons/svg/abnormal.svg`,
 width: '45px',
 height: '45px'
 };
const pointGraphic = new Graphic({
 geometry: point,
 symbol: symbol 
 });
 this.graphicsLayer.add(pointGraphic);
Kadir Şahbaz
78.6k57 gold badges260 silver badges407 bronze badges
asked Dec 2, 2020 at 12:00

1 Answer 1

0

Animated SVG images are not currently supported in ArcGIS API for JavaScript 4.17. At the 4.18 release in a few days, the documentation will be updated to clarify this.

answered Dec 15, 2020 at 22:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.