| Issue 3908: | MarkerImages are not scaled anymore | |
| 23 people starred this issue and may be notified of changes. | Back to list |
The newest version of the API has broken the scaling of marker images.
Feb 8, 2012
#1
[email protected]
Feb 9, 2012
What browser(s) does this affect?
Feb 9, 2012
If you could add an example that clearly demonstrates the issue, that would help reproduce the bug.
Feb 9, 2012
Issue 3907 has been merged into this issue.
Feb 9, 2012
I have the same issue with IE8 only
Feb 10, 2012
How do I request a merge? I have the same issue in issue 3917 with example attached.
Feb 11, 2012
Scaled markers don't display v3.7 (3 markers): http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_stylemap_marker.html?filename=http://www.geocodezip.com/geoxml3_test/www_granvik_no_test_kml.xml (javascript error in chrome) Same page with v3.6 (4 markers): http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_stylemap_marker_36.html?filename=http://www.geocodezip.com/geoxml3_test/www_granvik_no_test_kml.xml
Feb 11, 2012
Seen on Firefox 9.0.1 and 10.0.1.
Feb 12, 2012
Issue 3917 has been merged into this issue.
Feb 12, 2012
(No comment was entered for this change.)
Status:
Acknowledged
Labels: Type-Defect ApiType-Javascript3 Regression-Yes Internal-6002711
Feb 16, 2012
Seems to have been fixed? I'm certainly not having my error any longer.
Feb 16, 2012
I also have no errors. Seems to been fixed yeah.
Feb 16, 2012
Yep, looks like we've been bumped up to 3.8 and this has been fixed in that verison.
Feb 16, 2012
Is there a changelog for 3.8 anywhere? I've not seen it on the official releases.
Feb 16, 2012
The issue still occurs on IE8!
Feb 17, 2012
I can also confirm that the issue still occurs in IE7 and IE8, works in IE9 though
Feb 17, 2012
I had the same issue on IE9 two days ago. Today on the same browser I get a small part of the image with the scaled size, but it is not the image scaled down, it's a part of the image. This applies to Win7/64 system. On another a Vista32 system with the same IE9 the images are correct.
Feb 18, 2012
I fixed mine by making sure to use a full absolute url for the image file.
Feb 18, 2012
Actually, it was fixed only in the sense that they are showing up now, and at the right size, but they're still blurrier than they should be (just like the default marker).
Feb 19, 2012
Hi all, yes, this was fixed. Scaled markers are now rendered using Canvas, which is why you may have noticed the difference in interpolation.
Status:
Fixed
Feb 20, 2012
Hi, we are still having problems with this. We are using a google map with marker overlays (setting a circle as an icon, which we then scale). It's still not working properly in IE7 or IE8, but renders fine on all other tested browsers. I will add screen-shots here to show what I mean.
Feb 20, 2012
Hi, please reopen the ticket! It's definitely not fixed in IE8! I am using a sprite image for the marker, where I set the origin point and also the scaled size parameters in order to adapt marker's size according to the current zoom level. Code example: new google.maps.MarkerImage(markerImageURL, new google.maps.Size(40, 40), new google.maps.Point(0, 0), new google.maps.Point(20, 20), new google.maps.Size(40, 1120) I don't have this problem in Chrome or Safari. Thx
Feb 20, 2012
Hi, I am also still having problems in IE8 (similar like blue circles above). However when marker is set as editable, then image is scaled properly.
Feb 20, 2012
I would also like to add my nomination for this to be reopened.
Feb 21, 2012
So setting optimized to false causes the api to not use canvas to render the markers, is that true? To you guys who are still having issues, have you tried optimized: false?
Feb 21, 2012
You are correct, the following works well: optimized: !(jQuery.browser.msie && jQuery.browser.version < 9) However, one could argue that this should have been handled at the maps api side, but nevertheless, as long as there's a workaround, I'm satisfied. Thanks!
Feb 21, 2012
Setting optimized: false in MarkerOptions resolved the issue in IE8. Thanks for the support!
Feb 21, 2012
If you continue to see issues with scaled markers in IE, please provide a link to a simple demo that illustrates the combinations of MarkerImage parameters that cause the problem. Thanks.
Owner:
[email protected]
Feb 29, 2012
See an issue here in IE: http://www.geocodezip.com/geoxml3_test/v3_geoxml3_KML_samples_zoom_false.html now get "undefined" is null or not an object in IE8 used to work.
Feb 29, 2012
See an issue here in IE: http://www.geocodezip.com/geoxml3_test/v3_geoxml3_KML_samples_zoom_false.html now get "undefined" is null or not an object in IE8 used to work.
Feb 29, 2012
Could you isolate the error in a demo that just uses scaled markers (the subject of this issue) please?
Feb 29, 2012
The problem still exists with IE 8 and Windows Vista. Here the requested simple demo: http://www.harsch-tracking.de/problem/hallowelt.html
Feb 29, 2012
I see. The rendering of the marker itself should be fixed in an upcoming release of the nightly version very soon. You mentioned that you are getting JS errors about "undefined"? I couldn't see that in the hallowelt.html demo.
Feb 29, 2012
The "undefined" problem was one of a different user. I only have the problem with the marker images. This was the reason for the hallowelt.html demo
Feb 29, 2012
Sure, if you can illustrate the "undefined" problem with a simple demo, I'd be glad to take a look at that too.
Mar 1, 2012
I am getting an error in Chrome as well v3_geoxml3_KML_samples_zoom_false.html:28 Uncaught TypeError: Cannot read property 'width' of undefined looks like it is on the shadow of the marker. I was travelling yesterday, I will put together a simple example as time permits. Here is a (admittedly not much simpler) link that just shows one marker and generates the error in IE8 (and Chrome): http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?lat=37.422505&lng=-122.085795&zoom=18&type=m&filename=kml_samples_1.xml
Mar 2, 2012
Here is an example that shows the issue: http://www.geocodezip.com/v3_Google_examples_icon-complexA.html There are supposed to be four markers on that map, only one displays. The shadow doesn't have a scaledSize, which is an optional parameter (the shadow image also doesn't exist, which might also be an issue). Setting optimized to false fixes the problem: http://www.geocodezip.com/v3_Google_examples_icon-complexB.html
Jun 21, 2012
How is this bug marked "fixed" if images are still blurry on retina devices on 3.9? Yeah, we can use the workaround of optimized: false for retina only, but is this really the solution? |
|
| ► Sign in to add a comment |