Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 31st May 2012, 10:02 PM   #1
Dave Zegers
War Room Member
 
Join Date: 2011
Location: The Hague
Posts: 559
Thanks: 229
Thanked 207 Times in 118 Posts
Default
Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Hi

I have a problem with google map and i wanted to know if it is just me of that more people have this problem.

The thing is that i use maps.google.com for directions so people can plan their route and yesterday i discovered a problem, because instead of planning the route i get directed to this page

has there been a change somehow that i am not aware of, and idf so how can i make this to work again?

Thanks

Dave
YellowGreenMedia is offline  
Unread 5th Jun 2012, 04:39 PM   #2
Warrior Member
War Room Member
 
Join Date: 2011
Posts: 25
Thanks: 16
Thanked 0 Times in 0 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

yep we are all seeing that. I havent seen a good workaround yet other than using the normal (desktop version) URL without the 'm' part. looks like crap on a device though.
ogremagi is offline  
Unread 5th Jun 2012, 05:36 PM   #3
Warrior Member
 
Join Date: 2012
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

seems fine for me.huh
jimma2k is offline  
Unread 6th Jun 2012, 06:49 AM   #4
Digital Marketer
War Room Member
 
WillR's Avatar
 
Join Date: 2010
Location: Australia
Posts: 12,472
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Yeah, just Google stuffing everyone around yet again.

I am yet to find a proper fix for it, I just assumed it was something they had just taken down for testing or the like.

I am just using regular Google maps in the interim.

WillR is offline  
Unread 6th Jun 2012, 06:06 PM   #5
Advanced Warrior
 
Join Date: 2011
Location: USA
Posts: 550
Thanks: 228
Thanked 166 Times in 108 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Wow, that's irritating. If they keep doing things like this, Google will lose all the goodwill they've engendered from developers.
beeswarn is offline  
Unread 7th Jun 2012, 09:10 PM   #6
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Google directions has been down for a few weeks now, I've been using Bing instead... working so far.

JohnE is offline  
Unread 8th Jun 2012, 12:08 AM   #7
Advanced Warrior
 
Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by JohnE View Post

Google directions has been down for a few weeks now, I've been using Bing instead... working so far.
Do you have url that you use since for mobile sites I was using this url "http://maps.google.com/m/directions" to get data . Is there a mobile equivalent from Bing that we can implement for right now?

mrtrance is offline  
Unread 8th Jun 2012, 02:35 AM   #8
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Here you go:

m.bing.com/directions#/Maps?q=a.<PUT START ADDRESS HERE>~a.<PUT DESTINATION ADDRESS HERE> &mode=1&autoredirect=0

(remove <'s and >'s)

JohnE is offline  
Unread 8th Jun 2012, 11:11 AM   #9
Advanced Warrior
 
Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by JohnE View Post

Here you go:

m.bing.com/directions#/Maps?q=a.<PUT START ADDRESS HERE>~a.<PUT DESTINATION ADDRESS HERE> &mode=1&autoredirect=0

(remove <'s and >'s)
Thanks.

Hey would you know how to incorporate this into a mobile site since I was using the below code that WillR posted in another thread:

<form method="get" action="http://maps.google.com/m/directions">
<fieldset>
<input type="hidden" name="daddr" value="DESTINATION ADDRESS"/>
<label>Enter Starting Location:</label>
<input name="saddr" type="text" class="input" />
<input type="submit" name="submit" class="button" value="Get Directions" />
</fieldset>
</form>

mrtrance is offline  
Unread 8th Jun 2012, 01:36 PM   #10
New Warrior Member
 
Join Date: 2010
Posts: 9
Thanks: 7
Thanked 3 Times in 3 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

I would like to know how to add that Bing url to the above structure as well.

Thanks
cashman22 is offline  
Unread 8th Jun 2012, 01:38 PM   #11
New Warrior Member
 
Join Date: 2010
Posts: 9
Thanks: 7
Thanked 3 Times in 3 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Code:
http://m.bing.com/search/search.aspx?A=routepointsentry&PA=1&SI=0
I tried just replacing the Google Url with this but no luck.
cashman22 is offline  
Unread 8th Jun 2012, 02:29 PM   #12
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Here's one way to use it:

Use the following code for your form:

HTML Code:
<form method="POST" action="directions-helper.php">
 <fieldset>
  <input type="hidden" name="destination" value="DESTINATION ADDRESS" />
  <input name="start" type="text" class="input" /><br />
  <input type="submit" name="submit" class="button" value="Get Directions" />
 </fieldset>
</form>
Make sure "DESTINATION ADDRESS" is replaced by yours.

Then, you need to create a php file called "directions-helper.php" (whatever you choose to name it must match the name next to "action" in the form code) with the following code:

PHP Code:
<?php
*address = *_POST['destination'];
*
start = *_POST['start'];
echo 
"<IFRAME SRC='http://m.bing.com/directions#/Maps?q=a.*start~a.*address &mode=1&autoredirect=0' SCROLLING='no' WIDTH='100%' HEIGHT='500px' FRAMEBORDER='no'></IFRAME>";
Replace each "*" with "$" (this was the only way I could put the code on here).

You can change the width and height to your preferences.

Make sure you place the "directions-helper.php" file under the same directory as the file that contains the form.

Hope this helps,
John

JohnE is offline  
Unread 8th Jun 2012, 03:14 PM   #13
Advanced Warrior
 
Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by JohnE View Post


Then, you need to create a php file called "directions-helper.php" (whatever you choose to name it must match the name next to "action" in the form code) with the following code:

PHP Code:
<?php
*address = *_POST['destination'];
*
start = *_POST['start'];
echo 
"<IFRAME SRC='http://m.bing.com/directions#/Maps?q=a.~a. &mode=1&autoredirect=0' SCROLLING='no' WIDTH='100%' HEIGHT='550px' FRAMEBORDER='no'></IFRAME>"
?>
Thanks for that code.

One question I had was what do I need to input in the "start address" and "destination address" if my code is already calling back info from other php as far as the address is concerned? I don't want it to be static, but call from a php file that has this info already and for the denstination use what the user filled in an input box I have on the there below the map of the business.

"...=a.<PUT START ADDRESS HERE>~a.<PUT DESTINATION ADDRESS HERE> &mode=1&autoredirect=0"

So I have this code on there to call up the business's address:

<input type="hidden" name="daddr" value="<?php echo $address1; ?> <?php echo $address2; ?>" />

and then below that

<label>Enter Starting Location:</label>
<input name="saddr" type="text" class="input" />
<input type="submit" name="submit" class="button" value="Get Directions" />
</fieldset>
</form>


So what should I put in as far php code goes in the "<PUT START ADDRESS HERE>" and "<PUT DESTINATION ADDRESS HERE>" spots to make your code work?

mrtrance is offline  
Unread 8th Jun 2012, 04:46 PM   #14
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

No problem.

I just noticed that some variables in the PHP set of code were removed (by forum software) after I submitted the post:

So here's the full PHP set of code:

PHP Code:
<?php
*address = *_POST['destination'];
*
start = *_POST['start'];
echo 
"<IFRAME SRC='http://m.bing.com/directions#/Maps?q=a.*start~a.*address &mode=1&autoredirect=0' SCROLLING='no' WIDTH='100%' HEIGHT='500px' FRAMEBORDER='no'></IFRAME>"
?>
Replace each "*" with "$", 6 total.

Here's the HTML set of code once more:

HTML Code:
<form method="POST" action="directions-helper.php">
 <fieldset>
  <input type="hidden" name="destination" value="DESTINATION ADDRESS" />
  <input name="start" type="text" class="input" /><br />
  <input type="submit" name="submit" class="button" value="Get Directions" />
 </fieldset>
</form>
These 2 sets of code (which live in 2 separate files) are all you need to get it to work.

The HTML set of code will show a form which already contains the destination address (specific to the website and client in question), namely:

HTML Code:
<input type="hidden" name="destination" value="DESTINATION ADDRESS" />
The DESTINATION ADDRESS part needs to be replaced by your client's business address.

The HTML set of code will also show a text box for the user to enter their "start" address, and a "Get Directions" button that they will subsequently hit.

The PHP set of code already contains the "Bing Directions" URL appended with all the necessary parameters, namely:

URL:
PHP Code:
echo "<IFRAME SRC='http://m.bing.com/directions#/Maps?q=a.*start~a.*address &mode=1&autoredirect=0' SCROLLING='no' WIDTH='100%' HEIGHT='550px' FRAMEBORDER='no'></IFRAME>"
and Parameters:
PHP Code:
*address = *_POST['destination'];
*
start = *_POST['start']; 
Once the user enters their "start" address and hits "Get Directions", the PHP set of code will take care of the rest - ie, show the corresponding driving directions.

You don't need anything else as far as the "showing directions" part.

Diregard all of this:

Originally Posted by mrtrance View Post


"...=a.<PUT START ADDRESS HERE>~a.<PUT DESTINATION ADDRESS HERE> &mode=1&autoredirect=0"

So I have this code on there to call up the business's address:

<input type="hidden" name="daddr" value="<?php echo ; ?> <?php echo ; ?>" />

and then below that

<label>Enter Starting Location:</label>
<input name="saddr" type="text" class="input" />
<input type="submit" name="submit" class="button" value="Get Directions" />
</fieldset>
</form>
John

JohnE is offline  
Unread 8th Jun 2012, 05:49 PM   #15
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

If you'd like to take it a step further, use the PHP code below instead of the one above; it does the exact same thing except it adds a layer of security to the page. Your client will appreciate it, should it come up:

PHP Code:
<?php
*address strip_tags(*_POST['destination']);
*
start strip_tags(*_POST['start']);
echo 
"<IFRAME SRC='http://m.bing.com/directions#/Maps?q=a.*start~a.*address &mode=1&autoredirect=0' SCROLLING='no' WIDTH='100%' HEIGHT='550px' FRAMEBORDER='no'></IFRAME>"
?>
(Replace each "*" with "$", 6 total)

JohnE is offline  
Unread 8th Jun 2012, 06:03 PM   #16
Advanced Warrior
 
Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by JohnE View Post

No problem.

I just noticed that some variables in the PHP set of code were removed (by forum software) after I submitted the post:

So here's the full PHP set of code:

PHP Code:
<?php
*address = *_POST['destination'];
*
start = *_POST['start'];
echo 
"<IFRAME SRC='http://m.bing.com/directions#/Maps?q=a.*start~a.*address &mode=1&autoredirect=0' SCROLLING='no' WIDTH='100%' HEIGHT='500px' FRAMEBORDER='no'></IFRAME>"
?>
Replace each "*" with "$", 6 total.

Here's the HTML set of code once more:

HTML Code:
<form method="POST" action="directions-helper.php">
 <fieldset>
  <input type="hidden" name="destination" value="DESTINATION ADDRESS" />
  <input name="start" type="text" class="input" /><br />
  <input type="submit" name="submit" class="button" value="Get Directions" />
 </fieldset>
</form>
These 2 sets of code (which live in 2 separate files) are all you need to get it to work.
Just tried it your way and when I hit get directions it takes me to Bing mobile site with a empty box on top to input and the address I entered in the box on the form previously right below it. It did not spit out the street by street directions to the place of business.

Something I'm doing wrong here?

mrtrance is offline  
Unread 8th Jun 2012, 06:28 PM   #17
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Are you using it on a PC browser? If so, you will get redirected to the site you mentioned. As far as I know, it's a Bing redirect - nothing you can do about that.

Try it on an emulator (such as Mobilizer - not a simulator), or Safari with user-agent set to iPhone, or on an actual smart-phone. It works.

JohnE is offline  
Unread 8th Jun 2012, 06:36 PM   #18
Advanced Warrior
 
Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by JohnE View Post

Are you using it on a PC browser? If so, you will get redirected to the site you mentioned. As far as I know, it's a Bing redirect - nothing you can do about that.

Try it on an emulator (such as Mobilizer - not a simulator), or Safari with user-agent set to iPhone, or on an actual smart-phone. It works.
Yup works on my mobile now. Thanks.

mrtrance is offline  
Unread 8th Jun 2012, 07:00 PM   #19
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

No problem, glad you got it working.

JohnE is offline  
Unread 9th Jun 2012, 06:12 PM   #20
Active Warrior
 
Join Date: 2009
Posts: 73
Thanks: 29
Thanked 16 Times in 15 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by JohnE View Post

Google directions has been down for a few weeks now, I've been using Bing instead... working so far.
I have read about this issue elsewhere, however I am in the UK and google directions on my iPhone is working perfectly, for any location worldwide.

It is working both directly via the maps app and when the app opens via a map on a mobile site.

Are people having the issue on the maps app, or only from mobile sites?

Could someone expand on the issue, and possibly give me an example that I can try fom here?

Thanks CKventure
Ckventure is offline  
Unread 11th Jun 2012, 06:11 PM   #21
Active Warrior
 
Join Date: 2009
Posts: 73
Thanks: 29
Thanked 16 Times in 15 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

I am still keen to understand exactly what the issue is with google maps / directions, and to confirm if th problem does not occur in the UK.

Thanks CKventure
Ckventure is offline  
Unread 12th Jun 2012, 10:36 PM   #22
Digital Marketer
War Room Member
 
WillR's Avatar
 
Join Date: 2010
Location: Australia
Posts: 12,472
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

The only issue with all of this is...

I don't like Bing and would never use them.

WillR is offline  
Unread 13th Jun 2012, 01:50 PM   #23
New Warrior Member
 
Join Date: 2010
Posts: 9
Thanks: 7
Thanked 3 Times in 3 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Have you found a way to make Google Maps work?

Originally Posted by WillR View Post

The only issue with all of this is...

I don't like Bing and would never use them.
cashman22 is offline  
Unread 13th Jun 2012, 02:19 PM   #24
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by WillR View Post

The only issue with all of this is...

I don't like Bing and would never use them.
I can understand that with the exception that currently, I like Google Directions even less... It ain't working.

If Bing is offering a solution where Google is failing to deliver, then I say more power to them. Getting a functionality to work on a client's mobile site supersedes my personal preferences.

JohnE is offline  
Unread 13th Jun 2012, 02:19 PM   #25
Warrior Member
 
Join Date: 2012
Posts: 13
Thanks: 0
Thanked 3 Times in 3 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

i think that there is not always problem with google .its much better for me.
alivestock is offline  
Unread 22nd Jun 2012, 05:36 PM   #26
Active Warrior
 
Join Date: 2009
Posts: 73
Thanks: 29
Thanked 16 Times in 15 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by Ckventure View Post

I have read about this issue elsewhere, however I am in the UK and google directions on my iPhone is working perfectly, for any location worldwide.

It is working both directly via the maps app and when the app opens via a map on a mobile site.

Are people having the issue on the maps app, or only from mobile sites?

Could someone expand on the issue, and possibly give me an example that I can try fom here?

Thanks CKventure
Posts continue to refer to the google maps problem, which is either not a problem in the UK or I can't see the problem.

I would be keen if someone could describe the problem.

Thanks CKventure
Ckventure is offline  
Unread 22nd Jun 2012, 08:02 PM   #27
HyperActive Warrior
 
Join Date: 2008
Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

The problem is with Google Directions. This is where a mobile site user puts in their location (using their smart-phone on a mobile site’s "directions page") and are given driving directions to the site owner's location.

This has been a problem over the last couple of months in the U.S. Instead of showing the actual directions, Google Directions redirects the user to an error page.

I would say that if Google Directions is working in the UK (and nearby countries), then a mobile site for a UK business should be OK, as someone in the US (with a U.S. IP address) would not, at least not likely, look to get driving directions to it (Google Maps still works).

JohnE is offline  
The Following User Says Thank You to JohnE For This Useful Post:
Unread 23rd Jun 2012, 08:39 AM   #28
Warrior Member
 
PaulGC's Avatar
 
Join Date: 2009
Location: Runcorn, Cheshire
Posts: 6
Thanks: 0
Thanked 6 Times in 5 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Originally Posted by Ckventure View Post

Posts continue to refer to the google maps problem, which is either not a problem in the UK or I can't see the problem.

I would be keen if someone could describe the problem.

Thanks CKventure
I am in the UK, my demo mobile sites are hosted on US server but the directions/maps I am using are for the UK. Although I have a site with a php script that does pull in a Google map, when you tap the image it goes to the error page that was mentioned by the initiator of this thread.[Link was http://maps.google.com/m/local?q=maps.google.com/m/local?q=<?php echo rawurlencode($address1); ?> <?php echo rawurlencode($address2); ?>]

The solution is to ref the image with the url off the Google Maps page for the location you want. Once a user has tapped on the map image they can use their phone's functions and Google maps to get directions.[Link would be maps.google.co.uk/maps?q=<?php echo rawurlencode($address1); ?> <?php echo rawurlencode($address2); ?>&t=m&z=16 in my script]

In addition the separate 'Get Directions' form on my page does not work and goes to the error page that was mentioned by the initiator of this thread..

So Bing it is.
PaulGC is offline  
The Following User Says Thank You to PaulGC For This Useful Post:
Unread 26th Jun 2012, 04:28 PM   #29
Warrior Member
 
PaulGC's Avatar
 
Join Date: 2009
Location: Runcorn, Cheshire
Posts: 6
Thanks: 0
Thanked 6 Times in 5 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Having seen the Bing directions page in action a few times on my phone I'm removing it from all my sites, its rubbish; meaning it gives a very poor user experience. I'll stick to telling them to tap the map to get directions from Google Maps
PaulGC is offline  
Unread 12th Nov 2012, 11:28 PM   #30
Warrior Member
 
Join Date: 2012
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Google still works use url: Google Maps instead of "http://maps.google.com/m/directions"
ebat32 is offline  
The Following User Says Thank You to ebat32 For This Useful Post:
Unread 15th Nov 2012, 06:28 AM   #31
Howdy
War Room Member
 
Valdor Kiebach's Avatar
 
Join Date: 2008
Location: England
Posts: 681
Thanks: 103
Thanked 150 Times in 124 Posts
Default
Re: Anyone else have problems with google maps/directions for mobile
Share on: 
fb share twitter share gplus share more share

Open streetmap is something I am keeping an eye for future use. It looks like it could be usefull.
Valdor Kiebach is offline  
Closed Thread


Bookmarks

Tags
google, maps or directions, mobile, problems


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 09:02 AM.