Commit 654768dc authored by Sven Franck's avatar Sven Franck

fixed CSS, added Google Maps example gadget

parent 7ea2c858
...@@ -3,9 +3,6 @@ article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,su ...@@ -3,9 +3,6 @@ article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,su
/* splash */ /* splash */
.ui-mobile-rendering > * { visibility:visible!important; /* no need */} .ui-mobile-rendering > * { visibility:visible!important; /* no need */}
/*
.splash:before { width: 100%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: block; height: 115%; z-index: 999999; background-color: white; content: "offline version initializing..."; text-align: center; color: #bbb; text-shadow: none; line-height: 150px; vertical-align: bottom; }
*/
/* webfonts /* webfonts
* { font-family: "Open Sans",Arial; font-size: 14.5px; } */ * { font-family: "Open Sans",Arial; font-size: 14.5px; } */
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
min-height:600px; min-height:600px;
z-index:999999; z-index:999999;
background:#fff /* url(../img/xl_logo.jpg) */ no-repeat center center; background:#fff /* url(../img/xl_logo.jpg) */ no-repeat center center;
content:"Initiliazing Cloud-Quote. Please wait..."; content:"Loading...";
font-size: 1.5em; font-size: 1.5em;
text-align:center; text-align:center;
color:#bbb; color:#bbb;
......
.splash{height:99.9%;overflow:hidden}.splash:before{width:100%;position:absolute;top:0;bottom:0;left:0;right:0;display:block;height:115%;min-height:600px;z-index:999999;background:#fff /* url(../img/xl_logo.jpg) */ no-repeat center center;content:"Initiliazing Cloud-Quote. Please wait...";font-size: 1.5em; text-align:center;color:#ccc;text-shadow:none;line-height:150px;vertical-align:bottom;font-family:Arial} .splash{height:99.9%;overflow:hidden}.splash:before{width:100%;position:absolute;top:0;bottom:0;left:0;right:0;display:block;height:115%;min-height:600px;z-index:999999;background:#fff /* url(../img/xl_logo.jpg) */ no-repeat center center;content:"Loading...";font-size: 1.5em; text-align:center;color:#ccc;text-shadow:none;line-height:150px;vertical-align:bottom;font-family:Arial}
\ No newline at end of file \ No newline at end of file
{"Cloud-PERF-COMP1395-vmWare.vCloud-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 236.79300000000001, "avg": 216.93312500000002, "min": 212.93000000000001}, "pystone": {"max": 0.79000000000000092, "avg": 0.71208333333333329, "min": 0.60000000000000053}}, "Cloud-PERF-COMP1288-Rackspace_Dallas-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 290.62599999999998, "avg": 284.50783333333339, "min": 276.56700000000001}, "pystone": {"max": 0.78000000000000114, "avg": 0.75708333333333344, "min": 0.73000000000000043}}, "Cloud-PERF-COMP1394-Atlantic.Net-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 361.65100000000001, "avg": 278.8559166666667, "min": 234.91399999999999}, "pystone": {"max": 1.0, "avg": 0.69624999999999992, "min": 0.58999999999999986}}, "Cloud-PERF-COMP156-ERP5-TEST-NODE-DS61-XA": {"sqlbench": {"max": 106.496, "avg": 106.496, "min": 106.496}, "pystone": {"max": 0.39000000000000012, "avg": 0.39000000000000012, "min": 0.39000000000000012}}, "Cloud-PERF-COMP1393-Joyent_USEast1-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 353.30500000000001, "avg": 294.88108333333338, "min": 239.81}, "pystone": {"max": 1.0499999999999989, "avg": 0.74874999999999992, "min": 0.54000000000000092}}, "Cloud-PERF-COMP1407-AWS_US-EAST-1c-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 505.822, "avg": 475.92754166666668, "min": 468.68299999999999}, "pystone": {"max": 1.5700000000000003, "avg": 1.5012500000000006, "min": 1.4399999999999977}}, "Cloud-PERF-COMP1392-Azure_East_US-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 982.60699999999997, "avg": 878.06452173913056, "min": 789.59100000000001}, "pystone": {"max": 0.9399999999999995, "avg": 0.79521739130434765, "min": 0.75999999999999979}}}
\ No newline at end of file
{"Cloud-PERF-COMP1395-vmWare.vCloud-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 236.79300000000001, "avg": 216.93312500000002, "min": 212.93000000000001}, "pystone": {"max": 0.79000000000000092, "avg": 0.71208333333333329, "min": 0.60000000000000053}}, "Cloud-PERF-COMP1288-Rackspace_Dallas-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 290.62599999999998, "avg": 284.50783333333339, "min": 276.56700000000001}, "pystone": {"max": 0.78000000000000114, "avg": 0.75708333333333344, "min": 0.73000000000000043}}, "Cloud-PERF-COMP1394-Atlantic.Net-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 361.65100000000001, "avg": 278.8559166666667, "min": 234.91399999999999}, "pystone": {"max": 1.0, "avg": 0.69624999999999992, "min": 0.58999999999999986}}, "Cloud-PERF-COMP156-ERP5-TEST-NODE-DS61-XA": {"sqlbench": {"max": 106.496, "avg": 106.496, "min": 106.496}, "pystone": {"max": 0.39000000000000012, "avg": 0.39000000000000012, "min": 0.39000000000000012}}, "Cloud-PERF-COMP1393-Joyent_USEast1-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 353.30500000000001, "avg": 294.88108333333338, "min": 239.81}, "pystone": {"max": 1.0499999999999989, "avg": 0.74874999999999992, "min": 0.54000000000000092}}, "Cloud-PERF-COMP1407-AWS_US-EAST-1c-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 505.822, "avg": 475.92754166666668, "min": 468.68299999999999}, "pystone": {"max": 1.5700000000000003, "avg": 1.5012500000000006, "min": 1.4399999999999977}}, "Cloud-PERF-COMP1392-Azure_East_US-CLOUD_PERFORMANCE_1": {"sqlbench": {"max": 982.60699999999997, "avg": 878.06452173913056, "min": 789.59100000000001}, "pystone": {"max": 0.9399999999999995, "avg": 0.79521739130434765, "min": 0.75999999999999979}}} {"Cloud-PERF-COMP1395-vmWare.vCloud-CLOUD_PERFORMANCE_1": {"sqlbench": {"time": {"max": 254.762, "avg": 219.3449285714286, "min": 213.52799999999999}}, "pystone": {"score": {"max": 98039.215686274547, "avg": 73165.642954415365, "min": 64102.564102564007}, "time": {"max": 0.78000000000000114, "avg": 0.69249999999999989, "min": 0.50999999999999979}}}, "Cloud-PERF-COMP1288-Rackspace_Dallas-CLOUD_PERFORMANCE_1": {"sqlbench": {"time": {"max": 290.62599999999998, "avg": 284.49907407407409, "min": 274.291}}, "pystone": {"score": {"max": 68493.150684931461, "avg": 66457.455414436932, "min": 64102.564102564007}, "time": {"max": 0.78000000000000114, "avg": 0.75259259259259259, "min": 0.73000000000000043}}}, "Cloud-PERF-COMP1394-Atlantic.Net-CLOUD_PERFORMANCE_1": {"sqlbench": {"time": {"max": 317.10599999999999, "avg": 271.9805555555555, "min": 225.87799999999999}}, "pystone": {"score": {"max": 84745.76271186443, "avg": 73925.555488321334, "min": 65789.473684210549}, "time": {"max": 0.75999999999999979, "avg": 0.67888888888888899, "min": 0.58999999999999986}}}, "Cloud-PERF-COMP1393-Joyent_USEast1-CLOUD_PERFORMANCE_1": {"sqlbench": {"time": {"max": 367.589, "avg": 328.58051851851849, "min": 280.15100000000001}}, "pystone": {"score": {"max": 83333.333333333387, "avg": 59361.056709613047, "min": 37037.037037037044}, "time": {"max": 1.3499999999999996, "avg": 0.8792592592592593, "min": 0.59999999999999964}}}, "Cloud-PERF-COMP1407-AWS_US-EAST-1c-CLOUD_PERFORMANCE_1": {"sqlbench": {"time": {"max": 541.70899999999995, "avg": 482.14403703703687, "min": 468.68299999999999}}, "pystone": {"score": {"max": 34722.222222222103, "avg": 33483.014177750905, "min": 32467.532467532412}, "time": {"max": 1.5400000000000027, "avg": 1.4937037037037042, "min": 1.4400000000000048}}}, "Cloud-PERF-COMP1392-Azure_East_US-CLOUD_PERFORMANCE_1": {"sqlbench": {"time": {"max": 1000.343, "avg": 889.03662500000007, "min": 741.125}}, "pystone": {"score": {"max": 65789.473684210549, "avg": 63642.926322436288, "min": 61728.395061728494}, "time": {"max": 0.80999999999999872, "avg": 0.78583333333333327, "min": 0.75999999999999979}}}}
\ No newline at end of file \ No newline at end of file
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
updateForm = function (create) { updateForm = function (create) {
var select_entry, select_entry_lc, opts = "", ips, input_slider, k, n, var select_entry, select_entry_lc, opts = "", ips, input_slider, k, n,
lookUpId, current_values; lookUpId, current_values, lookUpTxt,
updateParameters = function ( $el, type ) { updateParameters = function ( $el, type ) {
var allows, nearest, current_id, current_lookUp, l, current_profile, var allows, nearest, current_id, current_lookUp, l, current_profile,
...@@ -244,7 +244,12 @@ ...@@ -244,7 +244,12 @@
} }
} }
// update number of matching profiles! // update number of matching profiles!
$('.records').text(updated_profiles.length + " "); if (updated_profiles.length === 0) {
lookUpTxt = "";
} else {
lookUpTxt = " > ";
}
$('.records').text(lookUpTxt+ updated_profiles.length);
// reset // reset
updated_profiles = []; updated_profiles = [];
...@@ -366,7 +371,7 @@ ...@@ -366,7 +371,7 @@
} }
} }
// add default no of records // add default no of records
$('.records').text($.fn.fauna.profiles.length + " ") $('.records').text(" > "+$.fn.fauna.profiles.length)
// update form with profiles and available criteria // update form with profiles and available criteria
updateForm(true); updateForm(true);
......
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<style type="text/css" scoped> <style type="text/css" scoped>
/* google maps */
#legal_info #map_canvas_1 { height: 300px; }
#legal_info #from { text-align: center;}
#legal_info #from, #legal_info #to { font-weight: normal;}
#legal_info .mapControls label {width: auto; padding: .2em 0; display: block;}
#legal_info .legal_element_wrapper .get_directions {width: 100%; }
#legal_info .legal_element_wrapper { margin: 4em auto; text-align: center;} #legal_info .legal_element_wrapper { margin: 4em auto; text-align: center;}
#legal_info .ui-block-a, #legal_info .ui-block-b { padding: 0 .5em;} #legal_info .ui-block-a, #legal_info .ui-block-b { padding: 0 .5em;}
#legal_info .adp-legal {font-size: .7em; padding: 0 0 5px;}
#legal_info #directions {margin-top: -10px;}
@media all and (min-width: 30em) { @media all and (min-width: 30em) {
#legal_info .legal_element_wrapper {max-width: 90%;} #legal_info .legal_element_wrapper {max-width: 90%;}
} }
@media all and (min-width: 45em) { @media all and (min-width: 45em) {
#legal_info .legal_element_wrapper {max-width: 80%;} #legal_info .legal_element_wrapper {max-width: 80%;}
#legal_info .legal_element_wrapper .get_directions {margin: 0 auto; width: 77%;}
} }
@media all and (min-width: 60em) { @media all and (min-width: 60em) {
#legal_info .legal_element_wrapper {max-width: 70%;} #legal_info .legal_element_wrapper {max-width: 70%;}
...@@ -48,19 +56,21 @@ ...@@ -48,19 +56,21 @@
<div class="ui-body ui-body-d ui-corner-all ui-shadow" style="padding:1em;"> <div class="ui-body ui-body-d ui-corner-all ui-shadow" style="padding:1em;">
<div id="map_canvas_1"></div> <div id="map_canvas_1"></div>
<p class="mapControls"> <p class="mapControls">
<label for="from">From</label> <label for="from" class="t" data-i18n="legal.from">From</label>
<input id="from" class="ui-bar-c" type="text" value="click 'Get Directions' to localize" class="lookLikeLabel" /> <input id="from" class="ui-bar-c" type="text" class="t" data-i18n="[value]legal.click_localize;[placeholder]legal.click_localize;" value="click 'Get Directions' to localize" class="lookLikeLabel" />
</p> </p>
<p class="mapControls"> <p class="mapControls">
<label for="to">To</label> <label for="to" class="t" data-i18n="legal.to">To</label>
<input id="to" class="ui-bar-c" type="text" value="" /> <input id="to" class="ui-bar-c" type="text" value="" />
</p> </p>
<a id="submit" href="#" data-role="button" data-icon="search">Get directions</a> <p class="mapControls">
<a id="submit" href="#" data-role="button" data-icon="search" class="t get_directions" data-i18n="legal.directions" data-i18n-target=".ui-btn-text">Get directions</a>
</p>
</div> </div>
<div id="results" class="ui-listview ui-listview-inset ui-corner-all ui-shadow" style="display:none;"> <div id="results" class="ui-listview ui-listview-inset ui-corner-all ui-shadow" style="display:none;">
<div class="ui-li ui-li-divider ui-btn ui-bar-a ui-corner-top ui-btn-up-undefined">Results</div> <div class="ui-li ui-li-divider ui-btn ui-bar-c ui-first-child ui-btn-up-undefined t" data-i18n="legal.results">Results</div>
<div id="directions"></div> <div id="directions"></div>
<div class="ui-li ui-li-divider ui-btn ui-bar-a ui-corner-bottom ui-btn-up-undefined"></div> <div class="ui-li ui-li-divider ui-btn ui-bar-c ui-last-child ui-btn-up-undefined"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -68,38 +78,52 @@ ...@@ -68,38 +78,52 @@
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
//<![CDATA[ //<![CDATA[
// TODO: make this a standalone gmap gadget,
// options lat/long, pin y/n, directions y/n
(function () { (function () {
define(['async!http://maps.google.com/maps/api/js?v=3&sensor=false'], $(document).ready(function() {
function () { var gadget = RenderJs.getSelfGadget(),
// google.maps is ready gmap, home, lat, lng, str, storedmap, target_destination;
var home = new google.maps.LatLng(50.660408,3.098558);
require([
'async!http://maps.google.com/maps/api/js?v=3&sensor=false',
'../js/plugins/jquery-ui-map/jquery.ui.map.full.min.js',
'../js/plugins/jquery-ui-map/jquery.ui.map.extensions.min'
], function() {
lat = 50.659963,
lng = 3.098745,
str = lat+','+lng,
home = new google.maps.LatLng(lat, lng);
$(document) if (gadget.maps_defined === undefined) {
.on('pageshow', '#legal', function () { $('#map_canvas_1')
$('#map_canvas_1').gmap('refresh'); .gmap({'center': home, 'zoom':17 })
.gmap('addMarker', { 'id':'nexedi', 'position': str, 'bound':false, 'animation' : google.maps.Animation.DROP },
function(map, marker) {
var location = marker.getPosition(),
storedmap = map;
$('#map_canvas_1').gmap('search', {'location': location}, function(results, status) {
target_destination = results[0];
$('#to').val(target_destination.formatted_address);
}) })
.on('pagebeforeshow', '#map_canvas_1', function () {
console.log("pagebeforeshow, canvas");
$('#map_canvas_1').gmap({'center': home, 'zoom':17 })
.end()
.gmap('addMarker', { 'position': home, 'animation' : google.maps.Animation.DROP })
.end()
.gmap('search', { 'location': home }, function (results) {
$('#to').val(results[0].formatted_address);
}); });
}) gadget.maps_defined = true;
.on('click', '#submit', function () { }
var latlng, cM; // $('#map_canvas_1').gmap('refresh');
gadget.dom.on('click', '#submit', function () {
var latlng, cM;
// get current position
$('#map_canvas_1').gmap('getCurrentPosition', function(position, status) { $('#map_canvas_1').gmap('getCurrentPosition', function(position, status) {
if (status === 'OK') { if (status === 'OK') {
$.mobile.showPageLoadingMsg(); $.mobile.showPageLoadingMsg();
latlng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude) // get address
$('#map_canvas_1').gmap('get', 'map').panTo(latlng) latlng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
.end() $('#map_canvas_1').gmap('search', {'location': latlng}, function(results, status) {
.gmap('search', { 'location': latlng }, function(results, status) { origin_destination = results[0];
if (status === 'OK') { $('#from').val(origin_destination.formatted_address);
$('#from').val(results[0].formatted_address);
// get directions
$('#map_canvas_1').gmap( $('#map_canvas_1').gmap(
'displayDirections', 'displayDirections',
{'origin': $('#from').val(), 'destination': $('#to').val(), 'travelMode': google.maps.DirectionsTravelMode.DRIVING }, {'origin': $('#from').val(), 'destination': $('#to').val(), 'travelMode': google.maps.DirectionsTravelMode.DRIVING },
...@@ -109,7 +133,7 @@ ...@@ -109,7 +133,7 @@
$.mobile.hidePageLoadingMsg(); $.mobile.hidePageLoadingMsg();
}); });
} }
}); );
} else { } else {
$('#results').hide(); $('#results').hide();
cM = 'unable to localize - please try entering a location manually'; cM = 'unable to localize - please try entering a location manually';
...@@ -124,13 +148,12 @@ ...@@ -124,13 +148,12 @@
} }
}); });
}); // end click }); // end click
});
$(document).ready(function() { }
var gadget = RenderJs.getSelfGadget(); ); // end require
$(this).trigger("render_enhance", {gadget: gadget.dom}); $(this).trigger("render_enhance", {gadget: gadget.dom});
}); });
})(); })();
//]]> //]]>
</script> </script>
......
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
if ($.fn.fauna.references.hasOwnProperty(i)) { if ($.fn.fauna.references.hasOwnProperty(i)) {
param = getParameterByName(i); param = getParameterByName(i);
if (param !== "" && param !== "default") { if (param !== "" && param !== "default") {
query_string += i + ": = " + param + " AND "; query_string += i + ": >= " + param + " AND ";
criteria_string += i + ": " + param + " | "; criteria_string += i + ": " + param + " | ";
} }
if (references-1 === j) { if (references-1 === j) {
...@@ -411,7 +411,7 @@ ...@@ -411,7 +411,7 @@
if (search_term) { if (search_term) {
sort_string = sort_string =
"percentile: = %" + search_term + "percentile: = %" + search_term +
"% OR downtime: %" + search_term + "% OR downtime: = %" + search_term +
"% OR totaltime: = %" + search_term + "% OR totaltime: = %" + search_term +
"% OR _id: = %" + search_term + "% OR _id: = %" + search_term +
"% OR provider: = %" + search_term + "% OR provider: = %" + search_term +
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<head> <head>
<style type="text/css" scoped> <style type="text/css" scoped>
/* custom icons - languages */ /* custom icons - languages */
.setIcon {top: 0px !important; border: 1px solid red;} .setIcon {top: 0px !important;}
.ui-icon-lang { background-image: url(../img/custom-lang-18.png); } .ui-icon-lang { background-image: url(../img/custom-lang-18.png); }
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
...@@ -124,7 +124,15 @@ ...@@ -124,7 +124,15 @@
for (i = 0; i < list.length; i += 1) { for (i = 0; i < list.length; i += 1) {
gadget_to_translate = list[i]; gadget_to_translate = list[i];
if (gadget_to_translate.isEnhanced() === false || override ) { if (gadget_to_translate.isEnhanced() === false || override ) {
gadget_to_translate.dom.find(".t").i18n(); gadget_to_translate.dom
.find(".t")
.i18n()
.end()
// in JQM, we also need to update all widgets with "artificial"
// text elements, such as selects
// not nice: there must be a better way to do this!
.find("select").selectmenu("refresh").end();
gadget_to_translate.setEnhanced(true); gadget_to_translate.setEnhanced(true);
} }
} }
...@@ -200,12 +208,6 @@ ...@@ -200,12 +208,6 @@
lang(new_language); lang(new_language);
}); });
}); });
// // we need a fallback for RenderJs.bindReady not firing
// if (gadget.translations_run === undefined) {
// var current_lang = $.fn.fauna.i18n_current_lang;
// lang(current_lang);
// }
}); });
})(); })();
//]]> //]]>
......
...@@ -5,13 +5,6 @@ ...@@ -5,13 +5,6 @@
var IS_LOCAL = /(:\/\/localhost|file:\/\/)/.test(document.location.href); var IS_LOCAL = /(:\/\/localhost|file:\/\/)/.test(document.location.href);
// // convert Google Maps into an AMD module
// define('gmaps', ['async!http://maps.google.com/maps/api/js?v=3&sensor=false'],
// function(){
// // return the gmaps namespace for brevity
// return window.google.maps;
// });
require.config({ require.config({
waitSeconds : (IS_LOCAL? 2 : 45) waitSeconds : (IS_LOCAL? 2 : 45)
, baseUrl: "../js" , baseUrl: "../js"
......
/*!
* jQuery UI Google Map 3.0-rc
* http://code.google.com/p/jquery-ui-map/
* Copyright (c) 2010 - 2011 Johan Säll Larsson
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*
* Depends:
* jquery.ui.map.js
*/
(function(a){a.extend(a.ui.gmap.prototype,{getCurrentPosition:function(c,b){if(navigator.geolocation){navigator.geolocation.getCurrentPosition(function(d){c(d,"OK")},function(d){c(null,d)},b)}else{c(null,"NOT_SUPPORTED")}},watchPosition:function(c,b){if(navigator.geolocation){this.set("watch",navigator.geolocation.watchPosition(function(d){c(d,"OK")},function(d){c(null,d)},b))}else{c(null,"NOT_SUPPORTED")}},clearWatch:function(){if(navigator.geolocation){navigator.geolocation.clearWatch(this.get("watch"))}},autocomplete:function(b,d){var c=this;a(this._unwrap(b)).autocomplete({source:function(f,e){c.search({address:f.term},function(h,g){if(g==="OK"){e(a.map(h,function(i){return{label:i.formatted_address,value:i.formatted_address,position:i.geometry.location}}))}else{if(g==="OVER_QUERY_LIMIT"){alert("Google said it's too much!")}}})},minLength:3,select:function(e,f){c._call(d,f)},open:function(){a(this).removeClass("ui-corner-all").addClass("ui-corner-top")},close:function(){a(this).removeClass("ui-corner-top").addClass("ui-corner-all")}})},placesSearch:function(b,c){this.get("services > PlacesService",new google.maps.places.PlacesService(this.get("map"))).search(b,c)},clearDirections:function(){var b=this.get("services > DirectionsRenderer");if(b){b.setMap(null);b.setPanel(null)}},pagination:function(e){var d=a("<div id='pagination' class='pagination shadow gradient rounded clearfix'><div class='lt btn back-btn'></div><div class='lt display'></div><div class='rt btn fwd-btn'></div></div>");var b=this,c=0,e=e||"title";b.set("p_nav",function(g,f){if(g){c=c+f;d.find(".display").text(b.get("markers")[c][e]);b.get("map").panTo(b.get("markers")[c].getPosition())}});b.get("p_nav")(true,0);d.find(".back-btn").click(function(){b.get("p_nav")((c>0),-1,this)});d.find(".fwd-btn").click(function(){b.get("p_nav")((c<b.get("markers").length-1),1,this)});b.addControl(d,google.maps.ControlPosition.TOP_LEFT)}})}(jQuery));
\ No newline at end of file
/*!
* jQuery UI Google Map 3.0-rc
* http://code.google.com/p/jquery-ui-map/
* Copyright (c) 2010 - 2011 Johan Säll Larsson
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*
* Depends:
* jquery.ui.map.js
*/
( function($) {
$.extend($.ui.gmap.prototype, {
/**
* Gets the current position
* @param callback:function(position, status)
* @param geoPositionOptions:object, see https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIDOMGeoPositionOptions
*/
getCurrentPosition: function(callback, geoPositionOptions) {
if ( navigator.geolocation ) {
navigator.geolocation.getCurrentPosition (
function(result) {
callback(result, 'OK');
},
function(error) {
callback(null, error);
},
geoPositionOptions
);
} else {
callback(null, 'NOT_SUPPORTED');
}
},
/**
* Watches current position
* To clear watch, call navigator.geolocation.clearWatch(this.get('watch'));
* @param callback:function(position, status)
* @param geoPositionOptions:object, see https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIDOMGeoPositionOptions
*/
watchPosition: function(callback, geoPositionOptions) {
if ( navigator.geolocation ) {
this.set('watch', navigator.geolocation.watchPosition (
function(result) {
callback(result, "OK");
},
function(error) {
callback(null, error);
},
geoPositionOptions
));
} else {
callback(null, "NOT_SUPPORTED");
}
},
/**
* Clears any watches
*/
clearWatch: function() {
if ( navigator.geolocation ) {
navigator.geolocation.clearWatch(this.get('watch'));
}
},
/**
* Autocomplete using Google Geocoder
* @param panel:string/node/jquery
* @param callback:function(results, status)
*/
autocomplete: function(panel, callback) {
var self = this;
$(this._unwrap(panel)).autocomplete({
source: function( request, response ) {
self.search({'address':request.term}, function(results, status) {
if ( status === 'OK' ) {
response( $.map( results, function(item) {
return { label: item.formatted_address, value: item.formatted_address, position: item.geometry.location }
}));
} else if ( status === 'OVER_QUERY_LIMIT' ) {
alert('Google said it\'s too much!');
}
});
},
minLength: 3,
select: function(event, ui) {
self._call(callback, ui);
},
open: function() { $( this ).removeClass( "ui-corner-all" ).addClass( "ui-corner-top" ); },
close: function() { $( this ).removeClass( "ui-corner-top" ).addClass( "ui-corner-all" ); }
});
},
/**
* Retrieves a list of Places in a given area. The PlaceResultss passed to the callback are stripped-down versions of a full PlaceResult. A more detailed PlaceResult for each Place can be obtained by sending a Place Details request with the desired Place's reference value.
* @param placeSearchRequest:google.maps.places.PlaceSearchRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceSearchRequest
* @param callback:function(result:google.maps.places.PlaceResult, status:google.maps.places.PlacesServiceStatus), http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceResult
*/
placesSearch: function(placeSearchRequest, callback) {
this.get('services > PlacesService', new google.maps.places.PlacesService(this.get('map'))).search(placeSearchRequest, callback);
},
/**
* Clears any directions
*/
clearDirections: function() {
var directionsRenderer = this.get('services > DirectionsRenderer');
if (directionsRenderer) {
directionsRenderer.setMap(null);
directionsRenderer.setPanel(null);
}
},
/**
* Page through the markers. Very simple version.
* @param prop:the marker property to show in display, defaults to title
*/
pagination: function(prop) {
var $el = $("<div id='pagination' class='pagination shadow gradient rounded clearfix'><div class='lt btn back-btn'></div><div class='lt display'></div><div class='rt btn fwd-btn'></div></div>");
var self = this, i = 0, prop = prop || 'title';
self.set('p_nav', function(a, b) {
if (a) {
i = i + b;
$el.find('.display').text(self.get('markers')[i][prop]);
self.get('map').panTo(self.get('markers')[i].getPosition());
}
});
self.get('p_nav')(true, 0);
$el.find('.back-btn').click(function() {
self.get('p_nav')((i > 0), -1, this);
});
$el.find('.fwd-btn').click(function() {
self.get('p_nav')((i < self.get('markers').length - 1), 1, this);
});
self.addControl($el, google.maps.ControlPosition.TOP_LEFT);
}
/**
* A layer that displays data from Panoramio.
* @param panoramioLayerOptions:google.maps.panoramio.PanoramioLayerOptions, http://code.google.com/apis/maps/documentation/javascript/reference.html#PanoramioLayerOptions
*/
/*loadPanoramio: function(panoramioLayerOptions) {
if ( !this.get('overlays').PanoramioLayer ) {
this.get('overlays').PanoramioLayer = new google.maps.panoramio.PanoramioLayer();
}
this.get('overlays').PanoramioLayer.setOptions(jQuery.extend({'map': this.get('map') }, panoramioLayerOptions));
},*/
/**
* Makes an elevation request along a path, where the elevation data are returned as distance-based samples along that path.
* @param pathElevationRequest:google.maps.PathElevationRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#PathElevationRequest
* @param callback:function(result:google.maps.ElevationResult, status:google.maps.ElevationStatus), http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/reference.html#ElevationResult
*/
/*elevationPath: function(pathElevationRequest, callback) {
this.get('services > ElevationService', new google.maps.ElevationService()).getElevationAlongPath(pathElevationRequest, callback);
},*/
/**
* Makes an elevation request for a list of discrete locations.
* @param pathElevationRequest:google.maps.PathElevationRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#PathElevationRequest
* @param callback:function(result:google.maps.ElevationResult, status:google.maps.ElevationStatus), http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/reference.html#ElevationResult
*/
/*elevationLocations: function(pathElevationRequest, callback) {
this.get('services > ElevationService', new google.maps.ElevationService()).getElevationForLocations(pathElevationRequest, callback);
},*/
/* PLACES SERVICE */
/**
* Retrieves a list of Places in a given area. The PlaceResultss passed to the callback are stripped-down versions of a full PlaceResult. A more detailed PlaceResult for each Place can be obtained by sending a Place Details request with the desired Place's reference value.
* @param placeSearchRequest:google.maps.places.PlaceSearchRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceSearchRequest
* @param callback:function(result:google.maps.places.PlaceResult, status:google.maps.places.PlacesServiceStatus), http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceResult
*/
/*placesSearch: function(placeSearchRequest, callback) {
this.get('services > PlacesService', new google.maps.places.PlacesService(this.get('map'))).search(placeSearchRequest, callback);
},*/
/**
* Retrieves details about the Place identified by the given reference.
* @param placeDetailsRequest:google.maps.places.PlaceDetailsRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceDetailsRequest
* @param callback:function(result:google.maps.places.PlaceResult, status:google.maps.places.PlacesServiceStatus), http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceResult
*/
/*placesDetails: function(placeDetailsRequest, callback) {
this.get('services > PlacesService', new google.maps.places.PlacesService(this.get('map'))).getDetails(placeDetailsRequest, callback);
},*/
/**
* A service to predict the desired Place based on user input. The service is attached to an <input> field in the form of a drop-down list. The list of predictions is updated dynamically as text is typed into the input field.
* @param panel:jquery/node/string
* @param autocompleteOptions:google.maps.places.AutocompleteOptions, http://code.google.com/apis/maps/documentation/javascript/reference.html#AutocompleteOptions
*/
/*placesAutocomplete: function(panel, autocompleteOptions) {
this.get('services > Autocomplete', new google.maps.places.Autocomplete(this._unwrap(panel)));
},*/
/* DISTANCE MATRIX SERVICE */
/**
* Issues a distance matrix request.
* @param distanceMatrixRequest:google.maps.DistanceMatrixRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#DistanceMatrixRequest
* @param callback:function(result:google.maps.DistanceMatrixResponse, status: google.maps.DistanceMatrixStatus), http://code.google.com/apis/maps/documentation/javascript/reference.html#DistanceMatrixResponse
*/
/*displayDistanceMatrix: function(distanceMatrixRequest, callback) {
this.get('services > DistanceMatrixService', new google.maps.DistanceMatrixService()).getDistanceMatrix(distanceMatrixRequest, callback);
}*/
});
} (jQuery) );
\ No newline at end of file
/*! jquery-ui-map rc1 | Johan Säll Larsson */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('(3(d){d.a=3(a,b){j c=a.v(".")[0],a=a.v(".")[1];d[c]=d[c]||{};d[c][a]=3(a,b){I.O&&2.1i(a,b)};d[c][a].K=d.n({1s:c,1u:a},b);d.N[a]=3(b){j g="1p"===1k b,f=L.K.X.W(I,1),i=2;l(g&&"1j"===b.1l(0,1))6 i;2.18(3(){j h=d.1b(2,a);h||(h=d.1b(2,a,k d[c][a](b,2)));g&&(i=h[b].14(h,f))});6 i}};d.a("1J.1G",{u:{1A:"1x",1y:5},1B:3(a,b){6 b?(2.u[a]=b,2.4("9").x(a,b),2):2.u[a]},1i:3(a,b){2.E=b;a=a||{};m.n(2.u,a,{1h:2.w(a.1h)});2.1g();2.1f&&2.1f()},1g:3(){j a=2;2.o={9:k 8.7.1D(a.E,a.u),M:[],p:[],q:[]};8.7.G.1C(a.o.9,"1F",3(){d(a.E).19("1E",a.o.9)});a.C(a.u.1t,a.o.9)},Z:3(a){j b=2.4("12",k 8.7.1z);b.n(2.w(a));2.4("9").1M(b);6 2},1L:3(a){j b=2.4("9").1O();6 b?b.1N(a.Y()):!1},1K:3(a,b){2.4("9").1H[b].J(2.F(a));6 2},1I:3(a,b){a.9=2.4("9");a.13=2.w(a.13);j c=k(a.1n||8.7.1o)(a),e=2.4("M");c.16?e[c.16]=c:e.J(c);c.12&&2.Z(c.Y());2.C(b,a.9,c);6 d(c)},z:3(a){2.B(2.4(a));2.x(a,[]);6 2},B:3(a){y(j b Q a)a.11(b)&&(a[b]r 8.7.17?(8.7.G.1v(a[b]),a[b].A&&a[b].A(t)):a[b]r L&&2.B(a[b]),a[b]=t)},1w:3(a,b,c){a=2.4(a);b.s=d.1m(b.s)?b.s:[b.s];y(j e Q a)l(a.11(e)){j g=!1,f;y(f Q b.s)l(-1<d.1r(b.s[f],a[e][b.1q]))g=!0;10 l(b.V&&"1P"===b.V){g=!1;2c}c(a[e],g)}6 2},4:3(a,b){j c=2.o;l(!c[a]){l(-1<a.2e(">")){y(j e=a.T(/ /g,"").v(">"),d=0;d<e.O;d++){l(!c[e[d]])l(b)c[e[d]]=d+1<e.O?[]:b;10 6 t;c=c[e[d]]}6 c}b&&!c[a]&&2.x(a,b)}6 c[a]},2g:3(a,b,c){j d=2.4("H",a.2f||k 8.7.2i);d.R(a);d.2h(2.4("9"),2.F(b));2.C(c,d);6 2},2b:3(){t!=2.4("H")&&2.4("H").2a();6 2},x:3(a,b){2.o[a]=b;6 2},2d:3(){j a=2.4("9"),b=a.2o();d(a).1e("2q");a.2p(b);6 2},2k:3(){2.z("M").z("q").z("p").B(2.o);m.2n(2.E,2.1W)},C:3(a){a&&d.1X(a)&&a.14(2,L.K.X.W(I,1))},w:3(a){l(!a)6 k 8.7.P(0,0);l(a r 8.7.P)6 a;a=a.T(/ /g,"").v(",");6 k 8.7.P(a[0],a[1])},F:3(a){6!a?t:a r m?a[0]:a r 1Q?a:d("#"+a)[0]},1S:3(a,b,c){j d=2,g=2.4("q > U",k 8.7.U),f=2.4("q > S",k 8.7.S);b&&f.R(b);g.1U(a,3(a,b){"1T"===b?(f.26(a),f.A(d.4("9"))):f.A(t);c(a,b)})},27:3(a,b){2.4("9").29(2.4("q > 1d",k 8.7.1d(2.F(a),b)))},28:3(a,b){2.4("q > 1a",k 8.7.1a).21(a,b)},20:3(a,b){j c=k 8.7[a](m.n({9:2.4("9")},b));2.4("p > "+a,[]).J(c);6 d(c)},22:3(a,b){(!b?2.4("p > D",k 8.7.D):2.4("p > D",k 8.7.D(b,a))).R(m.n({9:2.4("9")},a))},23:3(a,b,c){2.4("p > "+a,k 8.7.1Y(b,m.n({9:2.4("9")},c)))}});m.N.n({1e:3(a){8.7.G.19(2[0],a);6 2},15:3(a,b,c){8.7&&2[0]r 8.7.17?8.7.G.24(2[0],a,b):c?2.1c(a,b,c):2.1c(a,b);6 2}});m.18("25 1R 1Z 1V 2m 2l 2j".v(" "),3(a,b){m.N[b]=3(a,d){6 2.15(b,a,d)}})})(m);',62,151,'||this|function|get||return|maps|google|map||||||||||var|new|if|jQuery|extend|instance|overlays|services|instanceof|value|null|options|split|_latLng|set|for|clear|setMap|_c|_call|FusionTablesLayer|el|_unwrap|event|iw|arguments|push|prototype|Array|markers|fn|length|LatLng|in|setOptions|DirectionsRenderer|replace|DirectionsService|operator|call|slice|getPosition|addBounds|else|hasOwnProperty|bounds|position|apply|addEventListener|id|MVCObject|each|trigger|Geocoder|data|bind|StreetViewPanorama|triggerEvent|_init|_create|center|_setup|_|typeof|substring|isArray|marker|Marker|string|property|inArray|namespace|callback|pluginName|clearInstanceListeners|find|roadmap|zoom|LatLngBounds|mapTypeId|option|addListenerOnce|Map|init|bounds_changed|gmap|controls|addMarker|ui|addControl|inViewport|fitBounds|contains|getBounds|AND|Object|rightclick|displayDirections|OK|route|mouseover|name|isFunction|KmlLayer|dblclick|addShape|geocode|loadFusion|loadKML|addListener|click|setDirections|displayStreetView|search|setStreetView|close|closeInfoWindow|break|refresh|indexOf|infoWindow|openInfoWindow|open|InfoWindow|dragend|destroy|drag|mouseout|removeData|getCenter|setCenter|resize'.split('|'),0,{}))
\ No newline at end of file
/*! http://code.google.com/p/jquery-ui-map/ | Johan Sll Larsson */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$.y($.J.x.C,{B:7(a,b){f c=8;$(\'[j="{0}"]\'.l(\'{0}\',a)).q(7(i){b(c.9($(8),{\'@r\':c.k($(8).4(\'j\'))}),8,i)})},9:7(c,d){f e=8;c.o().q(7(){f a=$(8),h=a.4(\'j\'),2=a.4(\'2\');3(h!=A&&a.o().p>0){3(!d[2]){d[2]=[]}d[2].m({\'@r\':e.k(h)});e.9(a,d[2][d[2].p-1])}5 3(2){3(d[2]){3(D d[2]===\'E\'){f b=d[2];d[2]=[];d[2].m(b)}d[2].m(e.g(a))}5{d[2]=e.g(a)}}5{e.9(a,d)}});6 d},g:7(a){3(a.4(\'n\')){6 a.4(\'n\')}5 3(a.4(\'s\')){6 a.4(\'s\')}5 3(a.4(\'t\')){6 a.4(\'t\')}5 3(a.4(\'u\')){6 a.4(\'u\')}5 3(a.v()){6 a.v()}6},k:7(a){3(a.w(\'F\')>-1){a=a.G(a.H(\'/\')+1).l(\'?\',\'\').l(\'#\',\'\')}5 3(a.w(\':\')>-1){a=a.I(\':\')[1]}6 a}})}(z));',46,46,'||itemProp|if|attr|else|return|function|this|_traverse||||||var|_extract|itemType||itemtype|_resolveType|replace|push|src|children|length|each|type|href|content|datetime|text|indexOf|gmap|extend|jQuery|undefined|microdata|prototype|typeof|string|http|substr|lastIndexOf|split|ui'.split('|'),0,{}))
\ No newline at end of file
/*! http://code.google.com/p/jquery-ui-map/ | Johan Sll Larsson */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(8($){$.I($.1X.1V.1U,{1T:8(b,c){r d=l;C.I(d.k(\'j\',{}),{\'1S-o\':{},\'1R\':{\'9\':2},\'1Q\':{},\'1P\':{},\'1N\':{},\'1M\':{\'m\':2},\'t\':{},\'1L\':{},\'1K-o\':{},\'1J\':{},\'1I\':{},\'1G\':{},\'1F\':{},\'1E\':{},\'v-w\':{},\'v-D\':{},\'v-q\':{},\'1D\':{\'9\':2},\'1x\':{},\'1w-G\':{},\'1s-o\':{},\'15\':{},\'11\':{\'9\':2},\'N-o\':{},\'M\':{\'4\':2},\'1n\':{\'4\':2},\'J-O\':{},\'J-P\':{},\'Q\':{\'4\':2},\'R\':{\'4\':2},\'S\':{},\'T\':{\'9\':2},\'U\':{},\'V\':{},\'W\':{},\'X\':{\'9\':2},\'Y\':{},\'Z\':{},\'10\':{},\'n\':{\'9\':2},\'12\':{\'m\':2},\'13\':{},\'14\':{\'9\':2},\'H-o\':{},\'H-16\':{},\'17\':{},\'18\':{},\'19-1a-1b\':{},\'1c-1d\':{},\'1e\':{\'4\':2},\'1f\':{},\'1g\':{},\'1h\':{},\'1i\':{},\'1j\':{},\'1k\':{},\'1l\':{},\'1m\':{},\'L-1o\':{},\'1p\':{},\'1q-G\':{},\'D\':{},\'1r\':{\'m\':2},\'q\':{},\'5\':{},\'1t\':{},\'1u\':{},\'1v\':{},\'F\':{\'m\':2},\'z\':{},\'z-q\':{},\'1y\':{\'4\':2},\'1z\':{\'4\':2},\'1A\':{\'4\':2},\'1B\':{},\'1C\':{\'4\':2}});$(b).s(8(i,a){c(d.p($(l),{\'@5\':b.1H(\'.\',\'\')}),l,i)})},p:8(e,f){r g=l;e.u().s(8(){r c=$(l);3(c.6(\'t\')){r d=c.6(\'t\').1O(\' \'),B=[],5;$.s(d,8(a,b){3(g.k(\'j\')[b]&&g.k(\'j\')[b].4){5=b}7{B.x(b)}});$.s(B,8(a,b){3(g.k(\'j\')[b]){5=5||b;3(g.k(\'j\')[b].9&&c.u().y>0){3(!f[b]){f[b]=[]}f[b].x({\'@5\':5});g.p(c,f[b][f[b].y-1])}7{3(c.u().y>0){f[b]={\'@5\':5};g.p(c,f[b])}7{3(g.k(\'j\')[b].m){3(!f[b]){f[b]=[]}f[b].x(g.A(c,b))}7{f[b]=g.A(c,b)}}}}})}7{g.p(c,f)}});h f},A:8(a,b){3(b===\'z-q\'){h a.6(\'q\')}7 3(b===\'F\'){h a.6(\'1W\')}3(a.6(\'K\')){h a.6(\'K\')}7 3(a.6(\'w\')){h a.6(\'w\')}7 3(a.E()){h a.E()}h}})}(C));',62,122,'||true|if|isRoot|type|attr|else|function|hasChildren||||||||return||properties|get|this|isMultivalued||name|_traverse|title|var|each|class|children|entry|content|push|length|value|_extract|cls|jQuery|summary|text|url|address|organization|extend|honorific|src|sort|hentry|given|prefix|suffix|hresume|hreview|item|key|label|latitude|locality|location|logo|longitude|mailer|geo|nickname|note|org|fn|unit|permalink|photo|post|office|box|postal|code|profile|publications|published|rating|region|rev|reviewer|role|skill|hfeed|string|sound|street|tel|family|tz|uid|updated|extended|experience|vcalendar|vcard|vevent|version|xoxo|email|education|dtstart|dtreviewed|replace|dtend|description|country|contact|category|bday|split|author|affiliation|adr|additional|microformat|prototype|gmap|href|ui'.split('|'),0,{}))
\ No newline at end of file
/*! jquery-ui-map rc1 | Johan Säll Larsson */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('(3(d){d.a=3(a,b){7 c=a.r(".")[0],a=a.r(".")[1];d[c]=d[c]||{};d[c][a]=3(a,b){E.L&&2.11(a,b)};d[c][a].F=d.z({1g:c,1l:a},b);d.I[a]=3(b){7 e="1k"===1o b,g=G.F.16.17(E,1),i=2;k(e&&"1n"===b.1m(0,1))4 i;2.13(3(){7 h=d.12(2,a);h||(h=d.12(2,a,n d[c][a](b,2)));e&&(i=h[b].19(h,g))});4 i}};d.a("1i.1d",{p:{1e:"1z",1C:5},1s:3(a,b){4 b?(2.p[a]=b,2.6("j").B(a,b),2):2.p[a]},11:3(a,b){2.u=b;a=a||{};l.z(2.p,a,{10:2.v(a.10)});2.18();2.1a&&2.1a()},18:3(){7 a=2;2.m={j:n 8.9.1u(a.u,a.p),C:[],M:[],W:[]};8.9.y.1t(a.m.j,"1w",3(){d(a.u).14("1v",a.m.j)});a.x(a.p.1q,a.m.j)},S:3(a){7 b=2.6("O",n 8.9.1p);b.z(2.v(a));2.6("j").1r(b);4 2},1B:3(a){7 b=2.6("j").1E();4 b?b.1D(a.U()):!1},1y:3(a,b){2.6("j").1x[b].P(2.D(a));4 2},1A:3(a,b){a.j=2.6("j");a.T=2.v(a.T);7 c=n(a.1h||8.9.1f)(a),f=2.6("C");c.X?f[c.X]=c:f.P(c);c.O&&2.S(c.U());2.x(b,a.j,c);4 d(c)},w:3(a){2.t(2.6(a));2.B(a,[]);4 2},t:3(a){A(7 b K a)a.R(b)&&(a[b]o 8.9.15?(8.9.y.1j(a[b]),a[b].N&&a[b].N(s)):a[b]o G&&2.t(a[b]),a[b]=s)},22:3(a,b,c){a=2.6(a);b.q=d.21(b.q)?b.q:[b.q];A(7 f K a)k(a.R(f)){7 e=!1,g;A(g K b.q)k(-1<d.20(b.q[g],a[f][b.1Y]))e=!0;Q k(b.V&&"1X"===b.V){e=!1;1W}c(a[f],e)}4 2},6:3(a,b){7 c=2.m;k(!c[a]){k(-1<a.1Z(">")){A(7 d=a.1c(/ /g,"").r(">"),e=0;e<d.L;e++){k(!c[d[e]])k(b)c[d[e]]=e+1<d.L?[]:b;Q 4 s;c=c[d[e]]}4 c}b&&!c[a]&&2.B(a,b)}4 c[a]},27:3(a,b,c){7 d=2.6("J",a.28||n 8.9.29);d.26(a);d.23(2.6("j"),2.D(b));2.x(c,d);4 2},24:3(){s!=2.6("J")&&2.6("J").25();4 2},B:3(a,b){2.m[a]=b;4 2},1V:3(){7 a=2.6("j"),b=a.1K();d(a).1b("1J");a.1M(b);4 2},1L:3(){2.w("C").w("W").w("M").t(2.m);l.1G(2.u,2.1F)},x:3(a){a&&d.1I(a)&&a.19(2,G.F.16.17(E,1))},v:3(a){k(!a)4 n 8.9.H(0,0);k(a o 8.9.H)4 a;a=a.1c(/ /g,"").r(",");4 n 8.9.H(a[0],a[1])},D:3(a){4!a?s:a o l?a[0]:a o 1H?a:d("#"+a)[0]}});l.I.z({1b:3(a){8.9.y.14(2[0],a);4 2},Y:3(a,b,c){8.9&&2[0]o 8.9.15?8.9.y.1S(2[0],a,b):c?2.Z(a,b,c):2.Z(a,b);4 2}});l.13("1R 1U 1T 1O 1N 1Q 1P".r(" "),3(a,b){l.I[b]=3(a,d){4 2.Y(b,a,d)}})})(l);',62,134,'||this|function|return||get|var|google|maps||||||||||map|if|jQuery|instance|new|instanceof|options|value|split|null|_c|el|_latLng|clear|_call|event|extend|for|set|markers|_unwrap|arguments|prototype|Array|LatLng|fn|iw|in|length|overlays|setMap|bounds|push|else|hasOwnProperty|addBounds|position|getPosition|operator|services|id|addEventListener|bind|center|_setup|data|each|trigger|MVCObject|slice|call|_create|apply|_init|triggerEvent|replace|gmap|mapTypeId|Marker|namespace|marker|ui|clearInstanceListeners|string|pluginName|substring|_|typeof|LatLngBounds|callback|fitBounds|option|addListenerOnce|Map|init|bounds_changed|controls|addControl|roadmap|addMarker|inViewport|zoom|contains|getBounds|name|removeData|Object|isFunction|resize|getCenter|destroy|setCenter|mouseout|mouseover|dragend|drag|click|addListener|dblclick|rightclick|refresh|break|AND|property|indexOf|inArray|isArray|find|open|closeInfoWindow|close|setOptions|openInfoWindow|infoWindow|InfoWindow'.split('|'),0,{}))
\ No newline at end of file
/*! jquery-ui-map rc1 | Johan Säll Larsson */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('(6(d){d.9(d.j.i.l,{k:6(a,b){f c=4 3.8[a](e.9({2:0.1("2")},b));0.1("5 > "+a,[]).h(c);g d(c)},p:6(a,b){(!b?0.1("5 > 7",4 3.8.7):0.1("5 > 7",4 3.8.7(b,a))).m(e.9({2:0.1("2")},a))},o:6(a,b,c){0.1("5 > "+a,4 3.8.n(b,e.9({2:0.1("2")},c)))}})})(e);',26,26,'this|get|map|google|new|overlays|function|FusionTablesLayer|maps|extend|||||jQuery|var|return|push|gmap|ui|addShape|prototype|setOptions|KmlLayer|loadKML|loadFusion'.split('|'),0,{}))
\ No newline at end of file
/*! http://code.google.com/p/jquery-ui-map/ | Johan Sll Larsson */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(5($){$.x($.y.C.A,{B:5(a,b){l c=8;$(\'[k="{0}"]\'.j(\'{0}\',a)).o(5(i){b(c.e($(8),{\'@p\':c.9($(8).3(\'k\'))}),8,i)})},e:5(b,c){l d=8;b.q().o(5(){l a=$(8),g=d.9(a.3(\'k\')),7=d.9(a.3(\'7\')),4=d.9(a.3(\'4\'));2(g||7||4){2(7){2(a.q().r>0){c[7]=[];d.e(a,c[7])}f{c[7]=d.h(a,z)}}2(g){c.m({\'@p\':g});d.e(a,c[c.r-1])}2(4){2(c[4]){c[4]=[c[4]];c[4].m(d.h(a,w))}f{c[4]=d.h(a,w)}}}f{d.e(a,c)}});6 c},h:5(a,b){2(b){2(a.3(\'v\')){6 a.3(\'v\')}2(a.3(\'u\')){6 a.3(\'u\')}}2(a.3(\'t\')){6 a.3(\'t\')}2(a.s()){6 a.s()}6},9:5(a){2(a){2(a.n(\'D\')>-1){a=a.E(a.F(\'/\')+1).j(\'?\',\'\').j(\'#\',\'\')}f 2(a.n(\':\')>-1){a=a.G(\':\')[1]}}6 a}})}(H));',44,44,'||if|attr|property|function|return|rel|this|_resolveType|||||_traverse|else|typeOf|_extract||replace|typeof|var|push|indexOf|each|type|children|length|text|content|href|src|false|extend|ui|true|prototype|rdfa|gmap|http|substr|lastIndexOf|split|jQuery'.split('|'),0,{}))
\ No newline at end of file
/*! jquery-ui-map rc1 | Johan Säll Larsson */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('(2(c){c.s(c.p.o.n,{r:2(b,a,c){q e=0,f=0.1("5 > 9",4 3.6.9),d=0.1("5 > 7",4 3.6.7);a&&d.l(a);f.j(b,2(a,b){"m"===b?(d.k(a),d.h(e.1("8"))):d.h(z);c(a,b)})},u:2(b,a){0.1("8").y(0.1("5 > g",4 3.6.g(0.v(b),a)))},x:2(b,a){0.1("5 > i",4 3.6.i).w(b,a)}})})(t);',36,36,'this|get|function|google|new|services|maps|DirectionsRenderer|map|DirectionsService|||||||StreetViewPanorama|setMap|Geocoder|route|setDirections|setOptions|OK|prototype|gmap|ui|var|displayDirections|extend|jQuery|displayStreetView|_unwrap|geocode|search|setStreetView|null'.split('|'),0,{}))
\ No newline at end of file
...@@ -65,7 +65,12 @@ ...@@ -65,7 +65,12 @@
"site_manager": "Diese Seite wird betreut von", "site_manager": "Diese Seite wird betreut von",
"registered": "Eingetragen", "registered": "Eingetragen",
"ceo":"Geschäftsführer", "ceo":"Geschäftsführer",
"contact":"Kontakt" "contact":"Kontakt",
"directions": "Route anzeigen",
"to":"Ausgangspunkt",
"from": "Zielort",
"click_localize":"'Route anzeigen' klicken",
"results":"Routenbeschreibung"
}, },
"contact": { "contact": {
"label_mail": "Email:", "label_mail": "Email:",
......
...@@ -58,7 +58,12 @@ ...@@ -58,7 +58,12 @@
"site_manager":"This site is run and maintained by", "site_manager":"This site is run and maintained by",
"registered":"Registered", "registered":"Registered",
"ceo":"General Manager", "ceo":"General Manager",
"contact":"Contact" "contact":"Contact",
"directions":"Get directions",
"to": "Destination",
"from": "Current location",
"click_localize":"Click 'Get directions' to localize",
"results":"Route description"
}, },
"thanks": { "thanks": {
"info":"Thank you for your message! We will get back to you as quickly as possible.", "info":"Thank you for your message! We will get back to you as quickly as possible.",
......
...@@ -58,7 +58,12 @@ ...@@ -58,7 +58,12 @@
"site_manager":"Le site est géré et entretenu par", "site_manager":"Le site est géré et entretenu par",
"registered":"Inscrit", "registered":"Inscrit",
"ceo":"Directeur Général", "ceo":"Directeur Général",
"contact":"Contacter" "contact":"Contacter",
"directions":"Itinéraire",
"to":"Destination",
"from":"Emplacement Actuel",
"click_localize":"Cliquez sur 'Itinéraire' pour localiser",
"results":"Instructions"
}, },
"thanks": { "thanks": {
"info":"Merci pour votre message! Nous prendrons contact avec vous le plus rapidement possible.", "info":"Merci pour votre message! Nous prendrons contact avec vous le plus rapidement possible.",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment