POST
|
Okay..let's look at two issues one by one. 1. Does adding feature layers on TOP of tiled layer resolves the scale dependent issue? 2. If yes, you should set the transparency on the feature layer view to resolve tiled layer label display issue. Here is the code... UIView<AGSLayerView> *flView = [self.mapView addMapLayer:self.featureLayer withName:@"Feature Layer"];
flView.alpha = 0.5; Regards, Nimesh 1. Yes, fixed...will mark previous post as the answer. 2. In theory, this layer doesn't need to be visible at all, so I can set it's alpha to something really small. I'll give it a shot. Thank you for all of your help. I would have never thought that the base layer would affect the scale-dependency in that way.
... View more
04-10-2012
11:41 AM
|
0
|
0
|
618
|
POST
|
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. Regards, Nimesh I have a tiled map layer followed by several feature layers. I did have to put a few polygon feature layers under the tiled layer because they were covering labels on the tiled map layer. Is that the problem? 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.). Labels don't show in feature layers, correct? The reason these have to be individual feature layers is so that I can do queries, etc. Again, I appreciate the help.
... View more
04-10-2012
11:13 AM
|
0
|
0
|
618
|
POST
|
I am having an issue where feature layers are rendering at all scales. 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. 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. I did notice that if I check the value of the "mapScale" property on my AGSMapView it is always set to NaN. I've tried explicitly scaling the map to see if I can get that mapScale property to change, but it always remains NaN. 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? I appreciate any help. Thanks!
... View more
04-10-2012
10:37 AM
|
0
|
7
|
3641
|
POST
|
Ok, so I think I figured out the issue I was having. When creating the custom view for the callout in Xcode, I had fit everything into the width I wanted the callout to be (about 200px wide to be exact). This worked fine for buttons, text and everything else; but for the table view, it was being scaled down to nothing. Once I stretched the table view to take up the entire view, everything looked correct inside the callout. Whatever the default scaling settings of the table view were, they were messing up its final size. All looks good now :cool:
... View more
03-13-2012
02:33 PM
|
0
|
0
|
438
|
POST
|
I've created a custom callout view that shows when the map is clicked. I've populated an array of graphics (features) that were under that click, and would like to show them in a small, manicured TableView within the callout. I'm having trouble getting the table view to even show. I've tested my table view outside of the callout, so I know it works. Once it's thrown into the callout, it will not show. I've found that I can show other components within the callout: picker, date picker, a list of buttons, etc. But, for some reason the table view won't show. It also looks like the map view takes input precedent over any items within the callout (except buttons). So, it would appear that scrolling a picker or table view within the callout would be out of the question (the map would scroll instead). Ideally, I'd like the user to click the map, see a list of objects under their finger, click the object they actually wanted to select, highlight that graphic on the map, then allow them to click an accessory button to proceed with the workflow. Any ideas? Sorry for my long-winded post 😞
... View more
03-13-2012
10:17 AM
|
0
|
3
|
1032
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|