Fixed
Status Update
Comments
th...@google.com <th...@google.com> #2
ca...@gmail.com <ca...@gmail.com> #3
Can you please supply a short reproduction case? I can't quite see how to reproduce the issue you are seeing, and I have to be able to reproduce it to get engineering to fix it. Thanks!
lu...@google.com <lu...@google.com>
[Deleted User] <[Deleted User]> #4
Sure,
1. A simple viewController is shown to the user
2. The user selects an image from the device gallery
2. The South West and North East coordinate bounds are indicated.
3. The rotation is also set
4. The code below is used to show the selected image on the map with rotation.
override func showImageOnMap() {
var southWest = CLLocationCoordinate2DMake(40.712216,-74.22655);
var northEast = CLLocationCoordinate2DMake(40.773941,-74.12544);
var overlayBounds = GMSCoordinateBounds(coordinate: southWest, coordinate: northEast)
// Image from Gallery. The image to be shown is taken from the device gallery
// This short example does not show the procedure to take the image from the
// gallery
var icon = UIImageFromGallery()
var overlay = GMSGroundOverlay(bounds: overlayBounds, icon: icon)
mapView.clear()
overlay.bearing = 47.554
overlay.map = mapView
}
The result is shown in Screenshot_iOS.png.
Let me also indicate that I follow the same procedure in a Android device (using Android API) and the result is the expected one as it is shown in the image attached (Screenshot_Android.png). The image is correctly rotated keeping the relation aspect. Comparing the two screenshots, you can see the effect I am indicating in this issue.
Let me know if you require more information to reproduce the issue
1. A simple viewController is shown to the user
2. The user selects an image from the device gallery
2. The South West and North East coordinate bounds are indicated.
3. The rotation is also set
4. The code below is used to show the selected image on the map with rotation.
override func showImageOnMap() {
var southWest = CLLocationCoordinate2DMake(40.712216,-74.22655);
var northEast = CLLocationCoordinate2DMake(40.773941,-74.12544);
var overlayBounds = GMSCoordinateBounds(coordinate: southWest, coordinate: northEast)
// Image from Gallery. The image to be shown is taken from the device gallery
// This short example does not show the procedure to take the image from the
// gallery
var icon = UIImageFromGallery()
var overlay = GMSGroundOverlay(bounds: overlayBounds, icon: icon)
mapView.clear()
overlay.bearing = 47.554
overlay.map = mapView
}
The result is shown in Screenshot_iOS.png.
Let me also indicate that I follow the same procedure in a Android device (using Android API) and the result is the expected one as it is shown in the image attached (Screenshot_Android.png). The image is correctly rotated keeping the relation aspect. Comparing the two screenshots, you can see the effect I am indicating in this issue.
Let me know if you require more information to reproduce the issue
[Deleted User] <[Deleted User]> #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!
ng...@gmail.com <ng...@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> #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?
eg...@gmail.com <eg...@gmail.com> #8
Yup, I reproduced the issue and engineering is working on a fix. Thanks!
jo...@gmail.com <jo...@gmail.com> #9
Did you find a solution? I have the same problem
da...@porterdigital.com <da...@porterdigital.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.
jo...@gmail.com <jo...@gmail.com> #11
This is fixed in 1.10.0. Thanks for the report!
li...@gmail.com <li...@gmail.com> #12
I also created a workaround by display and load the images of only the markers that suppose to be visible on the screen
da...@porterdigital.com <da...@porterdigital.com> #13
I cant find a tutorial for how to do this with iOS and xcode with a quick Google search, but this JavaScript API tutorial should give you a general idea how the concept works. Then use the iOS SDK API to implement it with the similar marker methods.
http://jsfiddle.net/FChNK/1/
(note the image is very large and is offset to show only one marker)
http://www.ipreferjim.com/site/wp-content/uploads/2012/10/markers.png?9d7bd4
(note the image is very large and is offset to show only one marker)
ti...@gmail.com <ti...@gmail.com> #14
If I want to show more than 20 markers, only 20 markers are visible. Others are invisible. Adding markers using paging (by 20) also doesn't work. My marker's icons are customised, but the same behaviour I'm seeing when icons are not customised. Please, fix this issue!!!
Google Map iOS SDK version 1.9.2
Google Map iOS SDK version 1.9.2
br...@google.com <br...@google.com> #15
Timur.Begaliev: This bug was marked as fixed over a year ago. I'd suggest the behaviour you are seeing is a new issue.
Please raise a new issue with sample that reproduces the issue you are seeing so I can raise it with engineering.
Thanks.
Please raise a new issue with sample that reproduces the issue you are seeing so I can raise it with engineering.
Thanks.
sa...@synchsoft.in <sa...@synchsoft.in> #16
dose any one get the solution ????????????????
sa...@synchsoft.in <sa...@synchsoft.in> #17
Comment has been deleted.
Description
demonstration page if at all possible, or attach code.
Started with SDK 1.4, perhaps related to "Ghost markers" introduced with the same release (NB! Ghost markers are still here in 1.4.2!!)
1. Extend GMSMarker with custom icon setter in it (fetches and sets icon from remote URLs), animation enabled
2. Create map with 100+ markers
3. Zoom in and out rapidly, redrawing markers at zoom end (remove all markers, cluster, place new annotations on map)
4. Receive "Reached the max number of texture atlases, can not allocate more" fatal error and crash
*********************************************************
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.
*********************************************************