Skip to content

Commit

Permalink
Update to latest GM SDK, copy bundle automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Nov 24, 2015
1 parent 655b493 commit fc3ebd0
Show file tree
Hide file tree
Showing 307 changed files with 69 additions and 14 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ Edit the modules section of your ``tiapp.xml`` file to include this module:

> **NOTE:** The module id changed from ``de.hansknoechel.googlemaps`` to ``ti.googlemaps`` in 2.0.0 to make it easier to include the module.
> **NOTE:** For now, you need to copy the ``GoogleMaps.bundle`` from ``<PROJECT_ROOT>/modules/ti.googlemaps/<VERSION>/platform``
to ``<PROJECT_ROOT>/platform/iphone`` to make the module run. This only needs to be done the first time you install the module.
We are working to get this done automatically.
> **NOTE:** Starting from 2.0.1, the ``GoogleMaps.bundle`` does NOT needs to be copied manually anymore to make the module run. :-)
Initialize the module by setting the Google Maps API key you can get from [here](https://developers.google.com/maps/signup).
```javascript
var maps = require("de.hansknoechel.googlemaps");
var maps = require("ti.googlemaps");
maps.setAPIKey("<YOUR_API_KEY>");
```

Expand Down
2 changes: 1 addition & 1 deletion iphone/Classes/TiGooglemapsModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ -(id)moduleGUID

-(NSString*)moduleId
{
return @"de.hansknoechel.googlemaps";
return @"ti.googlemaps";
}

#pragma mark Lifecycle
Expand Down
2 changes: 1 addition & 1 deletion iphone/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 2.0.0
version: 2.0.1
apiversion: 2
architectures: armv7 arm64 i386 x86_64
description: ti.googlemaps
Expand Down
2 changes: 1 addition & 1 deletion iphone/module.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
// for this file:
// http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/400-Build_Configurations/build_configs.html
//
FRAMEWORK_SEARCH_PATHS=$(SRCROOT)/../../modules/iphone/ti.googlemaps/2.0.0/platform "~/Library/Application\ Support/Titanium/modules/iphone/ti.googlemaps/2.0.0/platform"
FRAMEWORK_SEARCH_PATHS=$(SRCROOT)/../../modules/iphone/ti.googlemaps/2.0.1/platform/ios "~/Library/Application\ Support/Titanium/modules/iphone/ti.googlemaps/2.0.1/platform/ios"

OTHER_LDFLAGS =$(inherited) -framework Accelerate -framework AVFoundation -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreLocation -framework CoreText -framework GLKit -framework ImageIO /usr/lib/libz.dylib /usr/lib/libc++.dylib /usr/lib/libicucore.dylib /usr/lib/libobjc.A.dylib -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -framework GoogleMaps

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions iphone/platform/ios/GoogleMaps.framework/Modules
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@

/**
* The field of view (FOV) encompassed by the larger dimension (width or height) of the view in
* degrees. This is clamped to the range [1, 160] degrees, and has a default value of 90.
* degrees at zoom 1. This is clamped to the range [1, 160] degrees, and has a default value of 90.
*
* Lower FOV values produce a zooming in effect; larger FOV values produce an fisheye effect.
*
* Note: This is not the displayed FOV if zoom is anything other than 1. User zoom gestures
* control the zoom property, not this property.
*/
@property(nonatomic, assign, readonly) double FOV;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
// Service: https://developers.google.com/maps/terms
//

#if !__has_feature(nullability)
#if !__has_feature(nullability) \
|| !defined(NS_ASSUME_NONNULL_BEGIN) \
|| !defined(NS_ASSUME_NONNULL_END)
#define GMS_ASSUME_NONNULL_BEGIN
#define GMS_ASSUME_NONNULL_END
#define GMS_NULLABLE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
framework module GoogleMaps { umbrella header "GoogleMaps.h"
header "GMSAddress.h"
header "GMSAutocompleteFilter.h"
header "GMSAutocompleteMatchFragment.h"
header "GMSAutocompletePrediction.h"
header "GMSCALayer.h"
header "GMSCameraPosition.h"
header "GMSCameraUpdate.h"
header "GMSCircle.h"
header "GMSCoordinateBounds.h"
header "GMSGeocoder.h"
header "GMSGeometryUtils.h"
header "GMSGroundOverlay.h"
header "GMSIndoorBuilding.h"
header "GMSIndoorDisplay.h"
header "GMSIndoorLevel.h"
header "GMSMapLayer.h"
header "GMSMapView+Animation.h"
header "GMSMapView.h"
header "GMSMarker.h"
header "GMSMarkerLayer.h"
header "GMSMutablePath.h"
header "GMSOrientation.h"
header "GMSOverlay.h"
header "GMSPanorama.h"
header "GMSPanoramaCamera.h"
header "GMSPanoramaCameraUpdate.h"
header "GMSPanoramaLayer.h"
header "GMSPanoramaLink.h"
header "GMSPanoramaService.h"
header "GMSPanoramaView.h"
header "GMSPath.h"
header "GMSPlace.h"
header "GMSPlaceLikelihood.h"
header "GMSPlaceLikelihoodList.h"
header "GMSPlacePicker.h"
header "GMSPlacePickerConfig.h"
header "GMSPlaceTypes.h"
header "GMSPlacesClient.h"
header "GMSPlacesMacros.h"
header "GMSPolygon.h"
header "GMSPolyline.h"
header "GMSProjection.h"
header "GMSServices.h"
header "GMSSyncTileLayer.h"
header "GMSTileLayer.h"
header "GMSUISettings.h"
header "GMSURLTileLayer.h"
header "GMSUserAddedPlace.h"
export * module * { export * } }
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit fc3ebd0

Please sign in to comment.