Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beginor/monotouch.arcgis
ArcGIS Runtime SDK for iOS binding to MonoTouch
https://github.com/beginor/monotouch.arcgis
Last synced: 8 days ago
JSON representation
ArcGIS Runtime SDK for iOS binding to MonoTouch
- Host: GitHub
- URL: https://github.com/beginor/monotouch.arcgis
- Owner: beginor
- Created: 2012-08-05T04:11:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-28T13:59:24.000Z (about 11 years ago)
- Last Synced: 2023-03-22T10:55:22.978Z (over 1 year ago)
- Language: Objective-C
- Size: 3.45 MB
- Stars: 5
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MonoTouch.ArcGIS
[ArcGIS Runtime SDK for iOS][1] Version 10.1.1 Update 1 (Apr 2013) binding to MonoTouch.
![AGSTiledMapServiceLayer](Screenshots/BaseMapLayer.jpg)
![AGSFeatureLayer](Screenshots/PointFeatureLayerWithInfo.png)
## Support Features
This project is very early state, only support a few features following:
- AGSTiledMapServiceLayer
- AGSDynamicMapServiceLayer (not completed yet)
- AGSGraphicsLayer
- AGSFeatureLayerOther features need to be added, please wait or add them by yourself.
## Build the Binding project and run test
1. Login to ESRI Online, download and install ArcGIS Runtime SDK **ArcGIS Runtime SDK for iOS v10.1.1 Update 1**, the file downloaded should be **AGSRuntimeSDKiOSv10.1.1-u1.pkg**.
2. Clone this repository to local, for example `~/Projects/MonoTouch.ArcGIS`
3. Copy file `~/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/Versions/Current/ArcGIS` to Binding project folder, and rename it to `libArcGIS.a`
4. Rebuild the Binding project first, if no errors occured, then build the AGSTestCS Project.
5. Run the AGSTestCS## Usage and Tutorial
- Check ESRI ArcGIS Runtime SDK for iOS [Guide][2].
- Check ESRI ArcGIS Runtime SDK for iOS [API reference][3].
- Check the **AGSTestCS** project in this repository.## How to add new features
Be aware of those files in the Binding project:
- gen.cs: This file is generated by [Objective Sharpie][4] producted by Xamarin, target with iOS, with the *.h files in the Headers folder. (A file named gen_simulator is also generated, target with iOS Simulator, the two files are same.)
- Api_new.cs: Created by hand, add feature on demand, and try always keep this file can be compiled.If you need more ArcGIS Api Features, do as follow steps:
- Locate the interface you needed in the gen.cs;
- Copy the interface defination to gen.cs, if the interface you copyed reference to other interface, copy the referenced to;
- Check and correct those VerifyAttributes generated by Objective Sharpie;
- Try compile the Binding object, ensure there is no error while compiling the project;
- Write some test code in the AGSTestCS project to ensure your new interface works correctly;### Note:
- After successfly build the Binding project, MonoTouch.ArcGIS.dll is generated, the file size is almost 200MB, because libArcGIS.a is embeded in, so the dll file size is ok;
- After successfly build the AgsTestCS project, the final ipa file is about 7MB, whitch is acceptable.
Good luck!## Still need help
May be Google !
[1]:https://developers.arcgis.com/en/ios/
[2]:https://developers.arcgis.com/en/ios/guide/introduction.htm
[3]:https://developers.arcgis.com/en/ios/api-reference/index.htm
[4]:http://docs.xamarin.com/guides/ios/advanced_topics/binding_objective-c/objective_sharpie