<?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 Map displays wrong location inside dojo mobile view in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-displays-wrong-location-inside-dojo-mobile/m-p/623879#M4283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Map Display has problems inside a mobile view div.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I started with the sample code "add graphics to map: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/graphics_add.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/graphics_add.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine.&amp;nbsp; I put the map inside a mobile view div. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="mapView" dojoType="dojox.mobile.View" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map displays, but adding a point has a problem.&amp;nbsp; The point is displayed West of the clicked location.&amp;nbsp; This is consistent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I resize the browser, everything works fine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The original code was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="map" style="width:1024px; height:512px; border:2px solid #000;" class="claro"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the new code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="homeView" dojoType="dojox.mobile.View" selected="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="mapView" dojoType="dojox.mobile.View" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;div id="map" style="width:1024px; height:512px; border:2px solid #000;" class="claro"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Under mobile view, adding a point is always off, until the browser is resized.&amp;nbsp; It looks like the map has the wrong display size and resizing corrects the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also If It starts with the map view,&amp;nbsp; (selected=true for map view)&amp;nbsp; Everything starts out fine.&amp;nbsp; However, when the view is switched to the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;home view, then bak to the map, the problem occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I get arround this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 18:56:05 GMT</pubDate>
    <dc:creator>RichardDeVita</dc:creator>
    <dc:date>2013-04-05T18:56:05Z</dc:date>
    <item>
      <title>Map displays wrong location inside dojo mobile view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-displays-wrong-location-inside-dojo-mobile/m-p/623879#M4283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Map Display has problems inside a mobile view div.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I started with the sample code "add graphics to map: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/graphics_add.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/graphics_add.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine.&amp;nbsp; I put the map inside a mobile view div. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="mapView" dojoType="dojox.mobile.View" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map displays, but adding a point has a problem.&amp;nbsp; The point is displayed West of the clicked location.&amp;nbsp; This is consistent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I resize the browser, everything works fine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The original code was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="map" style="width:1024px; height:512px; border:2px solid #000;" class="claro"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the new code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="homeView" dojoType="dojox.mobile.View" selected="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="mapView" dojoType="dojox.mobile.View" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;div id="map" style="width:1024px; height:512px; border:2px solid #000;" class="claro"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Under mobile view, adding a point is always off, until the browser is resized.&amp;nbsp; It looks like the map has the wrong display size and resizing corrects the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also If It starts with the map view,&amp;nbsp; (selected=true for map view)&amp;nbsp; Everything starts out fine.&amp;nbsp; However, when the view is switched to the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;home view, then bak to the map, the problem occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I get arround this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 18:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-displays-wrong-location-inside-dojo-mobile/m-p/623879#M4283</guid>
      <dc:creator>RichardDeVita</dc:creator>
      <dc:date>2013-04-05T18:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Map displays wrong location inside dojo mobile view</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-displays-wrong-location-inside-dojo-mobile/m-p/623880#M4284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might have better luck posting this over on the Javascript forums:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript"&gt;http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 16:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/map-displays-wrong-location-inside-dojo-mobile/m-p/623880#M4284</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2013-04-10T16:13:58Z</dc:date>
    </item>
  </channel>
</rss>

