| | #1 |
| Dave Zegers War Room Member Join Date: 2011 Location: The Hague
Posts: 559
Thanks: 229
Thanked 207 Times in 118 Posts
|
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 |
| |
| | #2 |
| Warrior Member War Room Member Join Date: 2011
Posts: 25
Thanks: 16
Thanked 0 Times in 0 Posts
|
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.
|
| |
| | #3 |
| Warrior Member Join Date: 2012
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
|
seems fine for me.huh
|
| |
| | #4 |
| Digital Marketer War Room Member Join Date: 2010 Location: Australia
Posts: 12,472
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
|
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. |
| | |
| |
| | #5 |
| Advanced Warrior Join Date: 2011 Location: USA
Posts: 550
Thanks: 228
Thanked 166 Times in 108 Posts
|
Wow, that's irritating. If they keep doing things like this, Google will lose all the goodwill they've engendered from developers.
|
| |
| | #6 |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
Google directions has been down for a few weeks now, I've been using Bing instead... working so far.
|
| | |
| |
| | #7 |
| Advanced Warrior Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
|
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?
|
| | |
| |
| | #8 |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
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) |
| | |
| |
| | #9 | |
| Advanced Warrior Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
|
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> | |
| | ||
| |
| | #10 |
| New Warrior Member Join Date: 2010
Posts: 9
Thanks: 7
Thanked 3 Times in 3 Posts
|
I would like to know how to add that Bing url to the above structure as well. Thanks |
| |
| | #11 |
| New Warrior Member Join Date: 2010
Posts: 9
Thanks: 7
Thanked 3 Times in 3 Posts
| Code: http://m.bing.com/search/search.aspx?A=routepointsentry&PA=1&SI=0 |
| |
| | #12 |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
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> 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: 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 |
| | |
| |
| | #13 | |
| Advanced Warrior Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
|
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? | |
| | ||
| |
| | #14 | |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
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: 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> 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 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: PHP Code: You don't need anything else as far as the "showing directions" part. Diregard all of this:
| |
| | ||
| |
| | #15 |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
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: |
| | |
| |
| | #16 | |
| Advanced Warrior Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
|
Something I'm doing wrong here? | |
| | ||
| |
| | #17 |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
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. |
| | |
| |
| | #18 | |
| Advanced Warrior Join Date: 2008
Posts: 966
Thanks: 4
Thanked 24 Times in 24 Posts
|
| |
| | ||
| |
| | #19 |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
No problem, glad you got it working.
|
| | |
| |
| | #20 | |
| Active Warrior Join Date: 2009
Posts: 73
Thanks: 29
Thanked 16 Times in 15 Posts
|
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 | |
| |
| | #21 |
| Active Warrior Join Date: 2009
Posts: 73
Thanks: 29
Thanked 16 Times in 15 Posts
|
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 |
| |
| | #22 |
| Digital Marketer War Room Member Join Date: 2010 Location: Australia
Posts: 12,472
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
|
The only issue with all of this is... I don't like Bing and would never use them. |
| | |
| |
| | #23 |
| New Warrior Member Join Date: 2010
Posts: 9
Thanks: 7
Thanked 3 Times in 3 Posts
| |
| |
| | #24 | |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
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. | |
| | ||
| |
| | #25 |
| Warrior Member Join Date: 2012
Posts: 13
Thanks: 0
Thanked 3 Times in 3 Posts
|
i think that there is not always problem with google .its much better for me.
|
| |
| | #26 | |
| Active Warrior Join Date: 2009
Posts: 73
Thanks: 29
Thanked 16 Times in 15 Posts
|
I would be keen if someone could describe the problem. Thanks CKventure | |
| |
| | #27 |
| HyperActive Warrior Join Date: 2008 Location: Toronto, ON
Posts: 108
Thanks: 11
Thanked 14 Times in 13 Posts
|
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). |
| | |
| |
| The Following User Says Thank You to JohnE For This Useful Post: |
| | #28 | |
| Warrior Member Join Date: 2009 Location: Runcorn, Cheshire
Posts: 6
Thanks: 0
Thanked 6 Times in 5 Posts
|
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. | |
| |
| The Following User Says Thank You to PaulGC For This Useful Post: |
| | #29 |
| Warrior Member Join Date: 2009 Location: Runcorn, Cheshire
Posts: 6
Thanks: 0
Thanked 6 Times in 5 Posts
|
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
|
| |
| | #30 |
| Warrior Member Join Date: 2012
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
|
Google still works use url: Google Maps instead of "http://maps.google.com/m/directions"
|
| |
| The Following User Says Thank You to ebat32 For This Useful Post: |
| | #31 |
| Howdy War Room Member Join Date: 2008 Location: England
Posts: 681
Thanks: 103
Thanked 150 Times in 124 Posts
| Open streetmap is something I am keeping an eye for future use. It looks like it could be usefull.
|
| |
|
| Bookmarks |
| Tags |
| google, maps or directions, mobile, problems |
| |