ti.googlemaps
Advanced tools
Comparing version 1.0.0 to 1.0.1
29
index.js
@@ -1,6 +0,9 @@ | ||
var GMSMapView = require('GoogleMaps/GMSMapView'), | ||
GMSServices = require('GoogleMaps/GMSServices'), | ||
var GMSServices = require('GoogleMaps/GMSServices'), | ||
kGMSTypeNormal = require('GoogleMaps').kGMSTypeNormal, | ||
kGMSTypeSatellite = require('GoogleMaps').kGMSTypeSatellite, | ||
kGMSTypeTerrain = require('GoogleMaps').kGMSTypeTerrain, | ||
UIScreen = require('UIKit/UIScreen'), | ||
UIViewAutoresizingNone = require('UIKit').UIViewAutoresizingNone; | ||
kGMSTypeHybrid = require('GoogleMaps').kGMSTypeHybrid, | ||
kGMSTypeNone = require('GoogleMaps').kGMSTypeNone, | ||
View = require('./view'); | ||
Annotation = require('./annotation'); | ||
@@ -12,9 +15,17 @@ exports.setAPIKey = function(apiKey) { | ||
exports.createView = function(params) { | ||
var mapView = GMSMapView.alloc().initWithFrame(UIScreen.mainScreen.applicationFrame); | ||
// mapView.setDelegate(GoogleMapsDelegate); | ||
mapView.setAutoresizingMask(UIViewAutoresizingNone); | ||
return mapView; | ||
return new View(params); | ||
}; | ||
exports.createAnnotation = function(params) { | ||
return new Annotation(params); | ||
}; | ||
exports.MAP_TYPE_NORMAL = kGMSTypeNormal; | ||
exports.MAP_TYPE_SATELLITE = kGMSTypeSatellite; | ||
exports.MAP_TYPE_TERRAIN = kGMSTypeTerrain; | ||
exports.MAP_TYPE_HYBRID = kGMSTypeHybrid; | ||
exports.MAP_TYPE_NONE = kGMSTypeNone; |
{ | ||
"name": "ti.googlemaps", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Use the GoogleMaps SDK in Axway Titanium with Hyperloop.", | ||
@@ -17,3 +17,11 @@ "main": "index.js", | ||
"author": "Hans Knöchel", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/hansemannn/googlemaps-hyperloop.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/hansemannn/googlemaps-hyperloop/issues" | ||
}, | ||
"homepage": "https://github.com/hansemannn/googlemaps-hyperloop#readme" | ||
} |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3947
6
56
1
1
1
31
0