Template:MapWithDirections >

Template:MapWithDirections

De $1

Table des matières
aucun titre
This template takes the following arguments:
  • address: adress to highlight on map
  • title: title on map marker
  • description: description on map marker
  • label (optional): input box label

{{ live.map{ address: args.address, title: args.title, description: args.description, kind: "road", publish: @directions, subscribe: @from, zoom: 15 } }}

{{ dhtml.form{ inputs: [ { label: args.label ?? 'Driving from:', field: "from" },  { field: "to", value: args.address, hidden: true } ], button: "Get directions to " .. args.title, publish: @from } }}
{{ dhtml.table{ columns: [ { label: "Directions", field: "text" }, { label: "Distance", field: "info" } ], subscribe: @directions } }}

Mots clés:
 
Images (0)
 
Commentaires (0)
Vous devez être connecté pour poster un commentaire.