<?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: control popup location in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517203#M48262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are images showing what is happening.&amp;nbsp; One image shows the problem and the other shows when things are ok.&lt;IMG alt="popup_problem2.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/12572_popup_problem2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="popup_problem1.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/12573_popup_problem1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 18:31:43 GMT</pubDate>
    <dc:creator>PaulHuppé</dc:creator>
    <dc:date>2014-09-15T18:31:43Z</dc:date>
    <item>
      <title>control popup location</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517200#M48259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am adding popups to my application and followed the sample&lt;/P&gt;&lt;P&gt; &lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=popup_chart"&gt;http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=popup_chart&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In that sample, when you click on a location close to the edge of the map, it puts the popup automatically on the inside.&amp;nbsp; In my case, it does not do that properly, and sometimes, the popup is outside the map and therefore gets partially cut.&amp;nbsp; This happens mostly when I click on the right side of the map.&amp;nbsp; It put the popup to the right of where I clicked instead of to the left as expected.&amp;nbsp; Any idea what is causing this behavior?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 18:04:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517200#M48259</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2014-09-15T18:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: control popup location</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517201#M48260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you post your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 18:07:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517201#M48260</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-15T18:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: control popup location</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517202#M48261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is the code.&amp;nbsp; We are using a MVVM model with KnockoutJS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;popupV.js:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'use strict';&lt;/P&gt;&lt;P&gt;&amp;nbsp; define(['gcviz-vm-datagrid'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ], function(datagridVM) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; var initialize;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; initialize = function($mapElem) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; var $popup,&lt;/P&gt;&lt;P&gt;&amp;nbsp; popupWindow,&lt;/P&gt;&lt;P&gt;&amp;nbsp; config = $mapElem.datagrid,&lt;/P&gt;&lt;P&gt;&amp;nbsp; mapid = $mapElem.mapframe.id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp; $mapElem.find('#' + mapid).append('&amp;lt;div id="popup' + mapid + '" class="gcviz-popup"&amp;gt;&amp;lt;/div&amp;gt;');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $popup = $mapElem.find('.gcviz-popup');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; return(datagridVM.initialize($popup, mapid, config));&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; return {&lt;/P&gt;&lt;P&gt;&amp;nbsp; initialize: initialize&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;}).call(this);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;popupVM.js:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'use strict';&lt;/P&gt;&lt;P&gt;&amp;nbsp; define(['knockout',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'gcviz-i18n',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'gcviz-func',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'gcviz-gismap'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ], function(ko, i18n, gcvizFunc, gisMap) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; var initialize,&lt;/P&gt;&lt;P&gt;&amp;nbsp; vm;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; initialize = function($mapElem, mapid, config) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // data model&lt;/P&gt;&lt;P&gt;&amp;nbsp; var datagridViewModel = function($mapElem, mapid, config) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; var _self = this,&lt;/P&gt;&lt;P&gt;&amp;nbsp; layerInfo = config.layers,&lt;/P&gt;&lt;P&gt;&amp;nbsp; popupid = 'popup' + mapid;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; _self.init = function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; var mymap = gcvizFunc.getElemValueVM(mapid, ['map', 'map'], 'js');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (config.enable) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Are popups desired?&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (var i=0; i &amp;lt; layerInfo.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (layerInfo&lt;I&gt;.popups) {&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; gisMap.addPopup(mymap, layerInfo&lt;I&gt;);&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; return { controlsDescendantBindings: true };&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; _self.clickPrevious = function() { //to be coded later };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; _self.clickNext = function() { //to be coded later };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; _self.init();&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vm = new datagridViewModel($mapElem, mapid, config);&lt;/P&gt;&lt;P&gt;&amp;nbsp; ko.applyBindings(vm, $mapElem[0]); // This makes Knockout get to work&lt;/P&gt;&lt;P&gt;&amp;nbsp; return vm;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; return {&lt;/P&gt;&lt;P&gt;&amp;nbsp; initialize: initialize&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;}).call(this);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;addPopup function inside gisMap module referenced inside popupVM:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; addPopup = function(mymap, layerInfo) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; var fill = new esriFill('solid', null, new esriColor('#A4CE67')),&lt;/P&gt;&lt;P&gt;&amp;nbsp; i,&lt;/P&gt;&lt;P&gt;&amp;nbsp; layer,&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription,&lt;/P&gt;&lt;P&gt;&amp;nbsp; template,&lt;/P&gt;&lt;P&gt;&amp;nbsp; thetitle,&lt;/P&gt;&lt;P&gt;&amp;nbsp; popup = new esriPopup({&lt;/P&gt;&lt;P&gt;&amp;nbsp; fillSymbol: fill,&lt;/P&gt;&lt;P&gt;&amp;nbsp; titleInBody: true&lt;/P&gt;&lt;P&gt;&amp;nbsp; }, domConstruct.create('div'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Add the dark theme&lt;/P&gt;&lt;P&gt;&amp;nbsp; domClass.add(popup.domNode, 'dark');&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Hide the maximize button&lt;/P&gt;&lt;P&gt;&amp;nbsp; domClass.add(popup.domNode.childNodes[0].childNodes[0].childNodes[0].childNodes[4], 'hidden');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Add popup to map&lt;/P&gt;&lt;P&gt;&amp;nbsp; mymap.infoWindow = popup;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (layerInfo.popups.title.usefield) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; thetitle = '{' + layerInfo.popups.title.titlefield + '}';&lt;/P&gt;&lt;P&gt;&amp;nbsp; } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp; thetitle = layerInfo.popups.title.titletext;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Put the desired fields in the content description&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription = '&amp;lt;table style=\"text-align: left;\"&amp;gt;';&lt;/P&gt;&lt;P&gt;//TODO: Add it i18...&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription += '&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Property&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Value&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i &amp;lt; layerInfo.popups.fields.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription +='&amp;lt;tr&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription += '&amp;lt;td&amp;gt;' + layerInfo.popups.fields&lt;I&gt;.fieldlabel + ':&amp;lt;/td&amp;gt;';&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription += '&amp;lt;td&amp;gt;{' + layerInfo.popups.fields&lt;I&gt;.fieldname + '}&amp;lt;/td&amp;gt;';&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription +='&amp;lt;/tr&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; thedescription += '&amp;lt;/table&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Setup the template&lt;/P&gt;&lt;P&gt;&amp;nbsp; template = new esriPopupTemplate({&lt;/P&gt;&lt;P&gt;&amp;nbsp; title: thetitle,&lt;/P&gt;&lt;P&gt;&amp;nbsp; description: thedescription&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Attach the template to the layer&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Check if in feature layers&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i &amp;lt; mymap.layerIds.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; layer = mymap.getLayer(mymap.layerIds&lt;I&gt;);&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (layer.id === layerInfo.layerid) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; layer.infoTemplate = template;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Attach the template to the layer&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Check if in a GraphicLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i &amp;lt; mymap.graphicsLayerIds.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; layer = mymap.getLayer(mymap.graphicsLayerIds&lt;I&gt;);&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (layer.id === layerInfo.layerid) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; layer.infoTemplate = template;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;popup.css:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;@import "gcviz-mixin";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.gcviz-popup {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp; width: 350px!important;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; height: 200px!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.infowindow {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp; width: 350px!important;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; height: 200px!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Change color of icons in Popups */&lt;/P&gt;&lt;P&gt;.esriPopup.dark div.titleButton, &lt;/P&gt;&lt;P&gt;.esriPopup.dark div.titlePane .title {&lt;/P&gt;&lt;P&gt;&amp;nbsp; color: $white!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.esriPopup.dark .titlePane {&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: $black;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; background-image: url("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://s-bsc-geoappint.nrn.nrcan.gc.ca/GeoCanViz/gcviz/images/headBlackbar.png" rel="nofollow" target="_blank"&gt;http://s-bsc-geoappint.nrn.nrcan.gc.ca/GeoCanViz/gcviz/images/headBlackbar.png&lt;/A&gt;&lt;SPAN&gt;")!important;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;.esriPopup.dark .actionsPane {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; color: $black!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: $palegrey;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; background-image: url("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://s-bsc-geoappint.nrn.nrcan.gc.ca/GeoCanViz/gcviz/images/footGreybar.png" rel="nofollow" target="_blank"&gt;http://s-bsc-geoappint.nrn.nrcan.gc.ca/GeoCanViz/gcviz/images/footGreybar.png&lt;/A&gt;&lt;SPAN&gt;")!important;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.esriPopup.dark .action {&lt;/P&gt;&lt;P&gt;&amp;nbsp; color: $black!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.esriPopup.dark .titlePane, .dj_ie7 .esriPopup.dark .titlePane .title, .esriPopup.dark .contentPane, .esriPopup.dark .actionsPane {&lt;/P&gt;&lt;P&gt;&amp;nbsp; width: 350px!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.esriPopup.dark .sizer {&lt;/P&gt;&lt;P&gt;&amp;nbsp; width: 350px!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;/* Additional customizations */&lt;/P&gt;&lt;P&gt;.esriPopup.dark .esriPopupWrapper {&lt;/P&gt;&lt;P&gt;&amp;nbsp; border: none!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; width: 350px!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: $black;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.esriPopup .contentPane {&lt;/P&gt;&lt;P&gt;&amp;nbsp; text-align: center!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: $white!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; max-height: 150px!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; color: $black!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; @include app-text(1.0, bold, $black);&lt;/P&gt;&lt;P&gt;&amp;nbsp; width: 325px!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.esriViewPopup .gallery {&lt;/P&gt;&lt;P&gt;&amp;nbsp; margin: 0 auto!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;.esriPopup {&lt;/P&gt;&lt;P&gt;&amp;nbsp; z-index: 999999!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; color: $black!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; background-color: $white!important;&lt;/P&gt;&lt;P&gt;&amp;nbsp; width: 350px!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 18:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517202#M48261</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2014-09-15T18:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: control popup location</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517203#M48262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are images showing what is happening.&amp;nbsp; One image shows the problem and the other shows when things are ok.&lt;IMG alt="popup_problem2.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/12572_popup_problem2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="popup_problem1.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/12573_popup_problem1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 18:31:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517203#M48262</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2014-09-15T18:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: control popup location</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517204#M48263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is just default behavior from the API, which is unfortunate. This has been happening to folks for years (myself included). I thought that the API team had plans on trying to address this but they haven't so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's &lt;A _jive_internal="true" href="https://community.esri.com/message/33387#33387"&gt;an old thread&lt;/A&gt; which offers a solution that worked for some folks. It didn't for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 20:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517204#M48263</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2014-09-15T20:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: control popup location</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517205#M48264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this InfoWindow always misbehaves, is there a way to always display it in the same location, i.e.: in the lower left corner say?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 11:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517205#M48264</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2014-09-16T11:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: control popup location</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517206#M48265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes- I think you could do this. In the other thread I linked, there was a particular line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14108802780239107 jive_text_macro" jivemacro_uid="_14108802780239107"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;map.infoWindow.show(evt.screenPoint, esri.dijit.InfoWindow.ANCHOR_UPPERRIGHT);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That specifies where the infoWindow should appear (map location + relative location based on map location).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to always show the infoWindow in the lower left corner, you would simply need to calculate what the map coordinate is for the lower left corner of the map and pass that as the first parameter in the code above. I haven't tried this, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 15:14:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/control-popup-location/m-p/517206#M48265</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2014-09-16T15:14:25Z</dc:date>
    </item>
  </channel>
</rss>

