googleDirections - To Here - plugin |
| Written by kksou | ||||||||||||||||
| Monday, 01 June 2009 | ||||||||||||||||
|
This plugin is an extension of the googleDirections plugin. You specify a designated place to be the destination, and let the user enter the adddress he or she is coming from. Google will then provide the driving or walking directions from the user-specified address to your designated place. Available for all Joomla versions: Joomla 1.0.x, native 1.5.x, 1.6.x and 1.7.x! Be a SponsorIf you find this plugin useful, Secure Payments by PayPal. Unique Features
User ReviewThis plugin is listed in the The Joomla! Extensions Directory: To Here plugin for googleDirections If you like this plugin, please post a review at the Joomla! Extensions Directory Latest Versionv1.0.8 (for Joomla 1.0), v1.5.8 (for Joomla 1.5), v1.6.8 (for Joomla 1.6), v1.7.8 (for Joomla 1.7), v2.5.8 (for Joomla 2.5)
Geocoding your addressIf you wish to know the latitude and longitude of your start point or end point, you can find out here: Free Geocoder v2.0 by kksou. googleMaps PluginThis plugin is for showing directions using Google Maps API. If you just need a simple map (without any driving directions), you can use the googleMaps plugin. googleDirections PluginThis plugin has the destination fixed at your designated place. If you want to be able to specify both the starting point and destination as variables, please use the googleDirections plugin. DemoBelow you can see a live demo of the plugin. The destination is Google Inc. in Mountain View, California. Enter some address in US, and let Google shows you how to get there.
Tutorials
{googleDir_tohere width=400 height=360
home_addr="1600 Amphitheatre Parkway, Mountain View, CA 94043"}
Note that:
{googleDir_tohere width=400 height=360
home_lat=37.4219720, home_long=-122.0841430}
DownloadFor Joomla 1.0, please make sure you have installed googleMaps plugin v1.0.18 and googleDirections plugin v1.0.12 for this plugin to work.For Joomla 1.5 and above, the installation package will also install the latest version of googleMaps plugin and googleDirections plugin required for this plugin. Joomla 1.0.x: googleDirections_tohere_v1.08.zip
Joomla 1.5.x: googleDirections_tohere_v1.58_package.zip Joomla 1.6.x: googleDirections_tohere_v1.68_package.zip Joomla 1.7.x: googleDirections_tohere_v1.78_package.zip Joomla 2.5.x: googleDirections_tohere_v2.58_package.zip Remove the "Powered by" linksIf you find the plugin useful and would like to use the plugin without the "Powered-by" links, you may do so by purchasing a "Powered-by" removal license for only USD $10 per site. Secured payment is processed by 2checkout.com. All major credit cards are accepted, including Visa, Mastercard and American Express, etc. You can also pay by PayPal. Once the transaction is completed, you will be given a link to download the version with the "Powered by" links removed. History
This is in response to Chris's request to allow multiple lines for the home label. For new lines, please use ~ (similar to that of the googleMaps plugin). Please refer to here for details. Fixed the bug: <br /> appears in destination. Thanks to Rentawebguy for highlighting this. Also allows the user to specify a default country. This is in response to Chriscundy's request. You can view a sample here. Fixed the bug: "Notice: Undefined variable: map_id in /var/www/html/rcl122/plugins/content/googleDirections_tohere/googleDirections_tohere.lib.php on line 126". Thanks to Rockiesrider for highlighting this. allow user to specify default country allow user to display multiple maps with to_here directions Native version of the googleMaps plugin for Joomla 1.6 and Joomla 1.7! Also, support for PHP v5.3.8 for both Joomla 1.6 and Joomla 1.7. Now uses Google Maps API v3! Key advantages in Google Maps API v3 includes: Support for multiple stopovers! Thanks to feedback from Florian who found out that the reverse geocode lookup by Google sometimes do not gives the right mapping. Have modified the code so that the googleDirections_tohere plugin now maps the exact location when latitude/longitude is given when specifying the "home position". One other new feature for this new version is that: the user can now press the Enter key (as oppose to pressing the "Get Directions" button) to get the directions to your home position. Native version of the googleDirections - To Here - plugin for Joomla 2.5! |
||||||||||||||||
| < Prev | Next > |
|---|





Comments
1/ How to turn on the bicycle mode?
2/ How to turn on street view?
3/ Can't get the label to be seen on map.
For (1) How to turn on the bicycle mode?
Please refer to: Tutorial 03: Travel Modes http://www.kksou.com/php-gtk2/Joomla-Tips-Techniques/googleDirections-To-Here-plugin-Tutorial-03-Travel-Modes.php
For (2) How to turn on street view?
Did you see the yellow "Pegman" on the top left hand corner of the map? Click and drag that Pegman to the place you want to see the street view.
Details here: maps.google.com/help/maps/streetview/learn/using-street-view.html
For (3) Can't get the label to be seen on map
Please refer to: Tutorial 02: Adding Label to Home Address http://www.kksou.com/php-gtk2/Joomla-Tips-Techniques/googleDirections-To-Here-plugin-Tutorial-02-Adding-Label-to-Home-Address.phpa
Regards,
/kksou
http://dimondtuxedo.cloudaccess.net/contact-us.html
I had the same problem, try to clean your vars from styles. F.e. copy paste to windows notepad and than back to your joomla.
1/ How to make label visible at start?
2/ How to make it to specify road from closest street?? Cos for now when I will put a close one street, it will show me a way from street with same name but in other town, mostly like 500miles further?
regards
I'm using a Joomla version 1.5 and installed the correct version of this plugin corrosponding to my joomla but whenever I embed the code:{googleDir _tohere width=320 height=360 dir_width=275 home_addr="Handelstraat 9, 7817 RC Geesbrug, Nederland" lang=de}
The top of my page shows:
table.googleDirection s_tohere td { font-family: Verdana, Arial, sans serif; font-size: 11px; margin: 2px; } table.googleDirection s_tohere th { background-color:#EEEEEE; } table.googleDirection s_tohere img { color: #000000; } table.googleDirection s_tohere button { font-family: Verdana, Arial, sans serif; font-size: 11px; } table.googleDirection s_tohere input { font-family: Verdana, Arial, sans serif; font-size: 11px; } Can't seem to get rid of this code not sure what I've done wrong here. Can ya help me pls?
Have just emailed you a modified version that should make the codes disappear.
Do let me know if it works, ok?
Regards,
/kksou
thanks for great plugin! I need to know is there a way to show multiple Direction To Here markers on same map. So to have one map, with two marks, is this posible?
Do you want to elaborate what are you trying to achieve?
The plugin is for a simple purpose: You want to allow people to go from Point A to your place (Point B). There's only one Point B. So why should there be multiple markers?
Regards,
/kksou
Is it possible to add a Print-Route-button or an email-route-button after the route ist shown on the screen? because when i want to print it regular i have to print the complete page.
Thanks for an short answer if anyone knows some thing.
Greetings
Christoph
Sorry for not replying earlier. I actually tried to work on the feature, but it's not as easy as it seems. Google does not provide any API for this purpose, so you basically have to write the code yourself from scratch to achieve what you've mentioned.
Will let you know if I managed to get it working.
Regards,
/kksou
thanks for the plug in
i am using the googleDirection -tohere plug in.
I need to add a 3 mile radius from a postcode on the map and want to display a message to postcodes outside the 3 mile radius.
Thanks
This is a simple plugin with one purpose in mind: to give direction from Point A (one specified by user) to your designated place. It does not do other things, like the one your desired.
There are many other heavy-weight plugins which do very complicated stuff. You might want to try those in joomla.org and see if there's one that suit your needs.
Regards,
/kksou
Any idea where I can change this. I don't want it to change the background.
thanks....
Thanks
Regards,
/kksou
thanks for the plug in
i am using the googleDirection -tohere plug in.
how to remove the map description
Would you please elaborate what do you mean by "map description"?
Regards,
/kksou
We purchase a subscription to have the powered by ...... to be removed on Google Directions To Here so that we can use this plugin with FlexiContent for all our categories but we can't get it to work, when we use the plugin, even in default Joomla article, we get the plugin code {google_Dir.... but the map is not showing, can you please assist us to make it working as we like this plugin very much!
it seems that I don't get the plugin to understand my end address. the label stays in the middle of the south atlantic ocean. i also don't get directions.
I have tried it with an address and with lattitude and longtitude. this is my code
{googleDir_tohe re width=400 height=360 dir_width=275 mode=driving home_lat=51.2322343, home_long=5.432169 home_label="Google Inc." lang=nl}
Please refer to the tutorial: googleDirections - To Here - plugin Tutorial 01: Getting Started
Please try the sample code there first and see if it works on your server.
If it works, then replace with your address.
Please also use the Google Geocoder v2.0, key in your address and double check that your longitude and latitude are correct.
Regards,
/kksou
Could i get it to pull only the miles and travel time and nothing more?
Ignore the directions and the map just produce the simple miles apart and projected travel time?
I am comfortable with adjusting code if its even possible to do in this case.
I have recently started using the To Here plugin for googleDirection s and I have 2 questions regarding its function:
1) When the directions appear sometimes it is duplicated? Is there anyone to stop this from happening?
2)After the directions have been generated, I click on the print button within my Joomla page and it opens a new window to print from, however it is just the map without the directions and it requires you to reinsert the address you are coming from. Is it possible to have the print screen keep the original "Coming from" address in that print window along with the directions and map?
Thanks.
1) Can you show me a url that displays this? Will need to do a view source of the page to gather more clues as to what might be the problem.
2) Currently joomla/google does not provide an API to do so.
Regards,
/kksou
Is there a seperate license required if this plug-in is used on our small company website?
Also, our site is not online yet and still under development. Is there an email I can send it to you not in a public forum?
Thanks again!
This is a very nice and useful plugin,thank you for providing it for free. It works fine however I have a small glitch on my side. The direction talk bubble graphic is broken and the text is set to white which is not visible unless you highlight it. Here the sample image http://i43.tinypic.com/wmc5w.jpg
Just in case you need to look at codes here is the link of my site http://guesthousehuahinbdl.com/index.php/en/locations/get-direction/transportation
Thanks
The entire googlemap is returned by google.com. It's not set in my plugin.
Please refer to googleMaps documentation
Search for "class InfoBoxOptions" and then the "boxClass" properties. You will see that the CSS is defined by "infoBox".
So try to set "infoBox" in your Joomla style sheet and see if you can change the font color or background color.
Regards,
/kksou
RSS feed for comments to this post