With the release of ArcGIS 10.1 approaching, the unified names of ArcGIS product lines have also been published. The familiar ArcGIS for iOS product lines are classified as runtime, which is called "ArcGIS runtime for iOS ". This reflects ESRI's emphasis on mobile platforms, and has placed mobile support (IOS, Android, windowsphone, etc.) and traditional desktops (Windows and Linux) on one level, the original ArcGIS
The API for iOS is also renamed as "ArcGIS runtime sdkfor IOS". The SDK may be more compatible with the C/S development method. The SDK contains ArcGIS framework, local help documentation, and development examples.
Early functions of ArcGIS runtime for iOS were designed to focus on various services released by ArcGIS Server, providing browsing, operating, and interacting with rest services, experienced developers will find that this is very similar to Web APIs. Therefore, as long as you master the basic object-C, Web developers can quickly adapt to IOS Mobile development.
The following is a summary of the functions provided by the SDK:
- Load the map service from ArcGIS Server or ArcGIS online (including the map service, image service, element service, geometric service, and geographic Processing Service );
- Connect to the GIS cloud portal and obtain the map service from arcgis.com or portal for ArcGIS;
- Execute complex geographic processing tasks;
- Provides multiple query methods, including search, query, and identify;
- Use the unified attribute information of popups display elements;
- Location coordinates are determined by map or GPS signals;
- You can use a local ry library to quickly process the geometric processing of images.
Currently, the latest version 2.2 has the following new features:
- Optimized agsgeometryengine to increase the image processing efficiency by 2 ~ 3 times;
- Added support for WMS, including versions 1.3, 1.1.1, and 1.1;
- Added the agsportal interface to support access to arcgis.com or portal for ArcGIS, including users, groups, and data;
- It optimizes the rendering efficiency of elements, especially when rendering a large amount of data. For example, the point layer of 10000 picture symbols;
- The sketch layer can better support the longitude cycle of a map when editing data;
- You can use APIs to convert all Web requests to post methods;
- If the slice data is missing, it will be dynamically generated from the slice sampling with the closest scale;
- Supports more web map elements (basemap layer, operable layer, predefined query, and element collection) released by ArcGIS online );
- Supports military grid coordinate reference (MGRS ).
Original project upgrade:
Arcgisruntime for iOS v2.2 supports ios sdk 4. in versions X and later, the operating system of the terminal is also required. X and later versions, because "ArcGIS. framework replaces the previous static library "libarcgis. A ", so if you want to upgrade your original project to 2.2, you need to follow the steps below in xcode:
1. Delete libarcgis. A references
2. Delete and re-Add the resource file "ArcGIS. Bundle", that is
$ {Home}/library/sdks/ArcGIS. Framework/versions/current/Resources/ArcGIS. Bundle
3. Delete the "library search paths" parameter in the "build" setting, that is, clear
$ {Home}/library/sdks/ArcGIS/IOS. SDK/usr/local/lib
4. Delete the "the user header search paths" parameter in the "build" setting, that is, clear
$ {Home}/library/sdks/ArcGIS/IOS. SDK/usr/local/include /**
5. Add the "-framework" and "ArcGIS" Parameters "Other linker flags" in the "build" Settings ("-all_load" and "-objc" are retained)
6. In the "Build" setting, add the "Frameworks search paths" parameter
$ {Home}/library/sdks/ArcGIS /**
$ {Home}/library/sdks /**
7. Use "Import <ArcGIS/ArcGIS. h>" in the code to replace the previous "import" ArcGIS. H ""
8. API change: Change the parameter of the "opentracing mapview: withalternatebasemap:" method from agswebmap to agswebmapbasemap.