My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Fixed
Owner:  [email protected]
Closed:  Apr 2015


Sign in to add a comment
 
Reported by [email protected], Mar 27, 2015
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.
freeze.png
22.8 KB   View   Download
Mar 29, 2015
#2 [email protected]
GET file://maps.gstatic.com/mapfiles/openhand_8_8.cur net::ERR_FILE_NOT_FOUND

I've got the same problem, that causes browser freeze. Sometimes I'm forced to restart Chrome.
Mar 30, 2015
#3 [email protected]
Thanks for reporting the issue. We're looking into it and should have a fix ready soon.
Status: Accepted
Owner: [email protected]
Labels: Internal-19987437
Mar 31, 2015
#4 [email protected]
Thank you very much, we are looking forward to it :)
Apr 2, 2015
#5 [email protected]
I have the same issue. Thanks a lot for any help!
Apr 2, 2015
#6 sigfrido.rodriguez.santos
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
#7 [email protected]
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
#8 [email protected]
Hello, I'm getting the same error when testing in chrome , trying to run the file in a webview
Apr 4, 2015
#9 [email protected]
Getting the same issue as well, using Chrome.
Apr 5, 2015
#10 [email protected]
I got the same problem
Apr 5, 2015
#11 [email protected]
issue remain same

Apr 6, 2015
#12 [email protected]
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
#13 [email protected]
Has anyone figured out what exactly is causing this and if there's a workaround?
Apr 7, 2015
#14 [email protected]
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
#16 [email protected]
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
#17 [email protected]
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
#18 [email protected]
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
#19 [email protected]
"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
#20 [email protected]
Pretty frustrating issue. I hope a fix comes soon.
Apr 8, 2015
#21 [email protected]
I am also facing this issue, not sure if there is a workaround already available?
Apr 9, 2015
#22 [email protected]
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
#23 [email protected]
The problem seems fixed for me now. Thank you very much :)
Apr 14, 2015
#24 [email protected]
Working for me now as well.
Apr 14, 2015
Project Member #25 [email protected]
Yes, we fixed it.
Sorry once again to all you file:// users.
Status: Fixed
Aug 3, 2016
#26 [email protected]
the problem is still there for me
Sign in to add a comment

Powered by Google Project Hosting