Difference between revisions of "Widget:GTform"
m |
m |
||
Line 27: | Line 27: | ||
google.maps.event.addDomListener(window, "resize", function() { | google.maps.event.addDomListener(window, "resize", function() { | ||
− | |||
google.maps.event.trigger(map, "resize"); | google.maps.event.trigger(map, "resize"); | ||
map.setCenter(center); | map.setCenter(center); | ||
Line 81: | Line 80: | ||
</script> | </script> | ||
<div id="info"> | <div id="info"> | ||
− | <label>from:</label> | + | <div style="display:inline-block;margin:2px;"><label>from:</label> |
− | + | <input class="input" id="from" value=""></div> | |
− | + | <div style="display:inline-block;margin:2px;"><label>to:</label> | |
− | <input class="input" id="to" value=""> | + | <input class="input" id="to" value=""></div> |
− | <div>Depart at | + | <div style="margin:2px;">Depart at |
<select id="depart"> | <select id="depart"> | ||
<option value="03:00">3:00 am</option> | <option value="03:00">3:00 am</option> | ||
Line 156: | Line 155: | ||
<option value="02:30">2:30 am</option> | <option value="02:30">2:30 am</option> | ||
</select> (Today and next day if time has passed) </div> | </select> (Today and next day if time has passed) </div> | ||
− | <button id="go">Get Transit directions</button> | + | <button id="go" style="margin:2px;">Get Transit directions</button> |
</div> | </div> | ||
<div id="transit-wpr"> | <div id="transit-wpr"> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |