POST
|
Hello I wrote an application using the 10.2.9 API. However, I see that there is a 100.4.0 Runtime SDK for Android. Should we be using that instead now? Can I choose between one or the other? Thanks
... View more
12-23-2018
11:07 AM
|
0
|
1
|
653
|
POST
|
I used to use the ArcGISDynamicMapServiceLayer public class before when i used to use the 10.2.9 API. However, I want to start using 100.4.0. Does anyone know if the ArcGISDynamicMapServiceLayer public class exist in 100.4.0? This is how i used to display my map layers in my android application using 10.2.9 API: mMapView = (MapView) findViewById(R.id.map); int[] layerId = {49,42,41,9,12}; / /first floor layer /Adding the DynamicMapServiceLayer on the mapView //Initializing the first floor layer on startup ArcGISDynamicMapServiceLayer dynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(getResources().getString(R.string.MapServer),layerId); mMapView.addLayer(dynamicMapServiceLayer); Here is the ArcGISDynamicMapServiceLayer public class for reference: ArcGISDynamicMapServiceLayer | ArcGIS Android 10.2.9 API
... View more
12-21-2018
09:17 PM
|
0
|
0
|
618
|
POST
|
Hello, I am trying to create an application that finds room numbers on a campus and places a marker(a paw) on top of a searched address (like a room number). The first time a user runs the application and searches an address, the app is able to find the correct address and places the Floor Layer first and then the marker symbol, which is correct. Like this: However, when a user types in a search a second time, the marker label(the paw) is placed underneath the Floor Layer, and is not visible, which is incorrect. Like this: Does anyone have an idea why this happens? Thanks in advance!
... View more
08-03-2017
08:17 PM
|
0
|
2
|
556
|
POST
|
Sorry, I meant like this: public ArcGISFeatureLayer mFeatureLayer; mFeatureServiceUrl = ".../arcgis/rest/services/SecondPrototypetest/MapServer/2";
mFeatureLayer = new ArcGISFeatureLayer(mFeatureServiceUrl, ArcGISFeatureLayer.MODE.ONDEMAND);//leave
mMapView.addLayer(mFeatureLayer2);
GeodatabaseFeatureServiceTable layertable = new GeodatabaseFeatureServiceTable("http://roomquest.research.cse.csusb.edu:6080/arcgis/rest/services/SecondPrototype/MapServer/158", 158);
FeatureLayer layer = new FeatureLayer(layertable);
layer.setEnableLabels(true);
... View more
05-30-2017
07:06 PM
|
0
|
0
|
966
|
POST
|
Hi Alexander, Thank you for the information. I have tried your suggestion, like this:
public ArcGISFeatureLayer mFeatureServiceUrl = ".../arcgis/rest/services/SecondPrototypetest/MapServer/2"; mFeatureLayer = new ArcGISFeatureLayer(mFeatureServiceUrl, ArcGISFeatureLayer.MODE.ONDEMAND);//leave mMapView.addLayer(mFeatureLayer2); GeodatabaseFeatureServiceTable layertable = new GeodatabaseFeatureServiceTable("http://...:6080/arcgis/rest/services/SecondPrototype/MapServer/2", 158); FeatureLayer layer = new FeatureLayer(layertable); layer.setEnableLabels(true); However, it did not seem to work. I think i am doing it incorrectly. Is this what you were thinking? Thank you for your time.
... View more
05-30-2017
05:05 PM
|
0
|
1
|
966
|
POST
|
Thank you. And one final question. Do you know how i would be able to find the extents of my campus in ArcMap?
... View more
05-23-2017
08:31 PM
|
0
|
4
|
2532
|
POST
|
Hello, does anyone know to restrict map panning to an area? Im trying to something similar to this: https://www.mapbox.com/mapbox-gl-js/example/restrict-bounds/ But in my ArcGIS android application. I want to restrict my basemap, so that only my campus is displayed and not the whole world. Thank you in advance!
... View more
05-21-2017
06:46 PM
|
0
|
11
|
5417
|
POST
|
Hello, does anyone know to add GPS to this sample: https://developers.arcgis.com/android/latest/guide/develop-your-first-map-app.htm ?
... View more
05-21-2017
06:39 PM
|
0
|
2
|
934
|
POST
|
I am also using the ArcGISFeatureLayer class, but I am not sure if it makes a difference. I get an error. It cannot resolve the method.
... View more
04-12-2017
05:49 PM
|
0
|
4
|
966
|
POST
|
Oh okay, thank you. Do i add that right after I set a layer? This is how i am setting a layer in the android application: mFeatureServiceUrl = ".../arcgis/rest/services/SecondPrototypetest/MapServer/2";//getString(R.string.FirstFloors);set all floors in the basement level, one by one
mFeatureLayer = new ArcGISFeatureLayer(mFeatureServiceUrl, ArcGISFeatureLayer.MODE.ONDEMAND);//leave
mMapView.addLayer(mFeatureLayer);
... View more
04-12-2017
05:38 PM
|
0
|
0
|
966
|
POST
|
Hello, I created a map document on ArcMap, and I created polygons in it. I assigned numbers to the polygons, and i am able to see them as labels in ArcMap. However, when i download the layers on my iOS application, the labels of the polygons do not show. Does anyone know how to display labels from ArcMap on an iOS application? I am using swift. Thanks!
... View more
04-10-2017
03:17 PM
|
0
|
1
|
828
|
POST
|
Hello, I created a map document on ArcMap, and I created polygons in it. I assigned numbers to the polygons, and i am able to see them as labels in ArcMap. However, when i download the layers on my android application, the labels of the polygons do not show. Does anyone know how to display labels from ArcMap on Android ? Thanks!
... View more
04-10-2017
03:10 PM
|
0
|
7
|
1521
|
Title | Kudos | Posted |
---|---|---|
1 | 10-06-2016 04:16 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|