Select to view content in your preferred language

Retain popup data after it is closed

3196
24
Jump to solution
04-01-2020 08:50 PM
rsharma
Frequent Contributor

I want to retain popupdata which i filled in it, when i close the popup coming from marker symbol , and again open it, my popup refreshed.??

0 Kudos
24 Replies
RobertScheitlin__GISP
MVP Emeritus

Sure don't call the sketchviewmodel update method immediately like you are.

rsharma
Frequent Contributor

Ok , but why it automatically select polygon for editing when i select marker placed on it, only marker shoul be selected

0 Kudos
rsharma
Frequent Contributor

Immediatly means where

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rajni,

  When you add a new graphic to the map you have places in your code you call

sketchViewModel.update(evt.graphic, .....

This is what puts it in edit mode. So where all depends on what action you did prior (i.e. draw a polygon, link from database, etc.)

rsharma
Frequent Contributor

Resolved it i put opposite lat long.

0 Kudos