Skip to content

Commit

Permalink
chore: update Google Maps / Places iOS SDK to 6.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Apr 12, 2022
1 parent 829fef8 commit 9d1c9c1
Show file tree
Hide file tree
Showing 308 changed files with 253 additions and 5,667 deletions.
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#binary "https://dl.google.com/geosdk/GoogleMaps.json" == 5.1.0
binary "https://dl.google.com/geosdk/GooglePlaces.json" == 5.1.0
binary "https://dl.google.com/geosdk/GoogleMaps.json" == 6.1.1
binary "https://dl.google.com/geosdk/GooglePlaces.json" == 6.1.1
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
binary "https://dl.google.com/geosdk/GoogleMaps.json" "4.1.0"
binary "https://dl.google.com/geosdk/GooglePlaces.json" "4.1.0"
binary "https://dl.google.com/geosdk/GoogleMaps.json" "6.1.1"
binary "https://dl.google.com/geosdk/GooglePlaces.json" "6.1.1"
Binary file modified Resources/GoogleMaps.bundle/GMSCoreResources.bundle/Assets.car
Binary file not shown.
Binary file not shown.
Binary file modified Resources/GoogleMaps.bundle/GMSCoreResources.bundle/Info.plist
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 modified Resources/GoogleMaps.bundle/Info.plist
Binary file not shown.
Binary file modified Resources/GoogleMaps.bundle/oss_licenses_maps.txt.gz
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/Info.plist
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/en_AU.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/en_GB.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/en_IN.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/es_419.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/es_MX.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/fr.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/hi.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/hr.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/pt.lproj/GooglePlaces.strings
Binary file not shown.
Binary file modified Resources/GooglePlaces.bundle/pt_BR.lproj/GooglePlaces.strings
Binary file not shown.
2 changes: 1 addition & 1 deletion 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: 7.1.1
version: 8.0.0
apiversion: 2
mac: false
architectures: arm64 x86_64
Expand Down
Binary file modified platform/GoogleMaps.framework/GoogleMaps
Binary file not shown.
25 changes: 3 additions & 22 deletions platform/GoogleMaps.framework/Headers/GMSAccessibilityLabels.h
Git LFS file not shown
78 changes: 3 additions & 75 deletions platform/GoogleMaps.framework/Headers/GMSAddress.h
Original file line number Diff line number Diff line change
@@ -1,75 +1,3 @@
//
// GMSAddress.h
// Google Maps SDK for iOS
//
// Copyright 2014 Google LLC
//
// Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
// Service: https://developers.google.com/maps/terms
//

#import <CoreLocation/CoreLocation.h>

#if __has_feature(modules)
@import GoogleMapsBase;
#else
#import <GoogleMapsBase/GoogleMapsBase.h>
#endif

NS_ASSUME_NONNULL_BEGIN

/**
* A result from a reverse geocode request, containing a human-readable address. This class is
* immutable and should be obtained via GMSGeocoder.
*
* Some of the fields may be nil, indicating they are not present.
*/
@interface GMSAddress : NSObject<NSCopying>

/** Location, or kLocationCoordinate2DInvalid if unknown. */
@property(nonatomic, readonly) CLLocationCoordinate2D coordinate;

/** Street number and name. */
@property(nonatomic, copy, readonly, nullable) NSString *thoroughfare;

/** Locality or city. */
@property(nonatomic, copy, readonly, nullable) NSString *locality;

/** Subdivision of locality, district or park. */
@property(nonatomic, copy, readonly, nullable) NSString *subLocality;

/** Region/State/Administrative area. */
@property(nonatomic, copy, readonly, nullable) NSString *administrativeArea;

/** Postal/Zip code. */
@property(nonatomic, copy, readonly, nullable) NSString *postalCode;

/** The country name. */
@property(nonatomic, copy, readonly, nullable) NSString *country;

/** An array of NSString containing formatted lines of the address. May be nil. */
@property(nonatomic, copy, readonly, nullable) NSArray<NSString *> *lines;

/**
* Returns the first line of the address.
*/
- (nullable NSString *)addressLine1 __GMS_AVAILABLE_BUT_DEPRECATED_MSG(
"This method is obsolete and will be removed in a future release. Use the lines property "
"instead.");

/**
* Returns the second line of the address.
*/
- (nullable NSString *)addressLine2 __GMS_AVAILABLE_BUT_DEPRECATED_MSG(
"This method is obsolete and will be removed in a future release. Use the lines property "
"instead.");

@end

/**
* The former type of geocode results (pre-1.7). This remains here for migration and will be
* removed in future releases.
*/
@compatibility_alias GMSReverseGeocodeResult GMSAddress;

NS_ASSUME_NONNULL_END
version https://git-lfs.github.com/spec/v1
oid sha256:2ab32347db6ce7dbde25f5c44290c9921be9957769dfdcb21214adada423d6cd
size 2353
23 changes: 3 additions & 20 deletions platform/GoogleMaps.framework/Headers/GMSCALayer.h
Git LFS file not shown
169 changes: 3 additions & 166 deletions platform/GoogleMaps.framework/Headers/GMSCameraPosition.h
Original file line number Diff line number Diff line change
@@ -1,166 +1,3 @@
//
// GMSCameraPosition.h
// Google Maps SDK for iOS
//
// Copyright 2013 Google LLC
//
// Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
// Service: https://developers.google.com/maps/terms
//

#import <CoreGraphics/CoreGraphics.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

/**
* An immutable class that aggregates all camera position parameters.
*/
@interface GMSCameraPosition : NSObject<NSCopying, NSMutableCopying>

/**
* Location on the Earth towards which the camera points.
*/
@property(nonatomic, readonly) CLLocationCoordinate2D target;

/**
* Zoom level. Zoom uses an exponentional scale, where zoom 0 represents the entire world as a
* 256 x 256 square. Each successive zoom level increases magnification by a factor of 2. So at
* zoom level 1, the world is 512x512, and at zoom level 2, the entire world is 1024x1024.
*/
@property(nonatomic, readonly) float zoom;

/**
* Bearing of the camera, in degrees clockwise from true north.
*/
@property(nonatomic, readonly) CLLocationDirection bearing;

/**
* The angle, in degrees, of the camera from the nadir (directly facing the Earth). 0 is
* straight down, 90 is parallel to the ground. Note that the maximum angle allowed is dependent
* on the zoom. You can think of it as a series of line segments as a function of zoom, rather
* than a step function. For zoom 16 and above, the maximum angle is 65 degrees. For zoom 10 and
* below, the maximum angle is 30 degrees.
*/
@property(nonatomic, readonly) double viewingAngle;

/**
* Designated initializer. Configures this GMSCameraPosition with all available camera properties.
* Building a GMSCameraPosition via this initializer (or by the following convenience constructors)
* will implicitly clamp camera values.
*
* @param target Location on the earth towards which the camera points.
* @param zoom The zoom level near the center of the screen.
* @param bearing Bearing of the camera in degrees clockwise from true north.
* @param viewingAngle The angle, in degrees, of the camera angle from the nadir (directly facing
* the Earth)
*/
- (instancetype)initWithTarget:(CLLocationCoordinate2D)target
zoom:(float)zoom
bearing:(CLLocationDirection)bearing
viewingAngle:(double)viewingAngle;

/**
* Convenience initializer for GMSCameraPosition for a particular target and zoom level. This will
* set the bearing and viewingAngle properties of this camera to zero defaults (i.e., directly
* facing the Earth's surface, with the top of the screen pointing north).
*
* @param target Location on the earth towards which the camera points.
* @param zoom The zoom level near the center of the screen.
*/
- (instancetype)initWithTarget:(CLLocationCoordinate2D)target zoom:(float)zoom;

/**
* Convenience initializer for GMSCameraPosition for a particular latitidue, longitude and zoom
* level. This will set the bearing and viewingAngle properties of this camera to zero defaults
* (i.e., directly facing the Earth's surface, with the top of the screen pointing north).
*
* @param latitude The latitude component of the location towards which the camera points.
* @param longitude The latitude component of the location towards which the camera points.
* @param zoom The zoom level near the center of the screen.
*/
- (instancetype)initWithLatitude:(CLLocationDegrees)latitude
longitude:(CLLocationDegrees)longitude
zoom:(float)zoom;

/**
* Convenience initializer for GMSCameraPosition, with latitude/longitude and all other camera
* properties as per -initWithTarget:zoom:bearing:viewingAngle:.
*
* @param latitude The latitude component of the location towards which the camera points.
* @param longitude The latitude component of the location towards which the camera points.
* @param zoom The zoom level near the center of the screen.
* @param bearing Bearing of the camera in degrees clockwise from true north.
* @param viewingAngle The angle, in degrees, of the camera angle from the nadir (directly facing
* the Earth)
*/
- (instancetype)initWithLatitude:(CLLocationDegrees)latitude
longitude:(CLLocationDegrees)longitude
zoom:(float)zoom
bearing:(CLLocationDirection)bearing
viewingAngle:(double)viewingAngle;

/**
* Convenience constructor for GMSCameraPosition for a particular target and zoom level. This will
* set the bearing and viewingAngle properties of this camera to zero defaults (i.e., directly
* facing the Earth's surface, with the top of the screen pointing north).
*/
+ (instancetype)cameraWithTarget:(CLLocationCoordinate2D)target zoom:(float)zoom;

/**
* Convenience constructor for GMSCameraPosition, as per cameraWithTarget:zoom:.
*/
+ (instancetype)cameraWithLatitude:(CLLocationDegrees)latitude
longitude:(CLLocationDegrees)longitude
zoom:(float)zoom;

/**
* Convenience constructor for GMSCameraPosition, with all camera properties as per
* initWithTarget:zoom:bearing:viewingAngle:.
*/
+ (instancetype)cameraWithTarget:(CLLocationCoordinate2D)target
zoom:(float)zoom
bearing:(CLLocationDirection)bearing
viewingAngle:(double)viewingAngle;

/**
* Convenience constructor for GMSCameraPosition, with latitude/longitude and all other camera
* properties as per initWithTarget:zoom:bearing:viewingAngle:.
*/
+ (instancetype)cameraWithLatitude:(CLLocationDegrees)latitude
longitude:(CLLocationDegrees)longitude
zoom:(float)zoom
bearing:(CLLocationDirection)bearing
viewingAngle:(double)viewingAngle;

/**
* Get the zoom level at which |meters| distance, at given |coord| on Earth, correspond to the
* specified number of screen |points|.
*
* For extremely large or small distances the returned zoom level may be smaller or larger than the
* minimum or maximum zoom level allowed on the camera.
*
* This helper method is useful for building camera positions that contain specific physical areas
* on Earth.
*/
+ (float)zoomAtCoordinate:(CLLocationCoordinate2D)coordinate
forMeters:(CLLocationDistance)meters
perPoints:(CGFloat)points;

@end

/** Mutable version of GMSCameraPosition. */
@interface GMSMutableCameraPosition : GMSCameraPosition
@property(nonatomic) CLLocationCoordinate2D target;
@property(nonatomic) float zoom;
@property(nonatomic) CLLocationDirection bearing;
@property(nonatomic) double viewingAngle;
@end

/** The maximum zoom (closest to the Earth's surface) permitted by the map camera. */
FOUNDATION_EXTERN const float kGMSMaxZoomLevel;

/** The minimum zoom (farthest from the Earth's surface) permitted by the map camera. */
FOUNDATION_EXTERN const float kGMSMinZoomLevel;

NS_ASSUME_NONNULL_END
version https://git-lfs.github.com/spec/v1
oid sha256:9a3bfe9400fdbb93304aba334b1dbafa5602eb43979b4ddc3f7f728bbb111fbe
size 7095
Loading

0 comments on commit 9d1c9c1

Please sign in to comment.