ThunD3eR
ThunD3eR

Reputation: 3456

googlemaps url gets 404

This has been working but today i noticed that when i try to access a googlemaps url via my site i get a 404 error.

my url:

 window.open("http://www.maps.google.com/maps?f=d&source=s_d&saddr=" + start + "&daddr=" + globalWayPoints[0].location + "+" + "to:" + end + "&hl="+siteLanuguage+"&geocode=XXXXXXXXXXXXXXXXXXXXXXXXXX=ls&sll=37.0625,-95.677068&sspn=47.167389,75.410156&ie=UTF8&z=7&layer=c&pw=2" + "&dirflg=t" + "&om=1" + "&z=1", "mywindow");

has something changed here?

EDIT:

FUll Url:

http://maps.google.com/maps?f=d&source=s_d&saddr=split&daddr=55.37417,%2013.14731+to:47.000738,%2012.543741&hl=sv&geocode=xxxxxxxxxxxxxxxxxxxxxxxx=ls&sll=37.0625,-95.677068&sspn=47.167389,75.410156&ie=UTF8&z=7&layer=c&pw=2&dirflg=t&om=1&z=1%22

Upvotes: 0

Views: 961

Answers (1)

atmd
atmd

Reputation: 7490

The problem is the pw paramter (&pw=2).

Remove &pw=2 and the url works correctly.

FYI:

“pw” stands for “print window.” It activates the print mode and initiates printing. Example, pw=2.

Upvotes: 2

Related Questions