POST
|
I also find it working with searchFields defined. But, I am having issue with my mapservice using similar approach. Is there any settings in mapservice to configure attribute as searchable?
... View more
05-13-2019
11:48 PM
|
0
|
1
|
982
|
POST
|
Hi Brian, Thanks for response. But, my problem is bit different than yours. I am doubtful if we can search with reference to any attribute present in mapservice. May be something needs to be configured in mapservice itself to perform search with specific attribute params. Thanks for sharing.
... View more
05-13-2019
12:41 AM
|
0
|
0
|
982
|
POST
|
Thanks for pointing out problem in sample. But, I have both searchFields and suggestionTemplate configured in source, as in your suggestion. The search works from suggestions list, but not if I type text, and perform search. I compared search queries fired when selecting from suggestions list, and manual search, and found former one picks different attribute for search, while manual search uses just entered text. Is there anything to be configured in mapservice to use some attribute as default during search? Thanks for help.
... View more
05-13-2019
12:37 AM
|
0
|
3
|
982
|
POST
|
I have used suggestion template in esri search widget. If I select data from suggestion list, then the search works well. But, if I manually enter same value in search input, and do search using search icon, then it does not give me any result. You should be able to regenerate this problem in esri sample for search widget: https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=search_suggestiontemplate In this sample, if you search for '1930476016: 4519 Cherokee Ln', and select it from suggestion list, then search works. But, if you paste same value directly in search textbox, and do manual search using search button, then it does not show any result. Could you please suggest me if I misunderstood search widget feature, and show me how to fix it? I am using esri 3.28 js version in my project.
... View more
05-10-2019
05:34 AM
|
0
|
7
|
1221
|
POST
|
I am stuck in loading dynamic map service using android sdk. The dynamic map service url can be loaded from javascript, and with android sdk 100.3. These sdks have feature to set map service id (setId()), which is not present in 10.2. With 10.2, I am only getting this status: 'ErrorCode: -1002 The ArcGISDynamicMapServiceLayer cannot be initialized'. Can someone guide me on this error, and way to load dynamic map service in android 10.2 version? I need to load some raster images from arcgis workspace on this layer. Code: ArcGISTiledMapServiceLayer baseMap = new ArcGISTiledMapServiceLayer(baseMapUrl); mapView.addLayer(baseMap); mapView.setOnStatusChangedListener(new OnStatusChangedListener() { private static final long serialVersionUID = 1L; @Override public void onStatusChanged(Object source, STATUS status) { if (source == mapView && status == STATUS.INITIALIZED) { mapView.setExtent(envelope); dynamicLayer = new ArcGISDynamicMapServiceLayer(dynamicUrl); mapView.addLayer(dynamicLayer); dynamicLayer.setOnStatusChangedListener(new OnStatusChangedListener() { private static final long serialVersionUID = 2L; @Override public void onStatusChanged(Object arg0, STATUS arg1) { // At this point, we only get Dynamic layer initialization failed error EsriErrorCode error = status.getError(); Log.e("Status ERROR!!", error.getDescription()); // ErrorCode: -1002 The //ArcGISDynamicMapServiceLayer cannot be initialized. if (arg1 == STATUS.INITIALIZED) { try { //load raster files } catch (Exception ex) { ex.printStackTrace(); Log.e("JSON error", ex.getMessage()); } } } }); } } }); I need to use 10.2, as other features are implemented with this sdk version. Please help. Thanks.
... View more
08-30-2018
05:16 AM
|
1
|
0
|
385
|
POST
|
Hi Robert, Thanks for your reply. I have copied code sample from my project directly, so it looks bit strange. From your suggestions, it seems incorrect to use graphics layer to search nearest feature layer using FindNearest esri api. Could you suggest us right esri api to use in order to find nearest feature layer by using polygon graphics? Currently, we only get result from FindNearest api if the drawn polygon graphics contains feature layer, but if the polygon lies outside the layer, we get no result. Thanks.
... View more
05-16-2018
11:52 PM
|
0
|
1
|
372
|
POST
|
How to use the findNearest arcgis javascript api? Is there any sample how to use findnearest api?? I have used something like : $scope.findNearest = new www.FindNearest({ analysisLayer: analysisLayer, //this is the graphics layer type: polygon nearLayers: nearLayers, //this is a feature layer get from quering arcgis url like: https://something.com/MapServer/0?f=pjson map: $scope.map, portalUrl: "https://domain/arcgis/rest/services/Utilities/Geometry/GeometryServer" }, "analysis-tool"); It does not work.. I hope someone could suggest me on this.
... View more
05-16-2018
04:10 AM
|
0
|
3
|
653
|
POST
|
I have multiple raster data in png format on sd card. I want to display them over mapview, so that it can be used in offline too. Read most of documentation, but only seen loading of single raster layer. Is there anyway I could implement this feature?
... View more
10-23-2017
11:50 PM
|
0
|
1
|
533
|
POST
|
I am able to load raster data from device storage to esri map. Is there a way to load vector data(.shp or .svg files) in Esri map using android?
... View more
10-11-2017
05:08 AM
|
0
|
1
|
312
|
POST
|
I am trying to get data from feature layer, but it is not working with spatial. When tapped at feature layer, the point graphic is displayed at wrong place. I have map with spatial reference 28992. I did check esri samples, which seem to have same issue. Please help me how to run spatial query for windows store app. Thanks.
... View more
08-03-2016
12:16 AM
|
0
|
0
|
524
|
POST
|
how can we add secure feature service with store api? I am using UserCredentials class for android to add secure feature service, but cannot find one in .NET. Please help me if there is any specific api for this.
... View more
06-29-2016
05:11 AM
|
0
|
0
|
1459
|
Title | Kudos | Posted |
---|---|---|
1 | 08-30-2018 05:16 AM |
Online Status |
Offline
|
Date Last Visited |
06-13-2023
05:38 AM
|