POST
|
Hi ANohe-esristaff, Yes, I'm using 10.2.9. 10.2.9 has ArcGISImageServiceLayer, which also has setImageFormat, but ArcGISDynamicMapServiceLayer doesn't, even though the iOS SDK does. Josh
... View more
06-13-2017
12:35 PM
|
1
|
0
|
481
|
POST
|
Is there a way to set the image format for an ArcGISDynamicMapServiceLayer? In iOS I'm able to call dynamicLayer?.imageFormat = .PNG32 Is there an equivalent call in Android? I define transparency on the layer service, but it's not being honored because the SDK isn't retrieving png32s. I can call `setOpacity`, but that also fades out labels, and I lose the ability to dynamically control the transparency. Thanks!
... View more
06-13-2017
10:10 AM
|
0
|
2
|
733
|
POST
|
I have a layer with a URL in the form of "https://<my>.<url>/{level}/{col}/{row}.jpg" I have seen a few other questions asking about consuming custom web tile layers, but none of them seem to be resolved. The iOS SDK has AGSWebTiledLayer to handle these layers. Is there any comparable way to handle them in the Android SDK? I've tried extending TiledServiceLayer, but getTile is never called. I'm using ArcGIS 10.2.9.
... View more
04-25-2017
07:53 AM
|
0
|
1
|
603
|
POST
|
Hi Alexander Nohe. Sorry, I should have been a bit more specific. Yes, if I use the service url with a null array, it will load all of the layers. However, take this layer for example: "original/SWPA (MapServer) " It has a lot of layers. So if I just pass the url and a null array, it will load all of them. But if I only want Roads (ID=2) and all of its sublayers (3, 4, 5), I have to pass an array of (2, 3, 4, 5), whereas on iOS I only have to send 2. So if I don't know that the IDs of Roads' sublayers are 3, 4, 5, then I need to initialize Roads and go through the array to get the sublayer IDs. Additionally, if I only want the Interstate Highways sublayer of roads, I have to pass (2, 3). On iOS I only have to pass 3. I'm just trying to see if there are any other options so that we can set our data up better. Thanks, Josh
... View more
03-30-2017
07:39 AM
|
0
|
6
|
1062
|
POST
|
I have a few interesting cases when trying to load dynamic layers with sublayers. 1) If I create a layer doing something like this: UserCredentials credentials = new UserCredentials();
credentials.setUserAccount(uname, pword);
ArcGISDynamicMapServiceLayer serviceLayer = new ArcGISDynamicMapServiceLayer(url, int[]{parentId}, credentials); For a layer with 5 sublayers, all default visible, nothing shows. So I wind up having to initialize the layer, listen for the status change, loop through the layer infos to retrieve the sublayer ids, then add a new layer to the MapView using an array containing the parent and all child IDs. On iOS using just the parent ID is sufficient. 2) If I only want 1 visible sublayer, on iOS I can pass just the ID of the sublayer. But on Android, I have to pass the parent and sublayer IDs. Am I going about this all wrong?
... View more
03-24-2017
02:28 PM
|
0
|
8
|
2081
|
POST
|
Hi Alexander, I don't have a way of providing a quick sample, but I could provide screenshots if that would help clarify the issue. Josh
... View more
06-13-2016
12:43 PM
|
0
|
1
|
401
|
POST
|
I've noticed a problem with newer devices running Android 6.0. Basically, layers are causing each other to disappear. For example: Layer A and Layer B are both visible and working fine when both are set at 0% transparency. But setting Layer A's transparency to as little as 1% causes it to completely disappear unless Layer B is disabled. I've also seen scenarios where increasing Layer A's transparency causes Layer B to completely disappear. But this isn't happening on older devices upgraded to Android 6.0. I've seen the problem on the Nexus 5X, Galaxy S7, and HTC 10. But it isn't happening on an upgraded Galaxy S6 or S5. I'm wondering if it is an OpenGL problem, and when doing a device comparison (OpenGL ES Hardware Database - © 2013-2014 by Sascha Willems ) I see that the 5X and S7 use compression formats that aren't used on the S5 or S6. Has anyone else seen this? Or do you have any suggestions? I am using SDK 10.2.7.
... View more
06-13-2016
07:23 AM
|
0
|
3
|
1994
|
POST
|
I'm trying to show a pixelated image when zooming past the lowest level of an ArcGISTiledMapServiceLayer basemap, instead of just a gray background. Once the zoom is finished, it automatically snaps back to the lowest available level and the map returns, but I can't get rid of the gray background while zooming in. Is there a way to achieve this effect?
... View more
12-08-2015
09:40 AM
|
0
|
1
|
2990
|
POST
|
Using ArcGIS for Android, the location marker on Motorola devices such as the Droid Turbo and Moto X is huge. It only appears to be on Motorola devices on esri apps. Has anyone else encountered this? If so, what did you do to fix it?
... View more
09-24-2015
09:57 AM
|
0
|
0
|
2052
|
Title | Kudos | Posted |
---|---|---|
1 | 06-13-2017 12:35 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|