<?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: Calcite map - opening one panel from another in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22472#M1954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought I'd tried that variation, but apparently not.&amp;nbsp; That was it!&amp;nbsp; Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2017 14:21:15 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2017-03-09T14:21:15Z</dc:date>
    <item>
      <title>Calcite map - opening one panel from another</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22467#M1949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been converting some code to use the calcite map styling, from my previous style of 'everything goes into a side panel'.&lt;/P&gt;&lt;P&gt;Originally I had a series of Title Panes, stacked vertically. &amp;nbsp;Now I want each of these to be a collapsible panel, following the example shown on the gitHub site: &amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/calcite-maps" title="https://github.com/Esri/calcite-maps"&gt;GitHub - Esri/calcite-maps: A Bootstrap theme for designing, styling and creating modern map apps&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem understand how I might programmatically open a panel. &amp;nbsp;For example, the user is allowed to search from a dropdown of school districts. &amp;nbsp;This is the panel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- District Search Panel --&amp;gt;&lt;BR /&gt; &amp;lt;div id="panelDistrictSearch" class="panel collapse in"&amp;gt;&lt;BR /&gt; &amp;lt;div id="headingDistrictSearch" class="panel-heading" role="tab"&amp;gt;&lt;BR /&gt; &amp;lt;div class="panel-title"&amp;gt;&lt;BR /&gt; &amp;lt;a class="panel-toggle" role="button" data-toggle="collapse" href="#collapseDistrictSearch" aria-expanded="true" aria-controls="collapseDistrictSearch"&amp;gt;&amp;lt;span class="glyphicon glyphicon-info-search" aria-hidden="true"&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class="panel-label"&amp;gt;District Search&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;BR /&gt; &amp;lt;a class="panel-close" role="button" data-toggle="collapse" data-target="#panelDistrictSearch"&amp;gt;&amp;lt;span class="esri-icon esri-icon-close" aria-hidden="true"&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;div id="collapseDistrictSearch" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingDistrictSearch"&amp;gt;&lt;BR /&gt; &amp;lt;div class="panel-body calcite-body-expander"&amp;gt; &lt;BR /&gt; &amp;lt;div class="panel-body"&amp;gt;&lt;BR /&gt; &amp;lt;div id="searchDiv"&amp;gt;&lt;BR /&gt; &amp;lt;h4&amp;gt;Select a District:&amp;lt;/h4&amp;gt;&lt;BR /&gt; &amp;lt;input id='distSelect'&amp;gt;&lt;BR /&gt; &amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;The input is populated from JavaScript based on the values of the district field. &amp;nbsp;Once the user selects a specific district, then the list of schools will be shown. &amp;nbsp;When laid out in the sidebar panel, it was all just stacked. &amp;nbsp;I want the schools to be in their own collapsible panel now. &amp;nbsp; &amp;nbsp;The problem is I'm not sure how to open the school list panel programmatically. &amp;nbsp;The documentation is sparse for this. &amp;nbsp;&lt;A class="link-titled" href="https://xsokev.github.io/Dojo-Bootstrap/collapse.html" title="https://xsokev.github.io/Dojo-Bootstrap/collapse.html"&gt;Collapse - Dojo Bootstrap&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It tells me I can either enable manually: &amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #333333; background-color: #f5f5f5; border: 1px solid #cccccc; margin: 0px 0px 10px; padding: 9.5px;"&gt;query(".collapse").collapse()&lt;/PRE&gt;&lt;P&gt;Or&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #333333; background-color: #f5f5f5; border: 1px solid #cccccc; margin: 0px 0px 10px; padding: 9.5px;"&gt;query('#myCollapsible').collapse({&amp;nbsp;&amp;nbsp; toggle: false })&lt;/PRE&gt;&lt;P&gt;Is this a dojo query? &amp;nbsp;I assume I need to specify which panel I want to open, but so far I haven't got this right. &amp;nbsp;I can manually open the school list panel and see the list is populated, it just doesn't open. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function zoomDistrict(distCode){&lt;BR /&gt;if (domClass.contains('schoolGridDiv', 'div-visible')) {&lt;BR /&gt; domClass.toggle('schoolGridDiv', 'div-visible');&lt;BR /&gt; }&lt;BR /&gt; // var distCode = registry.byId("distSelect").value;&lt;BR /&gt; var distQueryTask = new QueryTask(app.districtLayer.url);//school districts&lt;BR /&gt; distQuery = new Query();&lt;BR /&gt; distQuery.returnGeometry = true;&lt;BR /&gt; distQuery.outFields = ['*'];&lt;BR /&gt; distQuery.outSpatialReference = app.spatialReference;&lt;BR /&gt; distQuery.where = "CtyDist = '" + distCode + "'";&lt;BR /&gt; distQueryTask.on('error', function(err){&lt;BR /&gt; console.log("Error in queryDistrict " + err.Error)&lt;BR /&gt; });&lt;BR /&gt; distQueryTask.execute(distQuery).then(function(results){&lt;BR /&gt; if (results.features.length &amp;gt; 0) {&lt;BR /&gt; var distName = results.features[0].attributes[app.distFieldPath+'.DIST_NAME'];&lt;BR /&gt; dom.byId('subHeader').innerHTML = 'Missouri Public School Directory - ' + distName;&lt;BR /&gt; dom.byId('listHeader').innerHTML = "Schools in " + distName + ":";&lt;BR /&gt; var distExtent = results.features[0].geometry.getExtent().expand(1.5);&lt;BR /&gt; app.currentExtent = distExtent;&lt;BR /&gt; app.map.setExtent(distExtent);&lt;BR /&gt; }&lt;BR /&gt; else {&lt;BR /&gt; dom.byId('subHeader').innerHTML = "Missouri Public School Directory";&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// &amp;nbsp;THIS IS WHERE I'M ATTEMPTING TO OPEN THE PANEL&lt;BR /&gt; var node = dom.byId("panelSchool");&lt;BR /&gt; nl = query(".collapse", node);&lt;BR /&gt; nl[0].collapse('toggle') ({&lt;BR /&gt; toggle: false&lt;BR /&gt; });&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is public facing: &amp;nbsp;&lt;A class="link-titled" href="https://ogitest.oa.mo.gov/DESE/schoolSearch_2/index.html" title="https://ogitest.oa.mo.gov/DESE/schoolSearch_2/index.html"&gt;Missouri School Directory&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22467#M1949</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2017-03-08T16:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calcite map - opening one panel from another</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22468#M1950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Try:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;dom&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;byId&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"panelSchool"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;collapse&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;toggle&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22468#M1950</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-08T16:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calcite map - opening one panel from another</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22469#M1951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try that.&amp;nbsp;&amp;nbsp; It gives me TypeError:&amp;nbsp; dom.byId(..) collapse is not a function.&amp;nbsp; Because it's a dom object, I guess?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 17:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22469#M1951</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2017-03-08T17:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calcite map - opening one panel from another</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22470#M1952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This somewhat works:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; query&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"#panelSchool"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;collapse&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; query&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"#collapseSchool"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;collapse&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;However, I allow the either pick from a drop down list of districts, OR if they don't know their district, they can pick first from a list of counties and that looks up the districts available within it.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;Both call selectSchoolbyDistrict.&amp;nbsp; If I start from the district list, the collapsed panel containing the list of schools within it opens properly.&amp;nbsp; If instead I start from the county list,&amp;nbsp; then pick a district from the short list, the panel does not open.&amp;nbsp; I've tried using &lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="margin: 0px 0px 0px 33px; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 11.2px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: pre; box-sizing: border-box; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&lt;LI style="color: #bebec5; line-height: 18px; padding-left: 12px; box-sizing: border-box; text-shadow: 0px 1px 0px #ffffff;"&gt;&lt;SPAN style="color: #48484c; box-sizing: border-box;"&gt;query&lt;/SPAN&gt;&lt;SPAN style="color: #93a1a1; box-sizing: border-box;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #dd1144; box-sizing: border-box;"&gt;'#panelSchool'&lt;/SPAN&gt;&lt;SPAN style="color: #93a1a1; box-sizing: border-box;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="color: #48484c; box-sizing: border-box;"&gt;collapse&lt;/SPAN&gt;&lt;SPAN style="color: #93a1a1; box-sizing: border-box;"&gt;({&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #bebec5; line-height: 18px; padding-left: 12px; box-sizing: border-box; text-shadow: 0px 1px 0px #ffffff;"&gt;&lt;SPAN style="color: #48484c; box-sizing: border-box;"&gt;&amp;nbsp; show&lt;/SPAN&gt;&lt;SPAN style="color: #93a1a1; box-sizing: border-box;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #48484c; box-sizing: border-box;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1e347b; box-sizing: border-box;"&gt;true&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #bebec5; line-height: 18px; padding-left: 12px; box-sizing: border-box; text-shadow: 0px 1px 0px #ffffff;"&gt;&lt;SPAN style="color: #93a1a1; box-sizing: border-box;"&gt;})&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;which seems to be supported, but it doesn't do anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; selectSchoolsByDistrict&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000c0; font-size: small;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;distCode&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;){&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; schoolQueryTask &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; QueryTask&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;schoolLayer&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small;"&gt;//public schools&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #202020; font-size: small;"&gt;schoolQuery&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; Query&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #202020; font-size: small;"&gt;schoolQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;outSpatialReference &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;spatialReference&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #202020; font-size: small;"&gt;schoolQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;returnGeometry &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800040; font-size: small;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #202020; font-size: small;"&gt;schoolQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;outFields &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'*'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #202020; font-size: small;"&gt;schoolQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;schFieldPath&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;".CtyDist = '"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; distCode &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; schoolQueryTask&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;execute&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #202020; font-size: small;"&gt;schoolQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;results&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;results&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: small;"&gt; myGridHandler&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;updateSchoolGrid&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;results&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small;"&gt;//populate the school list&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: small;"&gt; zoomDistrict&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;distCode&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small;"&gt;//zoom to the school district&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; zoomDistrict&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;distCode&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small;"&gt;// common.switchDomClass('schoolGridDiv', 'show');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;domClass&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;contains&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'schoolGridDiv'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'div-visible'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; domClass&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;toggle&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'schoolGridDiv'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'div-visible'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small;"&gt;// var distCode = registry.byId("distSelect").value;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; distQueryTask &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; QueryTask&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;districtLayer&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small;"&gt;//school districts&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; distQuery &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; Query&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; distQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;returnGeometry &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800040; font-size: small;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; distQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;outFields &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'*'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; distQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;outSpatialReference &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;spatialReference&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; distQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"CtyDist = '"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; distCode &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; distQueryTask&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;on&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'error'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;err&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; console&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;log&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"Error in queryDistrict "&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; err&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;Error&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; distQueryTask&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;execute&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;distQuery&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;function&lt;/STRONG&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;results&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;results&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;features&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;length &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #004080; font-size: small;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; distName &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; results&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;features&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #004080; font-size: small;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;].&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;distFieldPath&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'.DIST_NAME'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; dom&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;byId&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'subHeader'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;innerHTML &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'Missouri Public School Directory - '&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; distName&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; dom&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;byId&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'listHeader'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;innerHTML &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"Schools in "&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; distName &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;":"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; distExtent &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; results&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;features&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #004080; font-size: small;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;].&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;getExtent&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;().&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;expand&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #004080; font-size: small;"&gt;1.5&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;currentExtent &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; distExtent&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; app&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;setExtent&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;distExtent&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000c0; font-size: small;"&gt;else&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; dom&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;byId&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;'subHeader'&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;innerHTML &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"Missouri Public School Directory"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; console&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;log &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"in zoomDistrict of mySelectHandler"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; query&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"#panelSchool"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;collapse&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; query&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #00a600; font-size: small;"&gt;"#collapseSchool"&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;collapse&lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #5c5c5c; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 21:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22470#M1952</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2017-03-08T21:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calcite map - opening one panel from another</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22471#M1953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The command that works for me is:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;query&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"#panelSchool"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;collapse&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"show"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 23:08:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22471#M1953</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-08T23:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calcite map - opening one panel from another</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22472#M1954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought I'd tried that variation, but apparently not.&amp;nbsp; That was it!&amp;nbsp; Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 14:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-map-opening-one-panel-from-another/m-p/22472#M1954</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2017-03-09T14:21:15Z</dc:date>
    </item>
  </channel>
</rss>

