POST
|
you can check types of layers like so using swift's as operator, etc: let map = AGSMap()
for case layer as AGSLayer in map.operationalLayers{
switch layer{
case let fl as AGSFeatureLayer:
print("is feature layer")
case let mil as AGSArcGISMapImageLayer:
print("is AGSArcGISMapImageLayer")
// etc...
}
}
... View more
04-09-2019
08:07 AM
|
0
|
0
|
539
|
POST
|
I just tried with 100.4 and it's still an issue. I will enter a bug in our system. Thanks for reporting it
... View more
03-27-2019
02:41 PM
|
1
|
1
|
1313
|
POST
|
Can you try 100.4? I think that was potentially fixed.
... View more
03-27-2019
02:26 PM
|
0
|
1
|
1313
|
POST
|
Can you provide a simple reproducible case? We do not see this in our testing. You will get location changed notifications when the location changes. And location changes happen once a second. The device is constantly getting location updates, even if you are standing still, the location can change by fractions of a degree). How are you listening for updates? With KVO? If it's with KVO - what are you key values are you observing exactly?
... View more
03-25-2019
10:57 AM
|
0
|
0
|
466
|
POST
|
More info was given in person: - a couple hundred unique values - qt sdk
... View more
03-08-2019
10:39 AM
|
0
|
0
|
829
|
POST
|
To be clear, the properties are available in all the runtime sdks. The name of the `Map` class just happens to be `AGSMap` in the cocoa native iOS sdk.
... View more
03-08-2019
10:15 AM
|
0
|
0
|
365
|
POST
|
Map (AGSMap for iOS) has properties for min/max scale
... View more
03-08-2019
10:12 AM
|
0
|
0
|
365
|
POST
|
Two properties make an error unique - the domain and the code. Domains will commonly map to a specific error code enumeration. For the domain "com.esri.arcgis.runtime.error" which equals `AGSErrorDomain`, the codes you look at are in the enumeration `AGSErrorCode`. Within that enumeration, the code 2 is: `AGSErrorCodeCommonInvalidArgument = 2`. So you have an Invalid Argument somewhere. In xcode, set a breakpoint on c++ exceptions. Then when that error occurs you can look at the callstack and see what you may be doing. I would also make sure to address all the warnings in your project. It may be that you are putting a string in an array that takes a `AGSField` or something like that. If that doesn't help, please consider providing us some code that reproduces the issue so that we can help diagnose what is going wrong. Thanks
... View more
02-12-2019
12:29 PM
|
1
|
1
|
736
|
POST
|
You can add labels to shapefile data. We do not have a comprehensive api for creating the label definition through properties, however one can be created with json like so: let map = AGSMap(basemapType: .lightGrayCanvas, latitude: 0, longitude: 0, levelOfDetail: 0)
let shp1 = AGSShapefileFeatureTable(fileURL: URL.TestDataURL("Shapefile/FromArcMap/CapitalsFromAM.shp"))
let fl1 = AGSFeatureLayer(featureTable: shp1)
map.operationalLayers.add(fl1)
let jsonStr = """
{"labelPlacement":"esriServerPointLabelPlacementAboveRight","where":null,"labelExpression":"[CITY_NAME]","useCodedValues":true,"symbol":{"type":"esriTS","color":[255,0,0,255],"backgroundColor":null,"borderLineColor":null,"borderLineSize":null,"verticalAlignment":"bottom","horizontalAlignment":"center","rightToLeft":false,"angle":0,"xoffset":0,"yoffset":0,"kerning":true,"haloColor":[255,255,255,255],"haloSize":2,"font":{"family":"Arial","size":10,"style":"normal","weight":"normal","decoration":"none"}},"minScale":0,"maxScale":0}
"""
guard let jsonData = jsonStr.data(using: .utf8) else{
return
}
let jsonObject = try JSONSerialization.jsonObject(with: jsonData, options: [])
let labelDefinition = try AGSLabelDefinition.fromJSON(jsonObject)
fl1.labelsEnabled = true
fl1.labelDefinitions.add(labelDefinition)
mapView.map = map That code will give label the `CITY_NAME` field for each point in the shapefile. It will be a red (255,0,0,255) text symbol with a white halo.
... View more
12-04-2018
09:10 AM
|
1
|
2
|
692
|
POST
|
Sorry. What application is populating the EditDate field?
... View more
12-03-2018
09:56 AM
|
0
|
1
|
1054
|
POST
|
AFAIK the backend services support more precise dates. I'm wondering if it was just however the data was initially collected, the app that the data was initially collected in. I'm not sure how the data was entered, and with what interface. My guess is that is the source of the problem. You might want to ask on the forum associated with that app/interface.
... View more
12-03-2018
09:21 AM
|
0
|
3
|
1054
|
POST
|
The ArcGIS Runtime SDK for iOS supports down to millisecond. It seems that it's possible however the data was stored is where the date was truncated.
... View more
12-03-2018
08:05 AM
|
1
|
5
|
1054
|
POST
|
Is there a stack trace? If you type "bt" in the console when it crashes, does it give you a stack trace? thanks
... View more
10-10-2017
10:55 AM
|
0
|
2
|
771
|
POST
|
Unfortunately we've been experiencing the same thing. It's a bug that apple is aware of and seemingly getting a lot of people wanting it fixed: iOS 11 Simulator unusable slow | Apple Developer Forums
... View more
09-13-2017
02:42 PM
|
1
|
1
|
887
|
Title | Kudos | Posted |
---|---|---|
1 | 12-04-2018 09:10 AM | |
1 | 07-08-2021 07:45 AM | |
1 | 06-14-2021 08:03 AM | |
1 | 06-09-2021 08:41 AM | |
1 | 11-22-2016 02:08 PM |
Online Status |
Offline
|
Date Last Visited |
10-21-2021
08:05 AM
|