I am trying to replace the blue dot for the current location with a custom vector graphic. I know you can replace the image with a .png or some other fixed image.
It would appear that AGSVectorMarkerSymbolElement might fit the situation, but I am having a problem constructing the object based on this statement
To create a red square, for example, construct an instance AGSVectorMarkerSymbolElement with a AGSMultilayerPolygonSymbol that contains a red AGSSolidFillSymbolLayer and a square geometry.
This appears to use layers instead of overlays, and I am not sure if layers can be animated (or converted to an overlay somehow). It also appears that the functionality I am looking for (animated vector graphics on the map), is more of a ArcGIS pro thing where the element is created as a JSON object, but I can't be sure based on the documentation.
Thanks.