| Issue 3159: | Markers fail to display on IE8 when using Adsense Ad Unit | |
| 12 people starred this issue and may be notified of changes. | Back to list |
Compare the following two page on IE8 (you can change the city something like node=city/mountain-view-ca or node=city/new-york-ny using a city/<town in lower cases and dashes>-<statecode>) http://www.topix.com/map?node=city/san-francisco-ca (using v=3.3) to http://www.topix.com/map?node=city/san-francisco-ca&latest_version=1 (using latest, currently v=3.4) IE8 gives the following error =========================== Message: Unspecified error. Line: 33 Char: 511 Code: 0 URI: http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/4/5/%7Bmain,adsense%7D.js ============================= Actually Firefox works, but shows an array out of bounds access error ================= Index or size is negative or greater than the allowed amount" code: "1 [Break On This Error] (86 out of range 42) {main,adsense}.js (line 86) =============== Currently we are using v3.3, but we think the impression tracking for the Adsense Map Ad Unit in that version is messed up (i.e. showing that we have about 10% of the actually Ad impressions we are giving). Thank you
Mar 17, 2011
#1
[email protected]
Mar 23, 2011
Did you get any response to this or resolve the issue? I'm getting a similar error for for the geometry library instead of adsense.
Mar 24, 2011
Yes, I am looking into it but your site is quite large and complex. Are you able to create an example with the least amount of code that still demonstrates the problem? Thanks
Status:
NeedsMoreInfo
Mar 24, 2011
@greg - this is the first response just now. Issue is not resolve yet. Are you asking me (I reported the adsense bug) or [email protected]? The link I gave ( http://www.topix.com/map?node=city/san-francisco-ca&latest_version=1 ) is pretty much just big google map with a little bit of javascript to manage the markers. I am guessing if you just create a map with a lot of randomly created markers (say 100-300 markers) AND a Adsense Map Ad Unit... you should be able to reproduce the error. If it is my example. Please tell me what part of my javascript you are having trouble with... and I will try to simplify. Thank you for looking at this issue.
Mar 24, 2011
I was referring to the topix link. It has almost 1000 lines in the file and is a bit of a mess to try and isolate what would be causing the error.
Mar 24, 2011
Hey you go... I've stripped it down to an example that is only 55 lines. http://www.topix.com/map_bug (uses v=3.3 and has no errors) http://www.topix.com/map_bug?latest_version=1 (uses latest version of api and show an invalid argument or "An invalid or illegal string was specified (88 out of range 42)" error in adsense.js). Let me know if this is sufficient or if you want me to add/remove something from the example.
Mar 24, 2011
Thanks thats much easier to investigate now.
Apr 14, 2011
Hi, just checking back after a month. I see the status is still listed as "NeedsMoreInfo". I was wondering if you need anything more so as to change the issue status at least to "Confirmed". Thank you for your time
Apr 14, 2011
The problem is in your JSON object you have a key "eventful_loaded": 1 which you are then trying to turn into a LatLng object.
You should validate that var latlng_pair = point.split(",") is actually of size 2 and will be a valid LatLng before you create the object.
Status:
Invalid
Apr 14, 2011
Sorry, in my zeal to simply the original javascript code for you. I removed the some conditional checks in the that exist in the original code to handle these situations. I have added the checks in the sample code. Can you please reopen the bug and investigate? (I still see the error on IE8). http://www.topix.com/map_bug?latest_version=1 Thank you.
Apr 14, 2011
Bumping back to new until I verify - I do see the error in IE8 now - I just need to verify the cause :)
Status:
New
Apr 14, 2011
Actually, looking at your example in IE8 I am not able to see any errors. Do you still see it?
Status:
NeedsMoreInfo
Apr 14, 2011
Thank you for the quick reply! Yes... it happens inconsistently onload... but pretty reliably if I drag and map around a little. I suspect the error occurs when the Google Adsense for Map unit trying to refresh itself with a new ad (my guess). === Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C) Timestamp: Fri, 15 Apr 2011 03:57:15 UTC Message: Invalid argument. Line: 9 Char: 118 Code: 0 URI: http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/4/9/%7Bmain,adsense%7D.js ======
Apr 14, 2011
Confirmed. You need to drag the map to cause the error. This error is not related to markers at all - if you remove the markers the error still happens.
Status:
Acknowledged
Labels: Internal-4302220
Apr 28, 2011
(No comment was entered for this change.)
Status:
Fixed
Labels: Fixed-3.4 |
|
| ► Sign in to add a comment |