Select to view content in your preferred language

clear seprated Graphics

2485
2
Jump to solution
04-17-2016 05:55 AM
behsoh
by
Deactivated User

Hi,

I have a drawing tool and a buffer tool.

both add graphics to map. using:

var drawing = new Graphic()

map.graphics.add(drawing );

var buffer = new Graphic()

map.graphics.add(buffer );

is there any way to clean them separately

one for only drawings, another for buffers.

0 Kudos
1 Solution

Accepted Solutions
ChenLi2
Deactivated User

Hi,

Maybe you could create two seperate graphicslayer for each one, then add/clear graphics for each graphicslayer?

Chen

View solution in original post

2 Replies
ChenLi2
Deactivated User

Hi,

Maybe you could create two seperate graphicslayer for each one, then add/clear graphics for each graphicslayer?

Chen

behsoh
by
Deactivated User

Thanks chen, i think i know what im gonna do now.

0 Kudos