<?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: Catching map scale changes in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/catching-map-scale-changes/m-p/467238#M4011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should listen to the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iOS/2.0/reference/interface_a_g_s_map_view.html" rel="nofollow noopener noreferrer" target="_blank"&gt;AGSMapView&lt;/A&gt;&lt;SPAN&gt;'s notifications for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here the doc from above link...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The map component also broadcasts four notifications - MapViewDidLoad, MapTimeExtentChanged, MapDidEndPanning and MapDidEndZooming. Observers interested in these notifications can register for them using the default NSNotificationCenter.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//add this code line in your viewDidLoad or mapViewDidLoad
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(respondToZoom:) name:@"MapDidEndZooming" object:nil];

//add this to your .m file
- (void)respondToZoom:(NSNotification*)notification { 
 NSLog(@"map scale: %.6f",self.mapView.mapScale);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:44:02 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2021-12-11T20:44:02Z</dc:date>
    <item>
      <title>Catching map scale changes</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/catching-map-scale-changes/m-p/467237#M4010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have looked at the delegates available on AGSMapView but not seeing anything pop out at me that would help. I see on touch the single tap but that is never called when you do the normal double tap to zoom let alone pinches. Am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 18:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/catching-map-scale-changes/m-p/467237#M4010</guid>
      <dc:creator>MelindaFrost</dc:creator>
      <dc:date>2011-10-06T18:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Catching map scale changes</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/catching-map-scale-changes/m-p/467238#M4011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should listen to the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iOS/2.0/reference/interface_a_g_s_map_view.html" rel="nofollow noopener noreferrer" target="_blank"&gt;AGSMapView&lt;/A&gt;&lt;SPAN&gt;'s notifications for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here the doc from above link...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The map component also broadcasts four notifications - MapViewDidLoad, MapTimeExtentChanged, MapDidEndPanning and MapDidEndZooming. Observers interested in these notifications can register for them using the default NSNotificationCenter.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//add this code line in your viewDidLoad or mapViewDidLoad
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(respondToZoom:) name:@"MapDidEndZooming" object:nil];

//add this to your .m file
- (void)respondToZoom:(NSNotification*)notification { 
 NSLog(@"map scale: %.6f",self.mapView.mapScale);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/catching-map-scale-changes/m-p/467238#M4011</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2021-12-11T20:44:02Z</dc:date>
    </item>
  </channel>
</rss>

