<?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 Scale Dependent Rendering for Feature Layers not Working in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492786#M4218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue where feature layers are rendering at all scales.&amp;nbsp; The layers have been setup with a minimum scale of 1200, and I can see the value of 1200 when I examine the "minScale" property of the feature layers within the app.&amp;nbsp; I know it is setup correctly server-side because if you load the feature layers into an ArcGIS.com map, scale-dependent rendering works just fine.&amp;nbsp; I did notice that if I check the value of the "mapScale" property on my AGSMapView it is always set to NaN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried explicitly scaling the map to see if I can get that mapScale property to change, but it always remains NaN.&amp;nbsp; I've been searching for days now trying to figure this out, has anyone ever come across this issue or have any ideas that I could try?&amp;nbsp; I appreciate any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 17:37:05 GMT</pubDate>
    <dc:creator>DonSusini</dc:creator>
    <dc:date>2012-04-10T17:37:05Z</dc:date>
    <item>
      <title>Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492786#M4218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue where feature layers are rendering at all scales.&amp;nbsp; The layers have been setup with a minimum scale of 1200, and I can see the value of 1200 when I examine the "minScale" property of the feature layers within the app.&amp;nbsp; I know it is setup correctly server-side because if you load the feature layers into an ArcGIS.com map, scale-dependent rendering works just fine.&amp;nbsp; I did notice that if I check the value of the "mapScale" property on my AGSMapView it is always set to NaN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried explicitly scaling the map to see if I can get that mapScale property to change, but it always remains NaN.&amp;nbsp; I've been searching for days now trying to figure this out, has anyone ever come across this issue or have any ideas that I could try?&amp;nbsp; I appreciate any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 17:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492786#M4218</guid>
      <dc:creator>DonSusini</dc:creator>
      <dc:date>2012-04-10T17:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492787#M4219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is your feature layer a base layer (first layer in the map view)? If yes, you should just add one tiled or dynamic layer as base layer and make feature layer as operational layer.&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>Tue, 10 Apr 2012 18:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492787#M4219</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-04-10T18:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492788#M4220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is your feature layer a base layer (first layer in the map view)? If yes, you should just add one tiled or dynamic layer as base layer and make feature layer as operational layer.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nimesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a tiled map layer followed by several feature layers.&amp;nbsp; I did have to put a few polygon feature layers under the tiled layer because they were covering labels on the tiled map layer.&amp;nbsp; Is that the problem?&amp;nbsp; If so, how do I handle the polygon feature layers covering the labels on the tiled layer (they consist of street, building, sidewalk polygons etc.).&amp;nbsp; Labels don't show in feature layers, correct?&amp;nbsp; The reason these have to be individual feature layers is so that I can do queries, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, I appreciate the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 18:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492788#M4220</guid>
      <dc:creator>DonSusini</dc:creator>
      <dc:date>2012-04-10T18:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492789#M4221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay..let's look at two issues one by one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Does adding feature layers on TOP of tiled layer resolves the scale dependent issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If yes, you should set the transparency on the feature layer view to resolve tiled layer label display issue. Here is the code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;UIView&amp;lt;AGSLayerView&amp;gt; *flView = [self.mapView addMapLayer:self.featureLayer withName:@"Feature Layer"];
flView.alpha = 0.5;&lt;/PRE&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 21:41:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492789#M4221</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2021-12-11T21:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492790#M4222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Okay..let's look at two issues one by one.&lt;BR /&gt;&lt;BR /&gt;1. Does adding feature layers on TOP of tiled layer resolves the scale dependent issue?&lt;BR /&gt;2. If yes, you should set the transparency on the feature layer view to resolve tiled layer label display issue. Here is the code...&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;UIView&amp;lt;AGSLayerView&amp;gt; *flView = [self.mapView addMapLayer:self.featureLayer withName:@"Feature Layer"];
flView.alpha = 0.5;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nimesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Yes, fixed...will mark previous post as the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. In theory, this layer doesn't need to be visible at all, so I can set it's alpha to something really small.&amp;nbsp; I'll give it a shot.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for all of your help.&amp;nbsp; I would have never thought that the base layer would affect the scale-dependency in that way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492790#M4222</guid>
      <dc:creator>DonSusini</dc:creator>
      <dc:date>2021-12-11T21:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492791#M4223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great! If layer need not be visible at all times then you can set "flView.hidden = TRUE;"&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>Tue, 10 Apr 2012 19:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492791#M4223</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-04-10T19:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492792#M4224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Along the lines of this thread, if I have a featureLayer that has a predefined max-scale from the service and I want to override that, I could set&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.featureLayer.maxScale = 144447.638572;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;correct? If so, doesn't seem to work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 22:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492792#M4224</guid>
      <dc:creator>LukePhilips</dc:creator>
      <dc:date>2012-05-10T22:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Dependent Rendering for Feature Layers not Working</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492793#M4225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, correct! It should work but ONLY if you are setting the value after feature layer is finished loading. Otherwise, server returned value will override your setting.&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>Thu, 10 May 2012 23:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/scale-dependent-rendering-for-feature-layers-not/m-p/492793#M4225</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-05-10T23:31:15Z</dc:date>
    </item>
  </channel>
</rss>

