|
POST
|
Yeah. We've always recommended that users do not put their view hierarchy within the AGSMapView for this precise reason - we don't know how that might get affected in the future (and the future is here ). If we could, we would have made AGSMapView like MKMapView so that people couldn't actually set subviews on it, but Xcode/Apple don't allow that for 3rd party controls . Fortunately the fix is not typically onerous, as I hope you found out.
... View more
05-17-2020
04:13 PM
|
2
|
1
|
2400
|
|
POST
|
There are a few approaches to this (you've asked for option 3, but I figured I'd present some other commonly used approaches too): Select the feature. This will keep all features visible but will highlight the one you want. Use an AGSGraphicsOverlay to draw a copy of the feature as an AGSGraphic (perhaps with different styling). This is similar to selecting the feature but gives you more control over what and how to display. You could also consider hiding the original feature layer (using the visible property) while the graphics overlay is displayed. Use the definitionExpression on the AGSFeatureLayer. You can either provide the attribute search used the query, or if you have the feature's ID, you can set the SQL expression to reference that ID. Hope this helps.
... View more
05-17-2020
04:10 PM
|
0
|
0
|
1098
|
|
POST
|
Hi, Sorry - too late on a Friday and I plain missed your whole first paragraph. Frank's answer is correct. Can you try to export the network dataset using the ArcGIS Runtime Content sharing tool in ArcMap? See Creating ArcGIS Runtime content—Help | Documentation for more details. You will need to enable the tool in ArcMap's options. This session from a few years ago covers the ArcMap workflow (including a demo). Another approach is to author an mobile map package in ArcGIS Pro and export the network dataset with a map in that package. Not sure if that's an option for you. This technical session covers more info about Pro. Hope that helps. Nick
... View more
05-15-2020
02:47 PM
|
1
|
0
|
4223
|
|
POST
|
To add to Mike's documentation links… Once you have the Map from the Mobile Map Package, it will have a Basemap property (it sounds like that will be unset). Look at the Basemap class and the factory methods on it (e.g. CreateNavigationVector or CreateImageryWithLabels) which will give you a Basemap object you can set on your Map's Basemap property. To be safe, since I don't know what the content of your MMPK is, I would recommend setting the Basemap on the Map before you display the Map in the MapView*. Hope this helps, Nick. * Technically, before the Map is "loaded". See here if you need to learn more about what this means in Runtime, but chances are you won't have to. When the map is "loaded" (not the same as reading it from the MMPK), its contents determine the Map's Spatial Reference and this is done by first inspecting the basemap.
... View more
05-15-2020
02:24 PM
|
0
|
1
|
2326
|
|
POST
|
It will take a little work, but you can as long as you can parse the Shapefile data yourself. If you can find a library to read the Shapefile data, you could use an AGSFeatureCollectionTable, AGSFeatureCollection and AGSFeatureCollectionLayer to display that data. 1. Parse the data out of the Shapefile to create a set of AGSGraphics (each graphic will have a geometry and attributes). 2. Create an AGSFeatureCollectionTable with those AGSGraphics using featureCollectionTableWithGeoElements:fields:. 3. Create an AGSFeatureCollection with that AGSFeatureCollectionTable using featureCollectionWithFeatureCollectionTable:. 4. Create an AGSFeatureCollectionLayer with that AGSFeatureCollection and add that AGSFeatureCollectionLayer to your map. Note that the AGSFeatureCollectionLayer is not itself an AGSFeatureLayer, but it has a layers property that does contain AGSFeatureLayers. Hope this helps!
... View more
05-13-2020
07:54 AM
|
0
|
0
|
2558
|
|
POST
|
Thanks Jake. These are helpful. You might not be getting all the items returned if they exceed the maxResultCount on the service. I'll have time to look into this today.
... View more
05-12-2020
08:27 AM
|
0
|
0
|
8643
|
|
POST
|
Hi Jake. I'll try to create a repro for this and will get back to you if I have trouble reproducing it. Did this happen in 100.7 too, do you know?
... View more
05-11-2020
08:26 AM
|
0
|
4
|
8643
|
|
BLOG
|
The Runtime team is pleased to announce the latest release of the Runtime SDK for iOS (see the release notes, and the overall announcement on the ArcGIS blog). It continues to follow the track based approach, so there's lots of new functionality for Defense/Public Safety, and Utility customers, as well as improving platform support, but there are some significant things for iOS developers that are worth highlighting: Metal Support: This is a big one! Apple deprecated support for OpenGL ES in iOS and at some point down the line will likely remove support from iOS entirely. Runtime 100.8 for iOS introduces a new Metal based rendering pipeline. It's faster and uses less memory. It also means you can actually use 3D Scenes in the simulator! But it does have an impact on using the simulator on Mojave or running in iOS 12. See this post for more details. Minimum iOS 12: iOS 11 support has been dropped. Minimum Xcode 11: Xcode 10 support has been dropped. Tookit updated: The toolkit has some updates and fixes. See this blog post for more details. A handful of other highlights: Image overlays (scene views only): Animate weather radar or other imagery. Visual variables for point layers now render in dynamic mode. Smooth zooming, everybody! MMPKs and MSPKs can now include online layers (e.g. traffic). Requires ArcGIS Pro 2.6 to author these. Identify on raster layers (both service based or local raster file based). Check out the release notes for more details, and as always we hope you enjoy the new capabilities. Please feel free to DM me and let me know what you're building!
... View more
05-07-2020
11:32 AM
|
0
|
1
|
1010
|
|
POST
|
Yep. As I mentioned above, the 10.x (including 10.2.9) license keys will not work with the 100.x version (including 100.7) of the Runtime. To remove the watermark, you must use a 100.x license (like the Lite one you discovered in your dash board), or license via an ArcGIS User. See here for more info. Furthermore, to use Shapefiles with the 100.x Runtime, you need a Standard license. The old 10.x Runtime is no longer supported. As you can see in the second table here, it. was retired in December 2019.
... View more
05-07-2020
08:57 AM
|
0
|
2
|
2558
|
|
POST
|
I'm not hugely familiar with .NET any more, but could you not create a MultiPoint from the PointCollection (looks like PointCollection implements the right interface to fit the MultiPoint constructor) and then pass that multipoint into GeometryEngine.Difference() along with the polygon?
... View more
05-06-2020
03:12 PM
|
0
|
0
|
1567
|
|
POST
|
Hi. Does this page help? Layer types described—ArcGIS Runtime SDK for Java | ArcGIS for Developers Be sure to take a look at the Feature Layers section too.
... View more
05-06-2020
02:02 PM
|
0
|
0
|
748
|
|
POST
|
Hi Damian. Thanks for the extra info. Unfortunately you would need to use both layers. We split them up so that you can sandwich your operational layers between the base imagery and the reference labels and boundaries. Since the two components are separate services, there isn't a way to just merge them. Nick
... View more
05-05-2020
12:53 PM
|
0
|
0
|
1529
|
|
POST
|
Also please note that it's against our terms of use for the basemaps to scrape/harvest tiles (e.g. for offline use): License your app—ArcGIS Runtime SDK for iOS | ArcGIS for Developers
... View more
05-05-2020
10:09 AM
|
0
|
0
|
1529
|
|
POST
|
Hi. We don't provide an API in the Runtime SDK to obtain individual tiles and expose them as Cocoa classes. You would have to request the tile yourself. The format is something like this: https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x} Each request returns a PNG. But note that you must display attribution for the map's data, which is obtained from a static URL per service and is specific to zoom level and extent. You can get the URLs for many services here. And you can see how Esri Leaflet determines the required attribution here. Once you adopt the Runtime, it will do all this for you Hope this helps. Nick.
... View more
05-05-2020
10:03 AM
|
0
|
3
|
1529
|
|
POST
|
The 10.x license keys will not work at 100.x. You will need to use a 100.x license key. At 100.x, opening a local file such as a Shapefile or Geopackage requires the Standard level license. You can either log in as an ArcGIS Online or ArcGIS Enterprise user with the appropriate role or purchase a license key. See this page for more info on licensing capabilities and named user types.
... View more
05-05-2020
09:53 AM
|
0
|
4
|
2558
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-14-2026 07:07 AM | |
| 2 | 04-30-2026 10:59 AM | |
| 4 | 04-22-2026 08:07 AM | |
| 1 | 01-29-2026 09:39 AM | |
| 1 | 12-17-2025 10:12 AM |