<?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: MapView.bookmarks in JSAPI 4.x? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623602#M58202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have not tested it but it would seem logical that you can just add to the bookmarks collection object (which already has the webmaps bookmarks).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2020 23:09:04 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-04-06T23:09:04Z</dc:date>
    <item>
      <title>MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623596#M58196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the 4.x version of ArcGIS API for JavaScript, the Bookmarks widget and bookmarks property apply only to a WebView. In 3.x, bookmarks could be used without a web map. Will Bookmarks be available for MapViews in 4.x?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 17:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623596#M58196</guid>
      <dc:creator>EthanBodin1</dc:creator>
      <dc:date>2020-03-17T17:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623597#M58197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is a WebView?... In 4.x the Bookmark widget applies to 2D maps only (i.e. MapView). They currently do not work for SceneViews (as this is a know limitation).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 17:26:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623597#M58197</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-17T17:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623598#M58198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the question, which caused me to review and find two mistakes in my post.&amp;nbsp;A less than thorough reading of API docs and sample code&amp;nbsp;led me to believe the widget's view needed to derive from a&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks"&gt;WebMap&lt;/A&gt;&amp;nbsp;(not a WebView, which I made up). I will give it a go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623598#M58198</guid>
      <dc:creator>EthanBodin1</dc:creator>
      <dc:date>2020-03-17T19:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623599#M58199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/webstylesymbol-2d/index.html"&gt;WebStyleSymbol (2D) sample&lt;/A&gt;&amp;nbsp;has the Bookmarks widget working with an esri/Map in place of esri/WebMap. The key is to initialize the Bookmark widget's&amp;nbsp;&lt;EM&gt;bookmarks&lt;/EM&gt; with an array of Bookmark objects; without that adding a bookmark fails silently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;still claim the documentation implies WebMap is central to bookmarks functionality (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html?search=bookmark"&gt;Searching the API for "bookmarks"&lt;/A&gt;, it looks like WebMap is at the root of Bookmarks. The only &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html"&gt;Bookmark&lt;/A&gt; class is esri/webmap/Bookmark. The only classes with a bookmarks property are the widget and &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html"&gt;WebMap&lt;/A&gt;. The Bookmark class and&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html"&gt;Bookmarks&lt;/A&gt; widget API pages both start off with "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;typically are defined inside the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;WebMap&lt;/A&gt;", but don't mention any other way to define them, and the sample linked from those pages uses a WebMap.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 21:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623599#M58199</guid>
      <dc:creator>EthanBodin1</dc:creator>
      <dc:date>2020-03-17T21:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623600#M58200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;It displays a list of&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html"&gt;bookmarks&lt;/A&gt;, which typically are defined inside the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks"&gt;WebMap&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes the easiest way to use the bookmark widget is to use a webmap that has bookmarks defined in it, but that does not prevent you from creating your own bookmarks collection manually in code and setting the Bookmarks widget &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html#bookmarks"&gt;bookmarks&lt;/A&gt; property to that collection. I have not seen a sample for this because the normal route is to use a webmap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 21:42:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623600#M58200</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-17T21:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623601#M58201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to have both user created bookmarks in the webmap and manually coded bookmarks appearing in the same list when the widget opens? I seem to be able to do one or the other, but not both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 20:56:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623601#M58201</guid>
      <dc:creator>DianeBird</dc:creator>
      <dc:date>2020-04-06T20:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623602#M58202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have not tested it but it would seem logical that you can just add to the bookmarks collection object (which already has the webmaps bookmarks).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 23:09:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623602#M58202</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-04-06T23:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: MapView.bookmarks in JSAPI 4.x?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623603#M58203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - I was able to add it to the code as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/487733_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;It works perfectly, and I can still add new bookmarks to the list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 15:04:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-bookmarks-in-jsapi-4-x/m-p/623603#M58203</guid>
      <dc:creator>DianeBird</dc:creator>
      <dc:date>2020-04-07T15:04:33Z</dc:date>
    </item>
  </channel>
</rss>

