Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I generate a URL to Google Maps from my website using localhost thus: "". But it generates an error on Google maps. However, I can copy this generated URL from the browser, paste it into my browser, and it works fine. Do I need a key or something more?

What I have tried:

I have tried various strings, all with the same result.
Keviniano Gayo 18-Jul-18 11:24am    
Did you display the google map inside your web page using iframe?
Or did you generate a URL link from your web page that points to the above URL?
BobbyStrain 18-Jul-18 12:35pm    
I generate a URL link from my web page that points to the above URL. And I must click the link a second time to get the error. It says "Your client issued a request that was too large."
W.G.C. 6-Nov-18 22:55pm    
Can you post one of the URLs that are generated by the code?
BobbyStrain 7-Nov-18 10:12am    
You can just plug in any values for the items. Don't scrub the + in the string. I thought that I posted what worked. All I did is add a bit of javascript to redirect the postback to a new window. to fix the issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900