<?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: Info Window - Version 3.4 of the JavaScript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371289#M34447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a code snippet showing how to use the old info window instead of the popup. Note that the sample points to esri.esri.dijit.InfoWindow at the next version of the api (3.5) we'll fix this so you just need to enter esri.dijit.InfoWindow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; var map = new esri.Map("map", { &amp;nbsp; basemap: "streets", &amp;nbsp; center:&amp;nbsp; [-98.215, 38.382], &amp;nbsp; zoom:&amp;nbsp;&amp;nbsp;&amp;nbsp; 7 });&amp;nbsp; var infoWindow = new esri.esri.dijit.InfoWindow({}, dojo.create("div", null, map.root)); infoWindow.startup(); map.setInfoWindow(infoWindow);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 17:23:36 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2013-04-02T17:23:36Z</dc:date>
    <item>
      <title>Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371285#M34443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the 'What's New in Version 3.4 ', I read:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The popup widget is now the default info window for the map. Most ArcGIS API for JavaScript users prefer the popup's look and feel and, after some refactoring some internal dependencies, using the popup as the default makes sense. Additional changes to the popup include: easier to place the popup in a container outside the map, better support for right-to-left content and several new config options to control paging controls and how features are highlighted&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does having the popup as the 'default' mean that the previous info window provided by the esri.dijit.infowindow might still be available as an alternative?&amp;nbsp; If so, is it set within the map constructor? Looking through the map constructor options for Version 3.4, I see only the infoWindowBase option whose implementation seems to require a custom module.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 19:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371285#M34443</guid>
      <dc:creator>bobcarr</dc:creator>
      <dc:date>2013-03-25T19:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371286#M34444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I could do with some advise on the same subject. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Upgrading to 3.4 breaks my code,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I either : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) set the default infoWindow back to infoWindow type&amp;nbsp; or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) upgrade my code to support popupWindow ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple InfoWindow with html in it &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;whereAmIgraphic.setInfoTemplate(new esri.InfoTemplate("Location : ",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;lt;p&amp;gt;" +&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;lt;div id='divXYInfo'&amp;gt;&amp;lt;/div&amp;gt;" +&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 09:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371286#M34444</guid>
      <dc:creator>BillHoney</dc:creator>
      <dc:date>2013-03-26T09:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371287#M34445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would also like to know how to support the old info window.&amp;nbsp; Actually I would like to know how I can support both old and new in the same map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To implement the new info window here is a good walk through; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/intro_agspopup.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/intro_agspopup.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see any 3.4 samples that show how to implement the old info window.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 13:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371287#M34445</guid>
      <dc:creator>SimonFisher</dc:creator>
      <dc:date>2013-03-26T13:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371288#M34446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone make any progress on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 16:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371288#M34446</guid>
      <dc:creator>SimonFisher</dc:creator>
      <dc:date>2013-03-28T16:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371289#M34447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a code snippet showing how to use the old info window instead of the popup. Note that the sample points to esri.esri.dijit.InfoWindow at the next version of the api (3.5) we'll fix this so you just need to enter esri.dijit.InfoWindow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; var map = new esri.Map("map", { &amp;nbsp; basemap: "streets", &amp;nbsp; center:&amp;nbsp; [-98.215, 38.382], &amp;nbsp; zoom:&amp;nbsp;&amp;nbsp;&amp;nbsp; 7 });&amp;nbsp; var infoWindow = new esri.esri.dijit.InfoWindow({}, dojo.create("div", null, map.root)); infoWindow.startup(); map.setInfoWindow(infoWindow);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 17:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371289#M34447</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-04-02T17:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371290#M34448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I &lt;/SPAN&gt;&lt;STRONG&gt;just&lt;/STRONG&gt;&lt;SPAN&gt; had to do this myself today.&amp;nbsp; Here's what I ended up with.&amp;nbsp; It creates the InfoWindow first and passes it via the Map constructor options rather than setting it after the map is created.&amp;nbsp; This assumes you have an element with an id of "map" in your DOM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This may not be correct if the InfoWindow domNode really has to be attached to map.root.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
define(["dojo/dom-construct", "esri/dijit/InfoWindow", "esri/map"],
&amp;nbsp;&amp;nbsp;&amp;nbsp; function(domConstruct, InfoWindow, Map) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var infoWindow = new InfoWindow({}, domConstruct.create("div", null, "map"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoWindow.startup();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map = new Map("map", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoWindow: infoWindow
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371290#M34448</guid>
      <dc:creator>LucasScharenbroich</dc:creator>
      <dc:date>2021-12-11T17:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371291#M34449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have tried using Kelly's suggestion above but I am getting the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"SCRIPT5007: Unable to get value of the property 'dijit': object is null or undefined"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error happens on the line that the infoWindow is being created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; map = new esri.Map("mapDiv", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extent: initialExtent,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logo: false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fadeOnZoom: true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var infoWindow = new esri.esri.dijit.InfoWindow({}, dojo.create("div", null, map.root));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoWindow.startup();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.setInfoWindow(infoWindow);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:12:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371291#M34449</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2021-12-11T17:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371292#M34450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try adding a dojo.require to your app for the info window. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dojo.require("esri.dijit.InfoWindow");&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 19:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371292#M34450</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-04-03T19:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Info Window - Version 3.4 of the JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371293#M34451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here's a code snippet showing how to use the old info window instead of the popup. Note that the sample points to esri.esri.dijit.InfoWindow at the next version of the api (3.5) we'll fix this so you just need to enter esri.dijit.InfoWindow. &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

var map = new esri.Map("map", {
&amp;nbsp; basemap: "streets",
&amp;nbsp; center:&amp;nbsp; [-98.215, 38.382],
&amp;nbsp; zoom:&amp;nbsp;&amp;nbsp;&amp;nbsp; 7
});

var infoWindow = new esri.esri.dijit.InfoWindow({}, dojo.create("div", null, map.root));
infoWindow.startup();
map.setInfoWindow(infoWindow);
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for posting this snippet.&amp;nbsp; Using this, our web map now displays the traditional infoWindow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/info-window-version-3-4-of-the-javascript-api/m-p/371293#M34451</guid>
      <dc:creator>bobcarr</dc:creator>
      <dc:date>2021-12-11T17:12:28Z</dc:date>
    </item>
  </channel>
</rss>

