An Apache Cordova plugin for MapBox's MBXMapKit (for iOS only)
NOTE: This plugin is designed to run a single instance of a native map.
Run this from the root directory of your cordova project to install the plugin:
cordova plugin add com.angelolakra.cordova.mbxmapkit
After installing into your project, you can access all functionality
through the global
var width = 640; var height = 480; var x = width / 2; var y = height / 2; mbxmapkit.create(); mbxmapkit.setSize( width, height ); mbxmapkit.setCenter( x, y ) mbxmapkit.show();
NOTE: This library only intends to serve a single map. Calling
create subsequent times will have no effect after the first call.
To see full project examples, please visit the cordova-mbxmapkit-examples project.
Available at https://github.com/alakra/cordova-mbxmapkit
q are licensed under the MIT license and are
copyrighted to their respective authors. However, the code for
mbxmapkit has it's own license that is described in