Bookmarks stored client site removes the topmost bookmark after refresh.

1535
0
01-15-2016 03:55 AM
akshayloya
Occasional Contributor II

Am using “esri/dijit/Bookmarks” from “Store bookmarks client side” sample in esri javascript api site. When I delete any of the added bookmark the bookmark gets deleted. But when I refresh the page, the deleted bookmark is retained and by default the first added bookmark  gets removed. I have attached images of output.

I added 4 bookmarks.

Capture3.PNG

I removed bookmark number 3.

Capture1.PNG

After deleting, I immediately refresh page and number 1 bookmark gets removed instead of Number 3 bookmark which I removed.

Capture2.PNG

I went through the live sample and the same problem is repeated.

0 Kudos
0 Replies