POST
|
Hello every body I've try to apply the "CreateRuntimeGeodatabaseActivity" in android Esri-sdk sample and it works correctly but when I'm trying to change the service to "http://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/AssessmentAppeals/FeatureServer " I got an time out why ?????
... View more
04-07-2015
12:33 AM
|
0
|
1
|
3451
|
POST
|
Hello every body I've use Renderer to change symbol of the select point in the map using this code featureLayerList.get(i).setRenderer(new SimpleRenderer(new PictureMarkerSymbol(getResources().getDrawable(R.drawable.ic_launcher)))); but it change all point I'm wont to change the only selected point How do I achieve that ???
... View more
03-09-2015
04:44 AM
|
0
|
0
|
3551
|
POST
|
no problem Tero Rönkkö your guide is awesome and I like it Please check your inbox
... View more
02-26-2015
02:59 AM
|
0
|
0
|
165
|
POST
|
but you didn't use "g" object so why I should create it ??? and how do I change if I have FeatureLayer ???
... View more
02-26-2015
02:49 AM
|
0
|
2
|
859
|
POST
|
Tero Rönkkö what should I do if I have FeatureLayer not GraphicLayer ???? and what is the purpose of this statement Graphic g = mGlObservation.getGraphic(i);
... View more
02-25-2015
10:34 PM
|
0
|
4
|
859
|
POST
|
Thanks Tero Rönkkö but this will update the point to be a circle how do I change it by special symbol ???
... View more
02-25-2015
03:53 AM
|
0
|
6
|
859
|
POST
|
no it is an FeatureLayer Get the id of the symbol you want to change and: the id is that point id or id for symbol ??? if it is for symbol not point how do I get the symbols and ID's Graphic g = mGlObservation.getGraphic(i); mGlObservation.updateGraphic(i, newMarker); what is the mGlObservation ??
... View more
02-25-2015
03:16 AM
|
0
|
8
|
859
|
POST
|
Hello How do I change the symbology I've an points that represent building these symbol may green or red after finished building scan so how do I achieve that ??? Thanks in advance ... Tero Rönkkö
... View more
02-25-2015
02:59 AM
|
0
|
10
|
7203
|
POST
|
is that mean I should download my layers from service ???? is that mean I can't Edit layers in my .geodatabase file that stored in my sdcard ???? can you put the link of documentation you read for this issue thanks in advance
... View more
02-18-2015
12:15 AM
|
0
|
1
|
819
|
POST
|
first I'm appreciate your response let me try to do more explanation for what I wont ------------------------------------------------------------------- I have an online layer like my comment above I add it to MapView so can I read layers from offline .geodatabase file stored on SDcard and add it above the online layer so I can see my offline layer and out of its bound there will be an online layer
... View more
02-18-2015
12:11 AM
|
0
|
1
|
511
|
POST
|
is this will display layers from .geodatabase above this layer ArcGISTiledMapServiceLayer tileLayer = new ArcGISTiledMapServiceLayer( "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"); mMapView.addLayer(tileLayer);
... View more
02-18-2015
12:01 AM
|
0
|
3
|
511
|
POST
|
Hello every one I've create FeatureLayer from GeodatabaseFeatureTable like this FeatureLayer featureLayer = new FeatureLayer(geodatabaseFeatureTables.get(index++));
featureLayer.setEnableLabels(true);
mMapView.addLayer(featureLayer); but when I'm trying to delete some Feature in the table I got an Exception till me that the table not editable and edit option not enabled featureLayer.getFeatureTable().deleteFeature(featureLayer.getID()); so how to enable editing Note: the code in android - Esri-android-SDK - Thanks in advance
... View more
02-17-2015
11:42 PM
|
0
|
6
|
6420
|
POST
|
Hello everybody I've an .geodatabase file and read all layers like this try { Geodatabase geodatabase = new Geodatabase(Environment .getExternalStorageDirectory().getPath() + "/ArcGIS/samples/OfflineRouting/Routing/gis.geodatabase"); List<GeodatabaseFeatureTable> geodatabaseFeatureTablesList = geodatabase .getGeodatabaseTables(); geodatabaseFeatureTables = new ArrayList<GeodatabaseFeatureTable>(); for (int i = geodatabaseFeatureTablesList.size() - 1; i >= 0; i--) { geodatabaseFeatureTables.add(geodatabaseFeatureTablesList .get(i)); } for (int i = geodatabaseFeatureTablesList.size() - 1; i >= 0; i--) { addLayer(); } } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } I've tried to select an feature in the layer like this mMapView.setOnSingleTapListener(new OnSingleTapListener() { private static final long serialVersionUID = 1L; public void onSingleTap(float x, float y) { // gets the first 1000 features at the clicked point on the map, // within 5 pixels for (int i = 0; i < geodatabaseFeatureTables.size(); i++) { try { FeatureLayer featureLayer = new FeatureLayer( geodatabaseFeatureTables.get(i)); long[] selectedFeatures = featureLayer.getFeatureIDs(x, y, 5, 1000); if (selectedFeatures != null) { // select the features featureLayer .selectFeatures(selectedFeatures, false); } } catch (Exception exception) { System.out.println(exception.getMessage()); } // long[] selectedFeatures = featureLayer.getFeatureIDs(x, // y, 5, 1000); // // select the features // featureLayer.selectFeatures(selectedFeatures, false); } } }); it throw IllegaleStateException in line 12 above can any one help me where is the wrong
... View more
02-15-2015
01:30 AM
|
0
|
0
|
3743
|
POST
|
Hello every body how do i display online layer below of offline layer Online Layer ArcGISTiledMapServiceLayer tileLayer = new ArcGISTiledMapServiceLayer(
"http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer");
mMapView.addLayer(tileLayer); Offline Layer from .geodatabase Geodatabase geodatabase = new Geodatabase(Environment
.getExternalStorageDirectory().getPath()
+ "/ArcGIS/samples/OfflineRouting/Routing/5512.geodatabase")
;geodatabaseFeatureTablesList = geodatabase.getGeodatabaseTables();
for (int i = geodatabaseFeatureTablesList.size() - 1; i >= 0; i--) {
addLayer();
} Edit : Please note that I'm using Esri-android-Sdk
... View more
02-01-2015
11:01 PM
|
0
|
5
|
4605
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|