Clear hitTest result

614
2
Jump to solution
07-24-2020 03:36 AM
Vakhtang_Zubiashvili
Occasional Contributor III

Hi guys, Robert Scheitlin, GISP

I need to clear hitTest result, because i have PHP modal to see uploaded image on server (file name i get using hitTest) and when i click another feature and click see attached files, first time it shows current clicked feature image an on second click it returns previously clicked feature result.

Help please

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

the hit test does not maintain anything that would need to be cleared so you must be holding onto something in your own code that is causing this issue.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

the hit test does not maintain anything that would need to be cleared so you must be holding onto something in your own code that is causing this issue.

Vakhtang_Zubiashvili
Occasional Contributor III

Thanks Robert, i thought the same, just needed to be sure from more competent person. I opened new question and check it too please.

Thanks.

0 Kudos