Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
route planner plugin ?
#1
Dear All,

is there any route planner plugin availabe to add a google maps based route planner to the website ?

Like this for wordpress: https://wordpress.org/plugins/google-rou...reenshots/


Hope anyone can help.

best regards,

Harald
Reply
#2
AFAIK there's none that covers that scenario. The Google Map plugin doesn't allow directions.

All the Google Maps API's (embed, Javascript, Static Maps) require quite advanced Javascript knowledge or multiple steps to draw a path map.
You need to either resp. 1) get a developer key, 2) initialize via Javascript and set latitude & longitude points, or 3) manually plot the path between start & destination.

The quickest and easiest solution would be to take a screenshot of your Google map and put it in an img tag.
I also found 1 online generator which works for directions
Reply
#3
http://www.online-tech-tips.com/google-s...r-website/
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
yes i know the solution which shawn show with the link.

But i like solution (if it is possible) to add only a syntax (for example: (%routeplanner%) to the GS page and the
source of that like


<form action=”http://maps.google.com/maps” method=”get” target=”_blank”>
Enter your starting address:
<input type=”text” name=”saddr” />
<input type=”hidden” name=”daddr” value=”854 Deerfield Rd, Allen, TX” />
<input type=”submit” value=”get directions” />
</form>

with my modifications are inside a plugin which handle my changes.

Is it possible to do that with any plugin ?

Why i like solution like this is the i use a solution like this <form>.......</form> and if user make changes in the text area of the page and save changes it does not work anymore. Sad
Reply
#5
(2015-09-16, 03:31:36)phpman Wrote: yes i know the solution which shawn show with the link.

But i like solution (if it is possible) to add only a syntax (for example: (%routeplanner%) to the GS page and the
source of that like


<form action=”http://maps.google.com/maps” method=”get” target=”_blank”>
Enter your starting address:
<input type=”text” name=”saddr” />
<input type=”hidden” name=”daddr” value=”854 Deerfield Rd, Allen, TX” />
<input type=”submit” value=”get directions” />
</form>

with my modifications are inside a plugin which handle my changes.

Is it possible to do that with any plugin ?

Why i like solution like this is the i use a solution like this <form>.......</form> and if user make changes in the text area of the page and save changes it does not work anymore. Sad

Wait a bit. I will make plugin for you. Smile
Reply
#6
I've updated my shortcodes plugin to enable directions support.

Version 1.1 now allows you to specify a start and end point and an option to specify whether a directions panel is displayed or not.

Just install and use the shortcode below on your page.

[googlemap z='10' w=600'' h='400' start="dundrum, dublin" end="crumlin, dublin" /]

Adding directions="true" will add a direction panel and list the route.

z is the zoom level
w,h width and height in pixels
start and finish are the start and end points.
My Github Repos: Github
Website: DigiMute
Reply
#7
(2015-09-16, 06:07:43)n00dles101 Wrote: I've updated my shortcodes plugin to enable directions support.

Version 1.1 now allows you to specify a start and end point and an option to specify whether a directions panel is displayed or not.

Just install and use the shortcode below on your page.

[googlemap  z='10' w=600'' h='400' start="dundrum, dublin" end="crumlin, dublin" /]

Adding directions="true" will add a direction panel and list the route.

z is the zoom level
w,h width and height in pixels
start and finish are the start and end points.

Nice and universal solution. Smile
Reply
#8
phpman, I sent you the link to my small plugin. Test it.
Reply




Users browsing this thread: 1 Guest(s)