We want to use SVG icon as a marker in map view..
Its working fine with JPG/PNG. But we tryinh to use SVG facing challenges.
Please let me know, if we have any method or approach or sample code.
Thanks in advance
Attached code helps the setPath() method of the SimpleMarkerSymbol class. Using this method you can create a customized marker icon from any SVG path. You may also use the setColor() method to customize its filled color.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.