<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bookmarks widget what is possible and what is not?  Add and Delete Items...... in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207289#M78478</link>
    <description>&lt;P&gt;Very easy can to use bookmarks, for example, to fill them in at the beginning as I actually want. And then just write&amp;nbsp; function for any click or change event&amp;nbsp;and just change sublayers by selected name from bookmarks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 16:17:09 GMT</pubDate>
    <dc:creator>DimaY</dc:creator>
    <dc:date>2022-08-29T16:17:09Z</dc:date>
    <item>
      <title>Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207211#M78471</link>
      <description>&lt;P&gt;Bookmarks Widget Displays a list of bookmarks that are only defined in the web map?&amp;nbsp;Can it work with other objects also?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And another separate question. Can I remove or add items to the bookmark using code? Are there remove or add methods to use dynamically in my program? Or is it only possible through the user interface?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;const bookmarks = new Bookmarks({});&lt;/P&gt;&lt;P&gt;bookmarks.Add(element)&amp;nbsp; or&amp;nbsp;bookmarks.Delete(element)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 14:02:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207211#M78471</guid>
      <dc:creator>DimaY</dc:creator>
      <dc:date>2022-08-29T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207223#M78472</link>
      <description>&lt;P&gt;This is all built in to the Bookmarks widget.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-bookmarks/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-bookmarks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could even save them to localStorage if you don't want to save them back to the WebMap (outdated)&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&lt;A href="https://codepen.io/odoe/pen/QxrEVX?editors=0010" target="_blank" rel="noopener"&gt;https://codepen.io/odoe/pen/QxrEVX?editors=0010&lt;/A&gt;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;This samples is better for local adding of bookmarks&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/webstylesymbol-2d/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/webstylesymbol-2d/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 16:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207223#M78472</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-29T16:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207270#M78474</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;The second example has what I asked if it is possible to add an element. It's just not very clear what means&amp;nbsp;extent in&amp;nbsp;bookmark?&lt;/P&gt;&lt;P&gt;As for the first example, I didn't really ask about what is built into the interface. This part didn't interest me at all. I was wondering if I can affect objects through the code, generally remove elements and add others, for example, use it for other objects by writing different code. And I also asked if it only works with a webmap? Is it possible for example to use another object, say WMSLayer?&amp;nbsp;Which we can also paste into Map and which we can paste into MapView or, as I asked earlier, it is only built into WebMap? In all examples, in all projects anf files on this site only WEBMAP with Bookmarks.&amp;nbsp;I tried with other Map objects, it doesn't work. That's why I'm asking.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 15:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207270#M78474</guid>
      <dc:creator>DimaY</dc:creator>
      <dc:date>2022-08-29T15:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207279#M78475</link>
      <description>&lt;P&gt;It only works for a WebMap, not sure how you would use Bookmarks for layers.&lt;/P&gt;&lt;P&gt;This is a better sample for adding to the Bookmarks manually&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/webstylesymbol-2d/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/webstylesymbol-2d/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html#bookmarks" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html#bookmarks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html#methods-summary" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html#methods-summary&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 16:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207279#M78475</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-29T16:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207283#M78477</link>
      <description>&lt;P&gt;In angular not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: src/app/app.component.ts:74:33 - error TS2345: Argument of type '{ extent: Extent; name: string; }' is not assignable to parameter of type 'Bookmark'.&lt;BR /&gt;Type '{ extent: Extent; name: string; }' is missing the following properties from type 'Bookmark': thumbnail, timeExtent, viewpoint, destroyed, and 9 more.&lt;/P&gt;&lt;P&gt;74 bookmarks.bookmarks.add(bookmark);&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 16:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207283#M78477</guid>
      <dc:creator>DimaY</dc:creator>
      <dc:date>2022-08-29T16:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207289#M78478</link>
      <description>&lt;P&gt;Very easy can to use bookmarks, for example, to fill them in at the beginning as I actually want. And then just write&amp;nbsp; function for any click or change event&amp;nbsp;and just change sublayers by selected name from bookmarks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 16:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207289#M78478</guid>
      <dc:creator>DimaY</dc:creator>
      <dc:date>2022-08-29T16:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207292#M78479</link>
      <description>&lt;P&gt;That demo was old, check the doc, it uses a viewpoint property now&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 16:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207292#M78479</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-29T16:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207297#M78480</link>
      <description>&lt;P&gt;const bookmark = new Bookmark( {&lt;BR /&gt;name: name&lt;BR /&gt;});&lt;BR /&gt;bookmarks.bookmarks.add(bookmark);&lt;/P&gt;&lt;P&gt;import Bookmark from "@arcgis/core/webmap/Bookmark";&lt;/P&gt;&lt;P&gt;ok.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 16:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207297#M78480</guid>
      <dc:creator>DimaY</dc:creator>
      <dc:date>2022-08-29T16:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207306#M78481</link>
      <description>&lt;P&gt;Thank you very much!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 16:50:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1207306#M78481</guid>
      <dc:creator>DimaY</dc:creator>
      <dc:date>2022-08-29T16:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks widget what is possible and what is not?  Add and Delete Items......</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1243656#M79728</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/611047"&gt;@DimaY&lt;/a&gt;&amp;nbsp;, did it work in Angular? adding a bookmark?&lt;/P&gt;&lt;P&gt;It gives me this error :&lt;/P&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MohammedZaki_0-1671894259338.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59261i10B35136CAF3459E/image-size/large?v=v2&amp;amp;px=999" role="button" title="MohammedZaki_0-1671894259338.png" alt="MohammedZaki_0-1671894259338.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 24 Dec 2022 15:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bookmarks-widget-what-is-possible-and-what-is-not/m-p/1243656#M79728</guid>
      <dc:creator>MohammedZaki</dc:creator>
      <dc:date>2022-12-24T15:04:58Z</dc:date>
    </item>
  </channel>
</rss>

