|
POST
|
Hi David, Make sure the css order is like this body {...}, #viewDiv { padding: 0; margin: 0; height: 100%; } #homediv { position: absolute; top: 120px; left: 10px; z-index: 50; }
... View more
11-25-2015
10:41 AM
|
2
|
1
|
2132
|
|
POST
|
Hi David, the issue is you didn't declare the body css well enough, missing a comma after body {} you missing #viewDiv, and #homediv I based on your code and tweak this two thing and it works normal now. Hope this can help. body{ padding: 0; margin: 0; }, #viewDiv { padding: 0; margin: 0; height: 100%; } #homediv { position: absolute; top: 120px; left: 10px; z-index: 50; }
... View more
11-25-2015
10:06 AM
|
2
|
7
|
2132
|
|
POST
|
Hi David, Not really sure if this issue has been resolved or not. However, here is the steps to make the proxy setting works for "Direction Widget" 1. Under your application folder, open the config.json file, add those rules under line "useProxy": true, "alwaysUseProxy": false, "alwaysUseProxy": false, "rules": [ { "urlPrefix": "https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", "proxyUrl": "yourproxyurl/proxy.ashx" }, { "urlPrefix": "https://logistics.arcgis.com/arcgis/rest/services/World/Utilities/GPServer/GetTravelModes/", "proxyUrl": "yourproxyurl/proxy.ashx" }] 2. Make sure all three url that also define the proxy rule in your proxy file. Hope this can help.
... View more
11-23-2015
09:35 AM
|
1
|
2
|
2654
|
|
POST
|
Hi Jake, I think you are in the right track. You can take a look about this two samples and download from github to your local to test with. One is WebmapSample and the other sample is Use ArcGIS basemaps—ArcGIS Runtime SDK for iOS | ArcGIS for Developers Hope this can help. Best Regards,
... View more
11-04-2015
12:16 PM
|
0
|
1
|
1109
|
|
POST
|
Hi Ibrahim, This is a pretty good question. Based on my knowledge, in order to accomplish this task, you need to use AttachmentEditor & InfoWindow Class. You can take a deep look about that AttachmentEditor link and try to connect attachments by click features on map, and then you can try to merge this function within the info window. You can based on this infoWindow sample to extend the attachmentEditor function to access the attachment to infoWindow popup. Essentially, the logic is: 1. Get connect to attachment to feature services by using AttachmentEditor 2. Use infoWindow class to wire up the attachments Hope this can help. Best Regards, Nathan
... View more
11-03-2015
09:29 AM
|
1
|
0
|
1396
|
|
POST
|
Hi Chip, Based on my understanding, the Web App Builder "My location" widget is using the "esri/djit/locateButton". You can confirm this by checking your application folder under "arcgis-web-appbuilder-1.2/server/apps/yourAppNumber/widgets/Mylocation/Widget.js" file. You will see in line20 the class esri/djit/locateButton is called. Essentially, this "My location" widget is using HTML5 Geolocation API, here is the documentation talked about this method "geolocationOptions" LocateButton | API Reference | ArcGIS API for JavaScript You may wonder why bring all of the things together, The reason is because we want to know the original issue of why "location" result is not accurate. Therefore, technically speaking, if the location is not accurate, the issue is related to HTML5 Geolocation API. Then you may wonder how does the Geolocation API work? Depending on which browser you are using, the HTML5 Geolocation API approximates location based on a number of factors including your public IP address, cell tower IDs, GPS information, a list of Wifi access points, signal strengths and MAC IDs (Wifi and/or Bluetooth). It then passes that information to a Location Service usually via an HTTPS request which attempts to correlate your location from a variety of databases that include Wifi access point locations both public and private, as well as Cell Tower and IP address locations. An approximate location is then returned to your code via a JavaScript callback. For more information about how accurate is HTML5 Geolocation API. Please check this blog: HTML5 Geolocation API – how accurate is it, really? « The Page Not Found Blog You can test HTML5 Geolocation in different browsers using a test application that the blog author built. I recommend trying it on different browsers and comparing the results yourself: http://andygup.net/samples/html5geo/ Hope this information can help you.
... View more
10-22-2015
04:14 PM
|
2
|
5
|
2603
|
|
POST
|
Hi Shawn, In order to allow the Bing Map can be displayed on stand alone host Web Application Builder(WAB), There actually two ways to make it happened. The option depends on where's the audience of your application. For application only shared with your arcgis organization: Share the webmap in your organization/group, once the user sign in from the WAB application, the Bing Map will automatically display. The credential challenge is inevitable because that the way to get the Bing Map Key For application shared with public: You have to have check "Allow anonymous access to your organization's website. (ess.maps.arcgis.com)" in security setting in ArcGIS Online Then in the "Map" setting check "Allow this Bing key to be used in maps shared publicly by organization members". Then for your localhost application you will able to see Bing Maps. - The reason you can view Bing Map in ArcGIS Online or Web App Builder (WAB) is because you have already log in with your organization credential. For localhost WAB application, since you shared the webmap as public, you need to allow anonymous access to view the Bing Map in your organization, otherwise you will not able to see the Bing Map based on the arcgis online documentation: Configure security settings—ArcGIS Online Help | ArcGIS PS: There is another way to manually change the code behind the WAB to hard code the Bing Map Keys in file BaseMapGallery\Widget.js. However since Bing Map Keys are charging credits for usage, we don't recommend this workflow.
... View more
10-20-2015
10:40 AM
|
1
|
3
|
2875
|
|
POST
|
Hi Aditya, You can try to take a reference about this user created sample that shared in arcgis.com: https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109 Technically if you need to change the layer opacity you need to take look this API documentation: setOpacity(opacity) ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript Hope this can help, also we recommend you use AMD style for JS
... View more
10-15-2015
10:25 AM
|
2
|
0
|
2105
|
|
POST
|
Hi Mei Wei, I think the way you using the new Swift2 do...try...catch syntax is not correct and also I am not really sure the way that you load the bundle may has some issue. I do based on an offlineRouting sample and add the method queryResultsWithParameters. It works fine and return 310 results. I would suggest to instantiate the AGSGDBGeodatabase & AGSGDBFeatureTable after the viewController
var localGDB: AGSGDBGeodatabase!
var localFeatureTable: AGSGDBFeatureTable! Then use this format to handle the error based on The Swift Programming Language (Swift 2.1): Error Handling do { try expression statements } catch pattern 1 { statements } catch pattern 2 where condition { statements } And I tested with this code and it works. Hope this can help.
if let gdbPath = NSBundle.mainBundle().pathForResource("RuntimeSanFrancisco", ofType: "geodatabase"){
do{
try self.localGDB = AGSGDBGeodatabase(path: gdbPath)
localFeatureTable = localGDB.featureTables()[0] as! AGSGDBFeatureTable
print ("how many features \(localFeatureTable.featureCount())")
print("service layer \(localFeatureTable.serviceLayerName)")
localFeatureTable = localGDB.featureTables()[0] as! AGSGDBFeatureTable
print ("how many features \(localFeatureTable.featureCount())")
print("service layer \(localFeatureTable.serviceLayerName)")
print("field size \(localFeatureTable.fields().count)")
for field in localFeatureTable.fields() {
print("field is \(field.name)")
}
let query: AGSQuery = AGSQuery()
//query.geometry = self.mapView.maxEnvelope
query.whereClause = "NAME Like 'Market%'"
localFeatureTable.queryResultsWithParameters(query , completion: { (result, error ) -> Void in
print("error is \(error); result count is \(result.count)")
let newResult = result as! [AGSGDBFeature]
for feat in newResult {
print("\(feat)")
// feat.allAttributes()
}
})
} catch let error1 as NSError {
error = error1
print("what is error \(error)")
self.routeTask = nil
}
}
... View more
10-06-2015
05:23 PM
|
1
|
1
|
1298
|
|
POST
|
Hi Aziza, Please check this sample that shows how to make the infoWindow draggable. This is can be done with the dojo/dnd/Moveable module. dojo/dnd/Moveable simply takes a DOM Node reference. To make the InfoWindow of the map draggable, pass map.infoWindow.domNode to the Moveable constructor.
... View more
09-22-2015
11:41 AM
|
4
|
6
|
3232
|
|
POST
|
Hello Ong, I can reproduce this issue as well. Both Swift & Objective-C of offline routing sample will freeze when running on physical devices. It seems like a runtime issue. Have you tried to contact with Esri technical support? We would recommend you to create the case with us and we can take a more detail search about this issue. Best Regards, Nathan
... View more
09-21-2015
04:12 PM
|
0
|
1
|
2439
|
|
POST
|
Hi Randall, Please check this documentation and the parameter 'maxLocations' will control the return address suggestion. suggest—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers Hope this can help
... View more
09-14-2015
01:58 PM
|
1
|
1
|
1060
|
|
POST
|
Hi Leo, You can use any modern browser developer debugging tool to find the specific .css setting for this layerlist theme in the application. Open the file under your project name: something may like this path: /wwwroot/arcgis-web-appbuilder-1.2/apps/5/theme/LaunchpadTheme/stylee/default/css/jimu-theme.css Under /* css for jimu-panel- */
.jimu-on-screen-widget-panel,
.jimu-panel { you need to change by adding this lines: margin-top: 270px; Also, please take a look about this documentation to get familiar about the architecture of the Web App Builder Development overview—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers Hope this helps
... View more
09-03-2015
10:11 AM
|
2
|
0
|
733
|
|
POST
|
Hi Ceyhun, I think the issue is related to mac OSX language, once change the Operation System language to English the issue will resolve. UPDATE: Here is the bug info just in case you need to track. [BUG-000090287 ArcGIS Runtime SDK for QT 10.2.6 unable to install when using Turkish as default language on Mac OSX]
... View more
08-26-2015
10:34 AM
|
1
|
1
|
3912
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-20-2015 10:15 AM | |
| 1 | 07-31-2015 08:53 AM | |
| 1 | 01-28-2016 04:55 PM | |
| 1 | 02-22-2016 02:07 PM | |
| 1 | 05-20-2015 04:54 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-27-2025
09:24 AM
|