AnsweredAssumed Answered

How to add a custom marker with given renderer for features on portalitem?

Question asked by c.bischofmysynergis-esridist Employee on May 27, 2020
Latest reply on May 29, 2020 by c.bischofmysynergis-esridist

Using JS API 4.15


I have a portalItem which comes with already rendered markers for its features (3 feature layers). Those markers have shadows which shouldn't be "clickable" to trigger the popup.

So the idea is to put our own markers (for which we have renderer.json files) exactly on all of those provided markers of the portalItem so that we have access to all those markers and make the provided markers not clickable.


So basically we want to put our own markers with the according renderer.json on top of the given markers from the portalItem.


If anybody could provide some sample code, instructions or suggestions I'd be glad!


Thanks in advance!