| Issue 7820: | Bug: file://maps.gstatic.com/mapfiles/openhand_8_8.cur | |
| 12 people starred this issue and may be notified of changes. | Back to list |
Hello, We're generating local html file embeded on our app using google map v3 javascript API. With IE 11 this cursor load with the bad protocol like that : "file://maps.gstatic.com/mapfiles/openhand_8_8.cur" and not "http://maps.gstatic.com/mapfiles/openhand_8_8.cur". (please see the picture attached) That cause random freezes of 10/20 secondes when loading the page. Best Regards.
Mar 29, 2015
#2
[email protected]
Mar 30, 2015
Thanks for reporting the issue. We're looking into it and should have a fix ready soon.
Mar 31, 2015
Thank you very much, we are looking forward to it :)
Apr 2, 2015
I have the same issue. Thanks a lot for any help!
Apr 2, 2015
me to <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script> cordova and browser GET file://maps.gstatic.com/mapfiles/openhand_8_8.cur net::ERR_FILE_NOT_FOUND
Apr 2, 2015
I have this problem using Google Maps in my app that is bundled using NW.js. It started happening around a week ago.
Apr 3, 2015
Hello, I'm getting the same error when testing in chrome , trying to run the file in a webview
Apr 4, 2015
Getting the same issue as well, using Chrome.
Apr 5, 2015
I got the same problem
Apr 5, 2015
issue remain same
Apr 6, 2015
any solution? I have faced the same problem GET file://maps.gstatic.com/mapfiles/openhand_8_8.cur net::ERR_FILE_NOT_FOUND -------------------- VM4216:1
Apr 6, 2015
Has anyone figured out what exactly is causing this and if there's a workaround?
Apr 7, 2015
hi atcas..., it is caused because the api use the default protocol so when you're generating a local html file the api search the file via the "file" protocol "GET file://" instead of "http" or "https". Obviously the file "/maps.gstatic.com/mapfiles/openhand_8_8.cur" doesn't exist on your hard drive so the browsers fails to load the file (i assume there is a timeout mecanism or someting like that freezing the browser for like 10/20 seconds). "if there's a workaround?" i dont think so, we need to wait for a patch. (sorry for my english)
Apr 7, 2015
Yep, that is exactly the problem. "if there's a workaround?" i dont think so, we need to wait for a patch. Well... there is some kind of workaround, but it's useful only if your local html doesn't need any other local file or has any kind of relative links. You can force any relative link to a path using the html tag base. Adding this to the head will force the relative link from file://.../openhand_8_8.cur to html://.../openhand_8_8.cur, where it should be. < base href="http://maps.gstatic.com/mapfiles/" target="_blank" > My problem? I can't use this... as I use a custom marker (local png file), and if you change the relative path, you change it for all your relative links :( So... I'll have to wait until they fix the path to that openhand_8_8.cur
Apr 7, 2015
Wow thank you very much for the info, this is awesome. I just give it a try with the full patch like that and it working for me so maybe it can be usefull for you (dont mess with your custom marker?) <base href="http://maps.gstatic.com/mapfiles/openhand_8_8.cur" target="_blank" >
Apr 7, 2015
Nah... It doesn't run for me. It searches my file at "http://maps.gstatic.com/mapfilesmapfiles/marker.png", I could use full paths, but I really shouldn't ^_^ If any of you can use this workaround, then great :) but I'll wait for the official fix anyway.
Apr 7, 2015
"I'll wait for the official fix anyway." i'll do to, but it helps a lot during debug session not freezing the software. So thank you for sharing the info, it's very much appreciate.
Apr 7, 2015
Pretty frustrating issue. I hope a fix comes soon.
Apr 8, 2015
I am also facing this issue, not sure if there is a workaround already available?
Apr 9, 2015
you can use the code <base href="http://maps.gstatic.com/mapfiles/openhand_8_8.cur" target="_blank" > but no official patch now.
Apr 14, 2015
The problem seems fixed for me now. Thank you very much :)
Apr 14, 2015
Working for me now as well.
Apr 14, 2015
Yes, we fixed it. Sorry once again to all you file:// users.
Status:
Fixed
Aug 3, 2016
the problem is still there for me |
|
| ► Sign in to add a comment |