【文件属性】:
文件名称:titanium-mapbox-android:用于 Titanium 的 Android Mapbox SDK 包装器
文件大小:12.22MB
文件格式:ZIP
更新时间:2021-07-07 19:50:35
JavaScript
用于 Titanium 的 Mapbox Android SDK 包装器
使用的。
发展现状
这是一个正在进行的工作,
使用示例地图examples.map-i87786ca 。
对于当前迭代,目标是从 ti.map 公开一些 API 以设置位置、缩放和标记。
源和测试应用程序
此 repo 的根目录分别包含模块源代码和测试应用程序。
例子
var mapbox = require ( 'flg.mapbox' ) ;
var mapView = mapbox . createMapView ( {
width : Titanium . UI . FILL ,
height : Titanium . UI . FILL ,
top : 3 ,
bottom : 3 ,
left : 3 ,
right : 3 ,
region : {
latitude : 39.7