This repository was archived by the owner on Apr 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ronald Klip
committed
Sep 18, 2013
1 parent
daf19cb
commit 0eee4c9
Showing
2 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
# PhoneGap iOS MapKit Plugin # | ||
# PhoneGap/Cordova iOS MapKit Plugin # | ||
|
||
## Requirements ## | ||
|
||
Using this plugin requires [iOS PhoneGap](http://github.com/phonegap/phonegap) and the MapKit framework. | ||
The plugin works with PhoneGap (Cordova) versions 2.8, 2.9 and 3.0. | ||
|
||
The plugin works with PhoneGap (Cordova) versions 2.8 and 2.9. | ||
## Adding the Plugin to your 3.0 project ## | ||
|
||
## Adding the Plugin to your project ## | ||
1. run 'cordova plugin add https://github.com/RonaldPK/MapKit-iOS.git' | ||
(replace 'cordova' by 'phonegap local' if that's your cli) | ||
2. copy map-close-button.png from plugins/com.contentecontent.cordova.plugins.mapKit to platforms/ios/www | ||
|
||
1. Add the "MapKit" framework to your Xcode project (different in Xcode 3 and 4, search for instructions) | ||
## Adding the Plugin to your 2.8/2.9 project ## | ||
|
||
1. Add the "MapKit" framework to your Xcode project (different in Xcode 3 and 4/5, search for instructions) | ||
2. Add the .h and .m files to your Plugins folder in your project | ||
3. Add the .js file to your "www" folder on disk, and add reference(s) to the .js file as <script> tags in your html file(s) | ||
3. Add MapKit.js file to your "www" folder on disk, and add reference(s) to the .js file as <script> tags in your html file(s) | ||
4. Add map-close-button.png to your "www" folder on disk. | ||
5. In your app's config.xml, add a feature entry. Set feature name to "MapKitView", and param value to "MapKitView". | ||
|
||
## Example ## | ||
|
||
There is an example project in the example folder. | ||
|
||
## License ## | ||
|
||
MIT licensed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters