Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.18.4

* Fixes a potential compilation issue in tile downscaling.

## 2.18.3

* Updates README to include setup information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ - (instancetype)initWithTileOverlayIdentifier:(NSString *)identifier
- (UIImage *)handleResultTile:(nullable UIImage *)tile {
CGImageRef imageRef = tile.CGImage;
CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
BOOL isFloat = bitmapInfo && kCGBitmapFloatComponents;
BOOL isFloat = bitmapInfo & kCGBitmapFloatComponents;
Comment thread
stuartmorgan-g marked this conversation as resolved.
size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);

// Engine use f16 pixel format for wide gamut images
// If it is wide gamut, we want to downsample it
if (isFloat & (bitsPerComponent == 16)) {
if (isFloat && (bitsPerComponent == 16)) {
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef context =
CGBitmapContextCreate(nil, tile.size.width, tile.size.height, 8, 0, colorSpace,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter_ios
description: iOS implementation of the google_maps_flutter plugin.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.18.3
version: 2.18.4

environment:
sdk: ^3.10.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.18.5

* Fixes a potential compilation issue in tile downscaling.

## 2.18.4

* Updates README to include setup information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ - (instancetype)initWithTileOverlayIdentifier:(NSString *)identifier
- (UIImage *)handleResultTile:(nullable UIImage *)tile {
CGImageRef imageRef = tile.CGImage;
CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
BOOL isFloat = bitmapInfo && kCGBitmapFloatComponents;
BOOL isFloat = bitmapInfo & kCGBitmapFloatComponents;
Comment thread
stuartmorgan-g marked this conversation as resolved.
size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);

// Engine use f16 pixel format for wide gamut images
// If it is wide gamut, we want to downsample it
if (isFloat & (bitsPerComponent == 16)) {
if (isFloat && (bitsPerComponent == 16)) {
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef context =
CGBitmapContextCreate(nil, tile.size.width, tile.size.height, 8, 0, colorSpace,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter_ios_sdk10
description: iOS implementation of the google_maps_flutter plugin using Google Maps SDK 10.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios_sdk10
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.18.4
version: 2.18.5

environment:
sdk: ^3.10.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.18.6

* Fixes a potential compilation issue in tile downscaling.

## 2.18.5

* Corrects the README header.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ - (instancetype)initWithTileOverlayIdentifier:(NSString *)identifier
- (UIImage *)handleResultTile:(nullable UIImage *)tile {
CGImageRef imageRef = tile.CGImage;
CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
BOOL isFloat = bitmapInfo && kCGBitmapFloatComponents;
BOOL isFloat = bitmapInfo & kCGBitmapFloatComponents;
Comment thread
stuartmorgan-g marked this conversation as resolved.
size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);

// Engine use f16 pixel format for wide gamut images
// If it is wide gamut, we want to downsample it
if (isFloat & (bitsPerComponent == 16)) {
if (isFloat && (bitsPerComponent == 16)) {
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef context =
CGBitmapContextCreate(nil, tile.size.width, tile.size.height, 8, 0, colorSpace,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter_ios_sdk9
description: iOS implementation of the google_maps_flutter plugin using Google Maps SDK 9.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios_sdk9
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.18.5
version: 2.18.6

environment:
sdk: ^3.10.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ - (instancetype)initWithTileOverlayIdentifier:(NSString *)identifier
- (UIImage *)handleResultTile:(nullable UIImage *)tile {
CGImageRef imageRef = tile.CGImage;
CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
BOOL isFloat = bitmapInfo && kCGBitmapFloatComponents;
BOOL isFloat = bitmapInfo & kCGBitmapFloatComponents;
Comment thread
stuartmorgan-g marked this conversation as resolved.
size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);

// Engine use f16 pixel format for wide gamut images
// If it is wide gamut, we want to downsample it
if (isFloat & (bitsPerComponent == 16)) {
if (isFloat && (bitsPerComponent == 16)) {
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef context =
CGBitmapContextCreate(nil, tile.size.width, tile.size.height, 8, 0, colorSpace,
Expand Down
Loading