GetSimple Support Forum

Full Version: route planner plugin ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
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
(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
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.
(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
phpman, I sent you the link to my small plugin. Test it.