enfrdeitptrues
Advertising

Documentation of Tags

DistanceCalculate

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

{DistanceCalculate apikey="" calc_tag="" latitude="" longitude="" label_start="" label_end="" button_submit="" show_start="" show_end="" enable_start="" enable_end="" route_start="" route_end="" map_width="" map_height="" input_with="" / }

DistanceCalculate based of google, called a Tag (DistanceCalculateAjax) for your own calculation. It needs a google API Key.

Params for NoDisposableEmailCheck:

apikey: your google api key

calc_tag: the Tag name for your calculation

default: DistanceCalculateAjax

latitude: the latitude for the center of the map on start

default: 51.227741

longitude: the longitude for the center of the map on start

default: 6.773456

label_start: The label for the input start

default: Start

label_end: The label for the input end

default: End

show_start: (yes | no) display the input field start

default: yes

show_end: (yes | no) display the input field end

default: yes

enable_start: (yes | no) enable the input field start

default: yes

enable_end: (yes | no) display the input field end

default: yes

route_start: set a default to the input field start

default: empty

route_end: set a default to the input field end

default: empty

map_width: set the width of the map

default: 100%

map_height: set the height of the map

default: 500px

input_width: set the width of the input felds

default: 50%

The tag called via Ajax to a tag tag DistanceCalculateAjax to calculate, so you need the JPluggerAjaxBase tag. See JPluggerAjaxBase

Modify DistanceCalculateAjax if you want to make a other calculation. Here is only a example calculation to show the output.

How to use it:

{JPluggerAjaxBase /}
{DistanceCalculate apikey="AIzaSyB-Ub8FV5LsFhyQzhxKXbZVLqw67Ff81RM" /} // The apikey is prodected to our website, you can't use this apikey.

Example:

The result after a calculation will be displayed under the map window.


Available for:

Advertising

© 2010 - 2017 FINWICK® UG

We have 5 guests and no members online

enfrdeitptrues