POST
|
That's good to know. Well, I assume each time you gonna using the search widget to query all the parking lot. Therefore, same story, you need to go check the widget/Search/widget.js file and add this line of code around line 690: that.map.setZoom(that.map.getZoom()-1); This is pretty much the same concept with the previous one. Try this way to see what happened, I think you can make it works. Best Regards, Nathan
... View more
04-06-2017
03:16 PM
|
0
|
2
|
1818
|
POST
|
This is just a workaround solution, and I am not sure why your application keeps throw out the error: So technically, you need to go this file: jimu.js/MapUrlParamsHandler.js you will see that when geometryType is not Point, then do else { ...} From line 388, the code logic here is trying to setup the feature's extent (as long as it is not a point feature) as map extent. What you can do here is adding some extra logic to change the map zoom level. For example, set map current Zoom level and dynamically minus one level out, so that the map looks like "zoom-out", for example: map.setZoom(map.getZoom() - 1); Like I said this may not exactly work in your app, however, this should be a breakpoint that you can try to add some code to change the map behavior. Hope this can help.
... View more
04-06-2017
02:18 PM
|
0
|
0
|
1818
|
POST
|
Have you tried to take a look about this github repo for a quick test? GitHub - Esri/quickstart-map-phonegap: ArcGIS JavaScript samples for use with PhoneGap/Cordova
... View more
04-05-2017
10:17 AM
|
0
|
0
|
337
|
POST
|
@Kamal Mittal For hosted feature services, you need to use ArcMap to convert all your csv file by right click and choose Display XY Data. Here is a screenshot to illustrate this. For more information, please check our ArcMap doc Adding x,y coordinate data as a layer—Help | ArcGIS for Desktop Then you can remove all your original .csv file and publish all the layer to your ArcGIS Online as hosted feature service. In this way, you will have one feature service that contains more than one layer. Here is a screenshot: However for hosted feature service you do not have all the options to manually change prepare the data to use sync capabilities. Based on our doc Prepare data for offline use—Documentation | ArcGIS Enterprise For the question about how REST create Replica works, I would recommend you first read our REST API doc first: Create Replica - ArcGIS REST API Then combine with our Runtime iOS SDK doc talks about Sync offline edits—ArcGIS Runtime SDK for iOS | ArcGIS for Developers
... View more
04-03-2017
10:20 AM
|
0
|
0
|
419
|
POST
|
You need to put your ArcGIS Online credentials to login, because this ExtractData consumes credits. You can switch the featureLayer reference to image service' url and Class in the JavaScript panel, and it should work. JS Bin - Collaborative JavaScript Debugging
... View more
03-31-2017
09:43 AM
|
1
|
1
|
2292
|
POST
|
My pleasure. As long as your feature layers are all come from the same feature service url, for example: Sync/WildfireSync (FeatureServer) In this feature service, there are three feature layers, and you can use REST to create Replica and the download offline geodatabase can be use in offline mode as long as you setup all three layers to be downloaded.
... View more
03-31-2017
09:24 AM
|
0
|
18
|
678
|
POST
|
Hi Kamal Mittal, Maybe you can try this: 1. Based on our REST API, the Create Replica expects you to have geometry for sure: ArcGIS REST API - Create Replica Envelope simple syntax: geometryType=esriGeometryEnvelope&geometry=<xmin>,<ymin>,<xmax>,<ymax> 2. Then we compare Runtime iOS SDK how to get Envelope. Then we will found this Class: ArcGIS Runtime SDK for iOS: AGSEnvelope Class Reference 3. Then we check generate Geodatabase Class, we saw this property: generateGeodatabaseExtent property 4. The rest we need to do is how to pass the AGSMapView's AGSEnvelope as a parameter to generateGeodatabaseExtent. 5. In AGSMapView Class Reference there is a visibleArea property. it is a AGSPolygon type, if you check this class, you will find there is a property called AGSEnvelope property in AGSPolygon 6. So technically you can use this line of code to assign the mapview extent as generate Geodatabase Extent: generateGeodatabaseExtent = self.mapview.visibleArea.extent http://resources.arcgis.com/en/help/arcgis-rest-api/#/Create_Replica/02r3000000rp000000/<strong></strong> Hope this can help. Nathan
... View more
03-30-2017
11:03 AM
|
0
|
22
|
678
|
POST
|
Hi Urs, Here is an sample to show you how to load WMTSLayer and ArcGISTiledMapServiceLayer together on mapview. JS Bin - Collaborative JavaScript Debugging In order to “bypass” proxy to execute a WMTSLayerGetCapbilities request, we need to Redefine the WMTSLayer’s Tileinfo based on your ArcGISTiledMapServiceLayer LOD, dpi an so on… Create a new WMTSLayer resourceInfo Hope this can help.
... View more
03-23-2017
02:02 PM
|
0
|
0
|
586
|
POST
|
Hi Das, You can load basemap offline mode by creating a tpk file. For more information please check this: ArcGIS Local Tiled layer—ArcGIS Runtime SDK for iOS | ArcGIS for Developers For the featureLayer in offline mode, you need to prepare the data for offline mode, basically enable the sync functions and then you can either choose view-only or editable offline data based on your requirement. For more information about featureLayer offline, please check: Create an offline map—ArcGIS Runtime SDK for iOS | ArcGIS for Developers Hope this can help. Nathan
... View more
03-20-2017
11:16 AM
|
1
|
0
|
472
|
POST
|
Hi Nikolay, I wonder did you use this method: mapView:didClickAtPoint:mapPoint:features: under 10.2.5: <AGSMapViewTouchDelegate> Protocol Reference Whenever you click on the map, then make sure add the new graphicLayer on top of the featureLayer(I assume the point that you load up in map is coming from featureLayer) 10.2.5: AGSGraphicsLayer Class Reference
... View more
03-20-2017
11:11 AM
|
0
|
1
|
455
|
POST
|
Hi Kamal Mittal Have you checked this documentation for Locator Task: Search for places (geocoding)—ArcGIS Runtime SDK for Android | ArcGIS for Developers
... View more
02-28-2017
02:37 PM
|
0
|
0
|
323
|
POST
|
Hi Worth Sparks, Have you checked about this sample that we provide on github, that using AGSRGBRenderer: arcgis-runtime-samples-ios/RGBRendererViewController.swift at master · Esri/arcgis-runtime-samples-ios · GitHub
... View more
02-28-2017
02:33 PM
|
0
|
1
|
786
|
POST
|
Hi Liu, Would you please go to our developer iOS main page to download the pkg file directly? Rather than the zip file, I am not sure where did you get the file to download. ArcGIS Runtime SDK for iOS | ArcGIS for Developers
... View more
02-28-2017
02:20 PM
|
0
|
0
|
290
|
POST
|
All you need to do is using layer.watch to check the visible status featureLayer.watch("visible", function(val){
if(val == true){
alert("Recreation Layer is visible");
} else {
alert("Recreation Layer is invisible")
}
}) Here I provide a sample code to show: https://jsfiddle.net/xeub4Lww/1/
... View more
02-09-2017
04:20 PM
|
2
|
1
|
1133
|
POST
|
Hi Joseph, Based on our current API for tpk file, I don't think there is any direct mechanism to secure. However, you can try to implement some generic iOS SDK method to protecting/encrypt the data on disk: Strategies for Implementing Specific App Features And also, there is a related thread about this tpk prorection top on geonet: https://community.esri.com/thread/54991#comment-270172
... View more
02-06-2017
01:42 PM
|
0
|
0
|
185
|
Title | Kudos | Posted |
---|---|---|
1 | 01-28-2016 04:55 PM | |
1 | 07-31-2015 09:19 AM | |
1 | 07-31-2015 08:53 AM | |
1 | 05-20-2015 04:54 PM | |
1 | 05-03-2016 03:05 PM |
Online Status |
Offline
|
Date Last Visited |
12-13-2023
01:09 AM
|