<?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 Why map extent won't update when editing sample AttributeEditor? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/why-map-extent-won-t-update-when-editing-sample/m-p/386460#M2641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I have been at this over and over and getting no where!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been able to change the feature layer in the AttributeEditor to my own and changed the dynamic layer into tiled service layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They come up and I can see them, but I have to pan over from Kansas to California to see it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The original sample layer was set for Kansas, US while my new layer is in California&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've changed the extent in the AttributeEditorActivity.java as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; mapView = new MapView(this);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; initextent = new Envelope(-10868502.895856911, 4470034.144641369,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; -10837928.084542884, 4492965.25312689);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; mapView.setExtent(initextent, 0); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and, in the main.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; initExtent="-10868502.895856911 4470034.144641369 -10837928.084542884 4492965.25312689"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there somewhere else that I need to change this as well to load a California view opposed to the Kansas view that keeps coming up?? or does it keep pulling the original info from the web sample maybe??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help or ideas!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 23:20:33 GMT</pubDate>
    <dc:creator>GinaKiani</dc:creator>
    <dc:date>2014-04-18T23:20:33Z</dc:date>
    <item>
      <title>Why map extent won't update when editing sample AttributeEditor?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/why-map-extent-won-t-update-when-editing-sample/m-p/386460#M2641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I have been at this over and over and getting no where!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been able to change the feature layer in the AttributeEditor to my own and changed the dynamic layer into tiled service layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They come up and I can see them, but I have to pan over from Kansas to California to see it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The original sample layer was set for Kansas, US while my new layer is in California&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've changed the extent in the AttributeEditorActivity.java as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; mapView = new MapView(this);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; initextent = new Envelope(-10868502.895856911, 4470034.144641369,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; -10837928.084542884, 4492965.25312689);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; mapView.setExtent(initextent, 0); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and, in the main.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; initExtent="-10868502.895856911 4470034.144641369 -10837928.084542884 4492965.25312689"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there somewhere else that I need to change this as well to load a California view opposed to the Kansas view that keeps coming up?? or does it keep pulling the original info from the web sample maybe??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help or ideas!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 23:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/why-map-extent-won-t-update-when-editing-sample/m-p/386460#M2641</guid>
      <dc:creator>GinaKiani</dc:creator>
      <dc:date>2014-04-18T23:20:33Z</dc:date>
    </item>
  </channel>
</rss>

