Select to view content in your preferred language

Clear all the runtime graphics on the Map in one click

1646
1
07-07-2016 01:15 AM
ItaliaHumana
New Contributor

Hi,

is there any widget to clear all the runtime graphics on the Map generated by the user during the navigation?

I tried to do that by using this.map.graphics.clear() but nothing happens.

Can you help me?

Thanks

Fabio

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Fabio,

If this.map.graphics.clear() ​does not work for you then the graphics must be added to a specific graphics layer in the map.