Fixed
Status Update
Comments
ap...@gmail.com <ap...@gmail.com> #2
Hi
when you are saying
When I create an emulator, there is no cutout hole. It appears as I use it. I tried removing it in various ways, but the same phenomenon occurs.
Could you please tell us more about how you create your AVD? Are you creating your own skin? Or did you select one of the Device proposed in the Device Manager ? (e.g. "Small Phone", "Medium Phone", "Pixel 8",...)
there is no cutout hole. It appears as I use it
We are not sure about the situation you are referring to. Some screenshots would be useful, and also a detailed description of "It appears as I use it".
Thanks
br...@google.com <br...@google.com> #3
Hi
Android Studio Meerkat | 2024.3.1
Pixel 9 Pro XL
Android 16.0("Baklava") | x86_64
Api: 36
======================================================================
-- AppData\Local\Android\Sdk\skins\pixel_9_pro_xl\layout
parts {
device {
display {
width 1344
height 2992
x 0
y 0
corner_radius 0 <--------------- no effect
}
}
portrait {
background {
image back.webp
}
foreground {
mask mask.webp
cutout 0 <------------------------ Deleting or changing it has no effect
}
}
}
layouts {
portrait {
width 1466
height 3101
event EV_SW:0:1
part1 {
name portrait
x 0
y 0
}
part2 {
name device
x 57
y 56
}
}
}
-- No Effect
==========================================================
The same problem occurred when using different APIs on different devices.
But after deleting all
AppData\Roaming\Google\AndroidStudio...
directories and restarting, it seems to have been resolved.
Best regards
Android Studio Meerkat | 2024.3.1
Pixel 9 Pro XL
Android 16.0("Baklava") | x86_64
Api: 36
======================================================================
-- AppData\Local\Android\Sdk\skins\pixel_9_pro_xl\layout
parts {
device {
display {
width 1344
height 2992
x 0
y 0
corner_radius 0 <--------------- no effect
}
}
portrait {
background {
image back.webp
}
foreground {
mask mask.webp
cutout 0 <------------------------ Deleting or changing it has no effect
}
}
}
layouts {
portrait {
width 1466
height 3101
event EV_SW:0:1
part1 {
name portrait
x 0
y 0
}
part2 {
name device
x 57
y 56
}
}
}
-- No Effect
==========================================================
The same problem occurred when using different APIs on different devices.
But after deleting all
AppData\Roaming\Google\AndroidStudio...
directories and restarting, it seems to have been resolved.
Best regards
ap...@gmail.com <ap...@gmail.com> #4
Cutout hole appears again. I attatch a screenshot.
br...@google.com <br...@google.com> #5
I'm attempting to replicate this issue given your sample code, but I'm not seeing it.
I've put up my repro code athttps://github.com/domesticmouse/DistortedGMSGroundOverlay
Please modify this sample until you get the distortion, and then create a Pull Request back to me.
Thanks!
I've put up my repro code at
Please modify this sample until you get the distortion, and then create a Pull Request back to me.
Thanks!
ap...@gmail.com <ap...@gmail.com> #6
I have used the same image and bounds you used, and I can not reproduce the distort.
Let me extend the information about this App.
The idea is to put an indoor map images on the google map. In order to do that, first of all, we use the google earth PC tool to discover the South West Bound, the North East Bound and the rotation to be applied over the image.
Once all these information is get, (1) we copy the image in the iOS device, (2) we take the image in our App from the iOS gallery, and (3) we configure the bounds and the rotation with the information indicated before.
However, using the image I required in my Project (Map.jpg attached), and the coordinates and rotation obtained (see below), I can reproduce the distort.
var southWest = CLLocationCoordinate2DMake(38.963203,-77.380171)
var northEast = CLLocationCoordinate2DMake(38.963641,-77.379883)
overlay.bearing = 47.907
I also attach an screenshot of google earth showing how I would like to see the image on my App using the API.
Could you please use the image (Map.jpg) I attach using the coordinates and rotation indicated?
Let me extend the information about this App.
The idea is to put an indoor map images on the google map. In order to do that, first of all, we use the google earth PC tool to discover the South West Bound, the North East Bound and the rotation to be applied over the image.
Once all these information is get, (1) we copy the image in the iOS device, (2) we take the image in our App from the iOS gallery, and (3) we configure the bounds and the rotation with the information indicated before.
However, using the image I required in my Project (Map.jpg attached), and the coordinates and rotation obtained (see below), I can reproduce the distort.
var southWest = CLLocationCoordinate2DMake(38.963203,-77.380171)
var northEast = CLLocationCoordinate2DMake(38.963641,-77.379883)
overlay.bearing = 47.907
I also attach an screenshot of google earth showing how I would like to see the image on my App using the API.
Could you please use the image (Map.jpg) I attach using the coordinates and rotation indicated?
br...@google.com <br...@google.com>
ap...@gmail.com <ap...@gmail.com> #7
Hi again, just to be informed about the status of this potential issue.
Could you be able to reproduce it?
Could you be able to reproduce it?
br...@google.com <br...@google.com> #8
Yup, I reproduced the issue and engineering is working on a fix. Thanks!
j....@gmail.com <j....@gmail.com> #9
Did you find a solution? I have the same problem
pr...@gmail.com <pr...@gmail.com> #10
Yes, I have fixed it. Google APIs doesn't support the images with high resolution. We have tried from small resolution to higher resolutions i.e. 512x512, 1024x1024, 2048x2048, 3072x3072. These resolutions are getting supported. Our image size goes upto 4.9 MB size. above 3072x resolution, it is not supporting.
Its better to go for tiling approach with 256x256 / 512x512 size images.
Its better to go for tiling approach with 256x256 / 512x512 size images.
br...@google.com <br...@google.com> #11
This is fixed in 1.10.0. Thanks for the report!
Description
demonstration page if at all possible, or attach code.
1. Create an GMSCoordinateBounds
2. Create an GMSGroundOverlays wih an image and the previous GMSCoordinateBounds
3. Modify the propery rotation
4. Put the GMSGroundOverlays in the map
Attached an screenshot of the result. As it is shown, the image seems to be distorted, not keeping the relation aspect.
Operating system version: 8.0.1
Google Maps SDK for iOS version: 1.9.2
Hardware model: iPhone 5, iPhone 6 and even iPhone 4
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************