|
POST
|
You don't really have to use the editing in popup for this. Simply use the setAttributeWithInteger:forKey: on the feature, to set the YOLORTAHATTID attribute for that feature. And the next time when you open the popups, the value should be updated.
... View more
05-02-2016
10:33 AM
|
0
|
0
|
621
|
|
POST
|
Can you provide the backtrace? To get the backtrace simply type `bt` in the Debugger and hit Enter (when the application has crashed). Copy and paste the stub here.
... View more
05-02-2016
09:56 AM
|
0
|
8
|
2378
|
|
POST
|
If you look at the description for doneButton here: 10.2.5: AGSPopupsContainerViewController Class Reference it says You can replace the button that appears on the left side of the Navigation Bar with a custom button through this property. That means if you create your own UIBarButtonItem for related records and assign it to the doneButton property, that custom button will now show in place of the done button on the top left. And when you tap it, the action you defined for that buttonItem will be called. But by doing this, you won't have any button to hide the popups container view controller. For that I suggested that you should have two buttons on the left; one for relatedRecords and the other for Done. And to achieve that you will have to create a UIView and add two UIButtons to it. Then you will have to create a UIBarButtonItem using the following initializer - initWithCustomView: and assign it to the doneButton property on AGSPopupsContainerViewController.
... View more
04-25-2016
08:01 AM
|
0
|
0
|
1017
|
|
POST
|
I would like to add a button apart from (Done & Action) but couldn't achieve that yet with “AGSPopupsContainerViewController” class. With the new button i would like to show “Related Record”. You can use the doneButton property on AGSPopupsContainerViewController to define your custom buttons. Just create a view with the required buttons, and use the initWithCustomView initializer on UIBarButtonItem to create a bar button item and assign it to the doneButton property. To compensate for the original done button you can have a custom button with custom action to dismiss the popups container view controller. When clicking on feature the callout popsup. I would like to display these . How can i call these within the callout. With "these" I am assuming you mean the action sheet in callout in the screenshot. I don't think you can have an action sheet inside a custom view and more over it won't look right. But you can definitely have your custom view with different buttons inside a callout. Take a look at this sample. I see the plus minus buttons in the screenshot, which I am assuming are there for zoom in and out. I think you don't really need them because its a touch device, you can simply pinch-out and pinch-in or tap with one finger and tap with two fingers to zoom in and out respectively. Let me know if this helps.
... View more
04-19-2016
03:08 PM
|
0
|
2
|
1017
|
|
POST
|
The features are already provided in the mapView:didClickAtPoint:mapPoint:features: method on the touch delegate. So you don't need a query. The features parameter is a dictionary of feature layer names as keys and the features in those layers as the values. Simply create an AGSPopupInfo object using popupInfoForFeatureLayer: initializer. And use that to create AGSPopups and eventually an AGSPopupsContainerViewController to display them all.
... View more
02-18-2016
11:48 AM
|
1
|
2
|
1235
|
|
POST
|
You will have to implement the method mapView:didMoveTapAndHoldAtPoint:mapPoint:features: on AGSMapViewTouchDelegate. The delegate method gets called every time the user moves his finger while taping and holding the map view. The method also provides the array of features at that location. So in the method you can update the geometry of the features to the new mapPoint. You can use this sample as a reference. The sample adds a marker if you tap and hold and changes the location of that marker when you move while taping and holding.
... View more
02-18-2016
09:10 AM
|
2
|
0
|
1843
|
|
POST
|
To get the graphics for a tap on the map view, you should use the mapView:didClickAtPoint:mapPoint:graphics: method on the AGSMapViewTouchDelegate? Simply register your view controller as the touchDelegate for the map view and define the above mentioned method in the same view controller. Now whenever you tap on the map view, the delegate method show be called.
... View more
01-29-2016
01:53 PM
|
0
|
0
|
583
|
|
POST
|
I am assuming that you are passing this credential object with each request you are making. Is it possible for you to check if the token is actually being passed when you do a sync request with changes? Using something like Charles.
... View more
01-19-2016
11:17 AM
|
0
|
5
|
3053
|
|
POST
|
Are you explicitly setting the token on the sync task?
... View more
01-19-2016
10:20 AM
|
0
|
7
|
3053
|
|
POST
|
Can you provide more details? Like how you are trying to show the map in your app? What do you see in the app? Is it possible for you to share the id for the map or a link?
... View more
01-19-2016
09:59 AM
|
0
|
1
|
612
|
|
POST
|
Can you provide more details on the use case? What exactly you are trying to do?
... View more
12-11-2015
08:59 AM
|
0
|
0
|
272
|
|
POST
|
Try setting the `renderingMode` on graphics layer to `Dynamic` and it should be fine. As shown below: self.graphicsLayer = [[AGSGraphicsLayer alloc]initWithFullEnvelope:nil renderingMode:AGSGraphicsLayerRenderingModeDynamic]; The feature was introduced in version 10.2. Improved rendering of graphics AGSGraphicsLayer now supports 2 rendering modes - dynamic and static. In dynamic mode, graphics update dynamically as you interact with the map, always appearing clean and crisp, constantly repositioned and reoriented to be face-up as you rotate the map. In static, graphics are first rasterized and then rendered on the map. This can lead to some brief pixelation of the symbols as you navigate the map. Static mode provides a significant performance improvement, allowing you to display many more graphics at the same time. The default is static mode, and is the traditional way graphics have been drawn in past releases. Dynamic mode is new at this release and is best suited for cases when you have a small number of graphics (vertices) that need to be updated frequently.
... View more
12-10-2015
04:56 PM
|
0
|
0
|
571
|
|
POST
|
Shimin Cai Can you provide more details about the use case? On what you are trying to achieve, if possible with an example.
... View more
12-01-2015
10:18 AM
|
0
|
1
|
791
|
|
POST
|
I am not aware of the desktop application but the iOS SDK does use the export APIs internally.
... View more
11-23-2015
10:26 AM
|
0
|
1
|
1244
|
|
POST
|
For each zoom or pan action, the map view requests data from all the layers (including the basemap) in it, for the new extent. The size of the response varies based on the content of these layer. The sample response you posted has a size of 0.9 mb. One way to save on data usage could be, if you have a small extent, you can package the basemap (.tpk file) along with the app. That way each zoom or pan action would load or refresh the basemap locally. Here is the how to : ArcGIS Local Tiled layer—ArcGIS Runtime SDK for iOS | ArcGIS for Developers I hope this helps, let me know.
... View more
11-23-2015
09:54 AM
|
0
|
5
|
1244
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-21-2015 01:56 PM | |
| 1 | 03-19-2015 02:26 PM | |
| 1 | 08-20-2014 01:44 PM | |
| 1 | 02-18-2016 11:48 AM | |
| 1 | 04-28-2015 01:45 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|