Version Description
Please update your WP Google Maps version to 6.4.10 to ensure you are using the latest security enhancements.
Download this release
Release Info
Developer | WPGMaps |
Plugin | ![]() |
Version | 6.4.10 |
Comparing to | |
See all releases |
Code changes from version 6.4.09 to 6.4.10
- images/marker_list_modern.png +0 -0
- images/spotlight-poi2_hdpi.png +0 -0
- js/admin-basic.js +11 -1
- js/wpgmaps.js +618 -111
- js/wpgmaps.min.js +1 -1
- js/wpgmaps_osm.js +2 -2
- languages/wp-google-maps-da_DK.mo +0 -0
- languages/wp-google-maps-da_DK.po +542 -632
- languages/wp-google-maps-nb_NO.mo +0 -0
- languages/wp-google-maps-nb_NO.po +3933 -0
- languages/wp-google-maps-pl_PL.mo +0 -0
- languages/wp-google-maps-pl_PL.po +356 -361
- lib/CanvasLayer.js +547 -0
- lib/CanvasLayerOptions.js +71 -0
- lib/codecabin/deactivate-feedback-form.css +30 -0
- lib/codecabin/deactivate-feedback-form.js +120 -0
- lib/codecabin/deactivate-feedback-form.php +64 -0
- lib/codecabin/remodal-default-theme.css +323 -0
- lib/codecabin/remodal.css +93 -0
- lib/codecabin/remodal.min.js +10 -0
- lib/jquery.tokeninput.js +1106 -0
- lib/token-input-facebook.css +122 -0
- lib/token-input-mac.css +204 -0
- lib/token-input.css +127 -0
- readme.txt +21 -11
- wpGoogleMaps.php +54 -24
images/marker_list_modern.png
ADDED
Binary file
|
images/spotlight-poi2_hdpi.png
ADDED
Binary file
|
js/admin-basic.js
CHANGED
@@ -53,5 +53,15 @@ jQuery(document).ready(function(){
|
|
53 |
radiusStoreLocatorKm.addClass('active');
|
54 |
}
|
55 |
});
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
});
|
53 |
radiusStoreLocatorKm.addClass('active');
|
54 |
}
|
55 |
});
|
56 |
+
|
57 |
+
// If the store locator radii aren't valid when trying to save, switch to that tab so the error message is visible
|
58 |
+
jQuery("input[name='wpgmza_save_settings']").on("click", function() {
|
59 |
+
var input = jQuery("input.wpgmza_store_locator_radii");
|
60 |
+
var value = input.val();
|
61 |
+
var regex = new RegExp(input.attr("pattern"));
|
62 |
+
|
63 |
+
if(!value.match(regex))
|
64 |
+
jQuery("#wpgmaps_tabs").tabs({active: 3});
|
65 |
+
});
|
66 |
+
|
67 |
});
|
js/wpgmaps.js
CHANGED
@@ -8,19 +8,56 @@ for (var entry in wpgmaps_localize) {
|
|
8 |
}
|
9 |
}
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
function InitMap() {
|
13 |
var myLatLng = new google.maps.LatLng(wpgmaps_localize[wpgmaps_mapid].map_start_lat,wpgmaps_localize[wpgmaps_mapid].map_start_lng);
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
16 |
|
17 |
UniqueCode=Math.round(Math.random()*10000);
|
18 |
|
19 |
MYMAP.placeMarkers(wpgmaps_markerurl+'?u='+UniqueCode,wpgmaps_localize[wpgmaps_mapid].id,null,null,null);
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|
|
|
|
|
|
|
21 |
jQuery(function() {
|
22 |
|
23 |
jQuery(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
if (/1\.([0-7])\.([0-9])/.test(jQuery.fn.jquery)) {
|
25 |
setTimeout(function(){
|
26 |
document.getElementById('wpgmza_map').innerHTML = 'Error: Your version of jQuery is outdated. WP Google Maps requires jQuery version 1.7+ to function correctly. Go to Maps->Settings and check the box that allows you to over-ride your current jQuery to try eliminate this problem.';
|
@@ -84,6 +121,38 @@ if (wpgmaps_localize_global_settings['wpgmza_settings_map_full_screen_control']
|
|
84 |
if ('undefined' === typeof wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_max_zoom'] || wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_max_zoom'] === "") { wpgmza_max_zoom = 0; } else { wpgmza_max_zoom = parseInt(wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_max_zoom']); }
|
85 |
if ('undefined' === typeof wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_min_zoom'] || wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_min_zoom'] === "") { wpgmza_min_zoom = 21; } else { wpgmza_min_zoom = parseInt(wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_min_zoom']); }
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
MYMAP.init = function(selector, latLng, zoom) {
|
89 |
|
@@ -122,9 +191,8 @@ MYMAP.init = function(selector, latLng, zoom) {
|
|
122 |
if(!myOptions.styles)
|
123 |
myOptions.styles = [];
|
124 |
|
125 |
-
|
126 |
-
|
127 |
-
myOptions.styles = myOptions.styles.concat(jQuery.parseJSON(wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_theme_data']));
|
128 |
}
|
129 |
|
130 |
if(!wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_show_points_of_interest'])
|
@@ -142,9 +210,17 @@ MYMAP.init = function(selector, latLng, zoom) {
|
|
142 |
);
|
143 |
}
|
144 |
|
145 |
-
|
|
|
146 |
this.bounds = new google.maps.LatLngBounds();
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
/*var map = this.map;
|
149 |
google.maps.event.addDomListener(window, "resize", function() {
|
150 |
var center = map.getCenter();
|
@@ -200,6 +276,66 @@ google.maps.event.addDomListener(window, 'resize', function() {
|
|
200 |
var myLatLng = new google.maps.LatLng(wpgmaps_localize[wpgmaps_mapid].map_start_lat,wpgmaps_localize[wpgmaps_mapid].map_start_lng);
|
201 |
MYMAP.map.setCenter(myLatLng);
|
202 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
MYMAP.placeMarkers = function(filename,map_id,radius,searched_center,distance_type) {
|
204 |
var check1 = 0,
|
205 |
slNotFoundMessage = jQuery('.js-not-found-msg');
|
@@ -230,32 +366,10 @@ MYMAP.placeMarkers = function(filename,map_id,radius,searched_center,distance_ty
|
|
230 |
map: MYMAP.map,
|
231 |
animation: google.maps.Animation.BOUNCE
|
232 |
});
|
233 |
-
} else { /* dont show icon */ }
|
234 |
-
if (distance_type === "1") {
|
235 |
-
var populationOptions = {
|
236 |
-
strokeColor: '#FF0000',
|
237 |
-
strokeOpacity: 0.25,
|
238 |
-
strokeWeight: 2,
|
239 |
-
fillColor: '#FF0000',
|
240 |
-
fillOpacity: 0.15,
|
241 |
-
map: MYMAP.map,
|
242 |
-
center: point,
|
243 |
-
radius: parseInt(radius / 0.000621371)
|
244 |
-
};
|
245 |
-
} else {
|
246 |
-
var populationOptions = {
|
247 |
-
strokeColor: '#FF0000',
|
248 |
-
strokeOpacity: 0.25,
|
249 |
-
strokeWeight: 2,
|
250 |
-
fillColor: '#FF0000',
|
251 |
-
fillOpacity: 0.15,
|
252 |
-
map: MYMAP.map,
|
253 |
-
center: point,
|
254 |
-
radius: parseInt(radius / 0.001)
|
255 |
-
};
|
256 |
}
|
257 |
-
|
258 |
-
|
|
|
259 |
check1 = check1 + 1;
|
260 |
}
|
261 |
var R = 0;
|
@@ -368,31 +482,9 @@ MYMAP.placeMarkers = function(filename,map_id,radius,searched_center,distance_ty
|
|
368 |
animation: google.maps.Animation.BOUNCE
|
369 |
});
|
370 |
} else { /* dont show icon */ }
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
strokeOpacity: 0.25,
|
375 |
-
strokeWeight: 2,
|
376 |
-
fillColor: '#FF0000',
|
377 |
-
fillOpacity: 0.15,
|
378 |
-
map: MYMAP.map,
|
379 |
-
center: point,
|
380 |
-
radius: parseInt(radius / 0.000621371)
|
381 |
-
};
|
382 |
-
} else {
|
383 |
-
var populationOptions = {
|
384 |
-
strokeColor: '#FF0000',
|
385 |
-
strokeOpacity: 0.25,
|
386 |
-
strokeWeight: 2,
|
387 |
-
fillColor: '#FF0000',
|
388 |
-
fillOpacity: 0.15,
|
389 |
-
map: MYMAP.map,
|
390 |
-
center: point,
|
391 |
-
radius: parseInt(radius / 0.001)
|
392 |
-
};
|
393 |
-
}
|
394 |
-
|
395 |
-
cityCircle = new google.maps.Circle(populationOptions);
|
396 |
check1 = check1 + 1;
|
397 |
}
|
398 |
var R = 0;
|
@@ -583,34 +675,8 @@ function fillInAddress() {
|
|
583 |
// Get the place details from the autocomplete object.
|
584 |
var place = autocomplete.getPlace();
|
585 |
}
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
// user autofill
|
590 |
-
if (elementExists !== null) {
|
591 |
-
if (typeof wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_store_locator_restrict'] === "undefined" || wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_store_locator_restrict'] === "" ) {
|
592 |
-
/* initialize the autocomplete form */
|
593 |
-
autocomplete = new google.maps.places.Autocomplete(
|
594 |
-
/** @type {HTMLInputElement} */(document.getElementById('addressInput')),
|
595 |
-
{ types: ['geocode'] });
|
596 |
-
// When the user selects an address from the dropdown,
|
597 |
-
// populate the address fields in the form.
|
598 |
-
google.maps.event.addListener(autocomplete, 'place_changed', function() {
|
599 |
-
fillInAddress();
|
600 |
-
});
|
601 |
-
} else {
|
602 |
-
/* initialize the autocomplete form */
|
603 |
-
autocomplete = new google.maps.places.Autocomplete(
|
604 |
-
/** @type {HTMLInputElement} */(document.getElementById('addressInput')),
|
605 |
-
{ types: ['geocode'], componentRestrictions: {country: wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_store_locator_restrict']} });
|
606 |
-
// When the user selects an address from the dropdown,
|
607 |
-
// populate the address fields in the form.
|
608 |
-
google.maps.event.addListener(autocomplete, 'place_changed', function() {
|
609 |
-
fillInAddress();
|
610 |
-
});
|
611 |
-
}
|
612 |
-
}
|
613 |
-
}
|
614 |
|
615 |
|
616 |
function searchLocations(map_id) {
|
@@ -640,33 +706,11 @@ function clearLocations() {
|
|
640 |
}
|
641 |
function searchLocationsNear(mapid,center_searched) {
|
642 |
clearLocations();
|
643 |
-
var distance_type =
|
|
|
644 |
var radius = document.getElementById('radiusSelect').value;
|
645 |
-
|
646 |
-
|
647 |
-
else if (radius === "5") { zoomie = 12; }
|
648 |
-
else if (radius === "10") { zoomie = 11; }
|
649 |
-
else if (radius === "25") { zoomie = 9; }
|
650 |
-
else if (radius === "50") { zoomie = 8; }
|
651 |
-
else if (radius === "75") { zoomie = 8; }
|
652 |
-
else if (radius === "100") { zoomie = 7; }
|
653 |
-
else if (radius === "150") { zoomie = 7; }
|
654 |
-
else if (radius === "200") { zoomie = 6; }
|
655 |
-
else if (radius === "300") { zoomie = 6; }
|
656 |
-
else { zoomie = 14; }
|
657 |
-
} else {
|
658 |
-
if (radius === "1") { zoomie = 14; }
|
659 |
-
else if (radius === "5") { zoomie = 12; }
|
660 |
-
else if (radius === "10") { zoomie = 11; }
|
661 |
-
else if (radius === "25") { zoomie = 10; }
|
662 |
-
else if (radius === "50") { zoomie = 9; }
|
663 |
-
else if (radius === "75") { zoomie = 8; }
|
664 |
-
else if (radius === "100") { zoomie = 8; }
|
665 |
-
else if (radius === "150") { zoomie = 7; }
|
666 |
-
else if (radius === "200") { zoomie = 7; }
|
667 |
-
else if (radius === "300") { zoomie = 6; }
|
668 |
-
else { zoomie = 14; }
|
669 |
-
}
|
670 |
MYMAP.init("#wpgmza_map", center_searched, zoomie, 3);
|
671 |
MYMAP.placeMarkers(wpgmaps_markerurl+'?u='+UniqueCode,wpgmaps_localize[wpgmaps_mapid].id,radius,center_searched,distance_type);
|
672 |
}
|
@@ -674,4 +718,467 @@ function searchLocationsNear(mapid,center_searched) {
|
|
674 |
function toRad(Value) {
|
675 |
/** Converts numeric degrees to radians */
|
676 |
return Value * Math.PI / 180;
|
677 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
}
|
10 |
|
11 |
+
function wpgmza_parse_theme_data(raw)
|
12 |
+
{
|
13 |
+
|
14 |
+
var json;
|
15 |
+
|
16 |
+
try{
|
17 |
+
json = JSON.parse(raw);
|
18 |
+
}catch(e) {
|
19 |
+
try{
|
20 |
+
json = eval(raw);
|
21 |
+
}catch(e) {
|
22 |
+
console.warn("Couldn't parse theme data");
|
23 |
+
return [];
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
return json;
|
28 |
+
}
|
29 |
|
30 |
function InitMap() {
|
31 |
var myLatLng = new google.maps.LatLng(wpgmaps_localize[wpgmaps_mapid].map_start_lat,wpgmaps_localize[wpgmaps_mapid].map_start_lng);
|
32 |
+
|
33 |
+
if(typeof wpgmza_override_zoom !== "undefined")
|
34 |
+
MYMAP.init('#wpgmza_map', myLatLng, parseInt(wpgmza_override_zoom));
|
35 |
+
else
|
36 |
+
MYMAP.init('#wpgmza_map', myLatLng, parseInt(wpgmaps_localize[wpgmaps_mapid].map_start_zoom));
|
37 |
|
38 |
UniqueCode=Math.round(Math.random()*10000);
|
39 |
|
40 |
MYMAP.placeMarkers(wpgmaps_markerurl+'?u='+UniqueCode,wpgmaps_localize[wpgmaps_mapid].id,null,null,null);
|
41 |
+
|
42 |
+
if(wpgmaps_localize[wpgmaps_mapid].other_settings.store_locator_style == 'modern')
|
43 |
+
{
|
44 |
+
MYMAP.modernStoreLocator = new WPGMZA.ModernStoreLocator(wpgmaps_mapid);
|
45 |
+
wpgmza_create_places_autocomplete();
|
46 |
+
}
|
47 |
}
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
jQuery(function() {
|
52 |
|
53 |
jQuery(document).ready(function(){
|
54 |
+
|
55 |
+
// Fastclick adapation
|
56 |
+
jQuery(document).on({'DOMNodeInserted': function() {
|
57 |
+
jQuery('.pac-item, .pac-item span', this).addClass('needsclick');
|
58 |
+
}
|
59 |
+
}, '.pac-container');
|
60 |
+
|
61 |
if (/1\.([0-7])\.([0-9])/.test(jQuery.fn.jquery)) {
|
62 |
setTimeout(function(){
|
63 |
document.getElementById('wpgmza_map').innerHTML = 'Error: Your version of jQuery is outdated. WP Google Maps requires jQuery version 1.7+ to function correctly. Go to Maps->Settings and check the box that allows you to over-ride your current jQuery to try eliminate this problem.';
|
121 |
if ('undefined' === typeof wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_max_zoom'] || wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_max_zoom'] === "") { wpgmza_max_zoom = 0; } else { wpgmza_max_zoom = parseInt(wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_max_zoom']); }
|
122 |
if ('undefined' === typeof wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_min_zoom'] || wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_min_zoom'] === "") { wpgmza_min_zoom = 21; } else { wpgmza_min_zoom = parseInt(wpgmaps_localize[wpgmaps_mapid]['other_settings']['map_min_zoom']); }
|
123 |
|
124 |
+
function wpgmza_create_places_autocomplete() {
|
125 |
+
|
126 |
+
var elementExists = document.getElementById("addressInput");
|
127 |
+
|
128 |
+
if (typeof google === 'object' && typeof google.maps === 'object' && typeof google.maps.places === 'object' && typeof google.maps.places.Autocomplete === 'function') {
|
129 |
+
|
130 |
+
// user autofill
|
131 |
+
if (elementExists !== null) {
|
132 |
+
if (typeof wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_store_locator_restrict'] === "undefined" || wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_store_locator_restrict'] === "" ) {
|
133 |
+
/* initialize the autocomplete form */
|
134 |
+
autocomplete = new google.maps.places.Autocomplete(
|
135 |
+
/** @type {HTMLInputElement} */(document.getElementById('addressInput')),
|
136 |
+
{ types: ['geocode'] });
|
137 |
+
// When the user selects an address from the dropdown,
|
138 |
+
// populate the address fields in the form.
|
139 |
+
google.maps.event.addListener(autocomplete, 'place_changed', function() {
|
140 |
+
fillInAddress();
|
141 |
+
});
|
142 |
+
} else {
|
143 |
+
/* initialize the autocomplete form */
|
144 |
+
autocomplete = new google.maps.places.Autocomplete(
|
145 |
+
/** @type {HTMLInputElement} */(document.getElementById('addressInput')),
|
146 |
+
{ types: ['geocode'], componentRestrictions: {country: wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_store_locator_restrict']} });
|
147 |
+
// When the user selects an address from the dropdown,
|
148 |
+
// populate the address fields in the form.
|
149 |
+
google.maps.event.addListener(autocomplete, 'place_changed', function() {
|
150 |
+
fillInAddress();
|
151 |
+
});
|
152 |
+
}
|
153 |
+
}
|
154 |
+
}
|
155 |
+
}
|
156 |
|
157 |
MYMAP.init = function(selector, latLng, zoom) {
|
158 |
|
191 |
if(!myOptions.styles)
|
192 |
myOptions.styles = [];
|
193 |
|
194 |
+
wpgmza_theme_data = wpgmza_parse_theme_data(wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_theme_data']);
|
195 |
+
myOptions.styles = myOptions.styles.concat(wpgmza_theme_data);
|
|
|
196 |
}
|
197 |
|
198 |
if(!wpgmaps_localize[wpgmaps_mapid]['other_settings']['wpgmza_show_points_of_interest'])
|
210 |
);
|
211 |
}
|
212 |
|
213 |
+
var element = jQuery(selector)[0];
|
214 |
+
this.map = new google.maps.Map(element, myOptions);
|
215 |
this.bounds = new google.maps.LatLngBounds();
|
216 |
|
217 |
+
if(MYMAP.modernStoreLocator)
|
218 |
+
{
|
219 |
+
MYMAP.modernStoreLocator.element.index = 1;
|
220 |
+
this.map.controls[google.maps.ControlPosition.TOP_CENTER].push(MYMAP.modernStoreLocator.element);
|
221 |
+
wpgmza_create_places_autocomplete();
|
222 |
+
}
|
223 |
+
|
224 |
/*var map = this.map;
|
225 |
google.maps.event.addDomListener(window, "resize", function() {
|
226 |
var center = map.getCenter();
|
276 |
var myLatLng = new google.maps.LatLng(wpgmaps_localize[wpgmaps_mapid].map_start_lat,wpgmaps_localize[wpgmaps_mapid].map_start_lng);
|
277 |
MYMAP.map.setCenter(myLatLng);
|
278 |
});
|
279 |
+
|
280 |
+
if(!window.WPGMZA)
|
281 |
+
window.WPGMZA = {};
|
282 |
+
|
283 |
+
WPGMZA.KM_PER_MILE = 1.60934;
|
284 |
+
WPGMZA.MILE_PER_KM = 0.621371;
|
285 |
+
|
286 |
+
WPGMZA.UNITS_MILES = 1;
|
287 |
+
WPGMZA.UNITS_KM = 2;
|
288 |
+
|
289 |
+
function wpgmza_get_zoom_from_radius(radius, units)
|
290 |
+
{
|
291 |
+
// With thanks to Jeff Jason http://jeffjason.com/2011/12/google-maps-radius-to-zoom/
|
292 |
+
|
293 |
+
if(units == WPGMZA.UNITS_MILES)
|
294 |
+
radius *= WPGMZA.KM_PER_MILE;
|
295 |
+
|
296 |
+
return Math.round(14-Math.log(radius)/Math.LN2);
|
297 |
+
}
|
298 |
+
|
299 |
+
function wpgmza_show_store_locator_radius(map_id, center, radius, distance_type)
|
300 |
+
{
|
301 |
+
switch(wpgmaps_localize[map_id].other_settings.wpgmza_store_locator_radius_style)
|
302 |
+
{
|
303 |
+
case "modern":
|
304 |
+
if(MYMAP.modernStoreLocatorCircle)
|
305 |
+
MYMAP.modernStoreLocatorCircle.destroy();
|
306 |
+
|
307 |
+
MYMAP.modernStoreLocatorCircle = WPGMZA.ModernStoreLocatorCircle.createInstance(map_id);
|
308 |
+
|
309 |
+
MYMAP.modernStoreLocatorCircle.setOptions({
|
310 |
+
visible: true,
|
311 |
+
center: center,
|
312 |
+
radius: radius * (distance_type == 1 ? WPGMZA.KM_PER_MILE : 1),
|
313 |
+
radiusString: radius
|
314 |
+
});
|
315 |
+
|
316 |
+
break;
|
317 |
+
|
318 |
+
default:
|
319 |
+
var options = {
|
320 |
+
strokeColor: '#FF0000',
|
321 |
+
strokeOpacity: 0.25,
|
322 |
+
strokeWeight: 2,
|
323 |
+
fillColor: '#FF0000',
|
324 |
+
fillOpacity: 0.15,
|
325 |
+
map: MYMAP.map,
|
326 |
+
center: center
|
327 |
+
};
|
328 |
+
|
329 |
+
if (distance_type === "1")
|
330 |
+
options.radius = parseInt(radius / 0.000621371);
|
331 |
+
else
|
332 |
+
options.radius = parseInt(radius / 0.001);
|
333 |
+
|
334 |
+
var circle = new google.maps.Circle(options);
|
335 |
+
break;
|
336 |
+
}
|
337 |
+
}
|
338 |
+
|
339 |
MYMAP.placeMarkers = function(filename,map_id,radius,searched_center,distance_type) {
|
340 |
var check1 = 0,
|
341 |
slNotFoundMessage = jQuery('.js-not-found-msg');
|
366 |
map: MYMAP.map,
|
367 |
animation: google.maps.Animation.BOUNCE
|
368 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
369 |
}
|
370 |
+
|
371 |
+
wpgmza_show_store_locator_radius(map_id, point, radius, distance_type);
|
372 |
+
|
373 |
check1 = check1 + 1;
|
374 |
}
|
375 |
var R = 0;
|
482 |
animation: google.maps.Animation.BOUNCE
|
483 |
});
|
484 |
} else { /* dont show icon */ }
|
485 |
+
|
486 |
+
wpgmza_show_store_locator_radius(map_id, point, radius, distance_type);
|
487 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
488 |
check1 = check1 + 1;
|
489 |
}
|
490 |
var R = 0;
|
675 |
// Get the place details from the autocomplete object.
|
676 |
var place = autocomplete.getPlace();
|
677 |
}
|
678 |
+
|
679 |
+
wpgmza_create_places_autocomplete();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
|
681 |
|
682 |
function searchLocations(map_id) {
|
706 |
}
|
707 |
function searchLocationsNear(mapid,center_searched) {
|
708 |
clearLocations();
|
709 |
+
var distance_type = wpgmaps_localize[mapid].other_settings.store_locator_distance;
|
710 |
+
|
711 |
var radius = document.getElementById('radiusSelect').value;
|
712 |
+
var zoomie = wpgmza_get_zoom_from_radius(radius);
|
713 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
714 |
MYMAP.init("#wpgmza_map", center_searched, zoomie, 3);
|
715 |
MYMAP.placeMarkers(wpgmaps_markerurl+'?u='+UniqueCode,wpgmaps_localize[wpgmaps_mapid].id,radius,center_searched,distance_type);
|
716 |
}
|
718 |
function toRad(Value) {
|
719 |
/** Converts numeric degrees to radians */
|
720 |
return Value * Math.PI / 180;
|
721 |
+
}
|
722 |
+
|
723 |
+
(function($) {
|
724 |
+
|
725 |
+
if(!window.WPGMZA)
|
726 |
+
window.WPGMZA = {};
|
727 |
+
|
728 |
+
WPGMZA.hexToRgba = function(hex) {
|
729 |
+
var c;
|
730 |
+
if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)){
|
731 |
+
c= hex.substring(1).split('');
|
732 |
+
if(c.length== 3){
|
733 |
+
c= [c[0], c[0], c[1], c[1], c[2], c[2]];
|
734 |
+
}
|
735 |
+
c= '0x'+c.join('');
|
736 |
+
|
737 |
+
return {
|
738 |
+
r: (c>>16)&255,
|
739 |
+
g: (c>>8)&255,
|
740 |
+
b: c&255,
|
741 |
+
a: 1
|
742 |
+
};
|
743 |
+
}
|
744 |
+
throw new Error('Bad Hex');
|
745 |
+
}
|
746 |
+
|
747 |
+
WPGMZA.rgbaToString = function(rgba) {
|
748 |
+
return "rgba(" + rgba.r + ", " + rgba.g + ", " + rgba.b + ", " + rgba.a + ")";
|
749 |
+
}
|
750 |
+
|
751 |
+
WPGMZA.ModernStoreLocator = function(map_id) {
|
752 |
+
var self = this;
|
753 |
+
|
754 |
+
var original = $(".wpgmza_sl_search_button").closest(".wpgmza_sl_main_div");
|
755 |
+
|
756 |
+
if(!original.length)
|
757 |
+
return;
|
758 |
+
|
759 |
+
// Build / re-arrange elements
|
760 |
+
this.element = $("<div class='wpgmza-modern-store-locator'><div class='wpgmza-inner'><!--<i class='fas fa-bars'></i>--></div></div>")[0];
|
761 |
+
|
762 |
+
var inner = $(this.element).find(".wpgmza-inner");
|
763 |
+
|
764 |
+
MYMAP.map.controls[google.maps.ControlPosition.TOP_CENTER].push(this.element);
|
765 |
+
|
766 |
+
inner.append($(original).find( "#addressInput" ));
|
767 |
+
inner.append($(original).find( "select.wpgmza_sl_radius_select" ));
|
768 |
+
|
769 |
+
// Buttons
|
770 |
+
this.searchButton = $(original).find( ".wpgmza_sl_search_button" );
|
771 |
+
inner.append(this.searchButton);
|
772 |
+
|
773 |
+
this.resetButton = $(original).find( ".wpgmza_sl_reset_button_div>input" );
|
774 |
+
inner.append(this.resetButton);
|
775 |
+
|
776 |
+
// Distance type
|
777 |
+
inner.append($("#wpgmza_distance_type_" + map_id));
|
778 |
+
|
779 |
+
// Remove original element
|
780 |
+
$(original).remove();
|
781 |
+
|
782 |
+
// Event listeners
|
783 |
+
$(this.element).find("input, select").on("focus", function() {
|
784 |
+
$(inner).addClass("active");
|
785 |
+
});
|
786 |
+
|
787 |
+
$(this.element).find("input, select").on("blur", function() {
|
788 |
+
$(inner).removeClass("active");
|
789 |
+
});
|
790 |
+
}
|
791 |
+
|
792 |
+
WPGMZA.GoogleAPIErrorHandler = function() {
|
793 |
+
var _error = console.error;
|
794 |
+
|
795 |
+
console.error = function(message)
|
796 |
+
{
|
797 |
+
var m = message.match(/^Google Maps API error: (\w+) (.+)/);
|
798 |
+
|
799 |
+
if(m)
|
800 |
+
{
|
801 |
+
var friendlyMessage = m[1].replace(/([A-Z])/g, " $1") + " - See " + m[2] + " for more information";
|
802 |
+
alert(friendlyMessage);
|
803 |
+
}
|
804 |
+
|
805 |
+
_error.apply(this, arguments);
|
806 |
+
}
|
807 |
+
}
|
808 |
+
|
809 |
+
WPGMZA.googleAPIErrorHandler = new WPGMZA.GoogleAPIErrorHandler();
|
810 |
+
|
811 |
+
/**
|
812 |
+
* This module is the modern store locator circle
|
813 |
+
* @constructor
|
814 |
+
*/
|
815 |
+
WPGMZA.ModernStoreLocatorCircle = function(map_id, settings) {
|
816 |
+
var self = this;
|
817 |
+
|
818 |
+
this.map = MYMAP.map;
|
819 |
+
|
820 |
+
this.canvasLayer = new CanvasLayer({
|
821 |
+
map: this.map,
|
822 |
+
resizeHandler: function(event) {
|
823 |
+
self.onResize(event);
|
824 |
+
},
|
825 |
+
updateHandler: function(event) {
|
826 |
+
self.onUpdate(event);
|
827 |
+
},
|
828 |
+
animate: true,
|
829 |
+
resolutionScale: this.getResolutionScale()
|
830 |
+
});
|
831 |
+
|
832 |
+
this.settings = {
|
833 |
+
center: new google.maps.LatLng(0, 0),
|
834 |
+
radius: 1,
|
835 |
+
color: "#63AFF2",
|
836 |
+
|
837 |
+
shadowColor: "white",
|
838 |
+
shadowBlur: 2,
|
839 |
+
|
840 |
+
centerRingRadius: 10,
|
841 |
+
centerRingLineWidth: 3,
|
842 |
+
|
843 |
+
numInnerRings: 9,
|
844 |
+
innerRingLineWidth: 1,
|
845 |
+
innerRingFade: true,
|
846 |
+
|
847 |
+
numOuterRings: 7,
|
848 |
+
|
849 |
+
ringLineWidth: 1,
|
850 |
+
|
851 |
+
mainRingLineWidth: 2,
|
852 |
+
|
853 |
+
numSpokes: 6,
|
854 |
+
spokesStartAngle: Math.PI / 2,
|
855 |
+
|
856 |
+
numRadiusLabels: 6,
|
857 |
+
radiusLabelsStartAngle: Math.PI / 2,
|
858 |
+
radiusLabelFont: "13px sans-serif",
|
859 |
+
|
860 |
+
visible: false
|
861 |
+
};
|
862 |
+
|
863 |
+
if(settings)
|
864 |
+
this.setOptions(settings);
|
865 |
+
}
|
866 |
+
|
867 |
+
WPGMZA.ModernStoreLocatorCircle.createInstance = function(map_id, settings) {
|
868 |
+
return new WPGMZA.ModernStoreLocatorCircle(map_id, settings);
|
869 |
+
}
|
870 |
+
|
871 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.destroy = function() {
|
872 |
+
if(this.canvasLayer) {
|
873 |
+
this.canvasLayer.setOptions({
|
874 |
+
animate: false,
|
875 |
+
updateHandler: null,
|
876 |
+
resizeHandler: null,
|
877 |
+
map: null
|
878 |
+
});
|
879 |
+
}
|
880 |
+
}
|
881 |
+
|
882 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.onResize = function(event) {
|
883 |
+
this.draw();
|
884 |
+
}
|
885 |
+
|
886 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.onUpdate = function(event) {
|
887 |
+
this.draw();
|
888 |
+
}
|
889 |
+
|
890 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.setOptions = function(options) {
|
891 |
+
for(var name in options)
|
892 |
+
{
|
893 |
+
var functionName = "set" + name.substr(0, 1).toUpperCase() + name.substr(1);
|
894 |
+
|
895 |
+
if(typeof this[functionName] == "function")
|
896 |
+
this[functionName](options[name]);
|
897 |
+
else
|
898 |
+
this.settings[name] = options[name];
|
899 |
+
}
|
900 |
+
this.canvasLayer.scheduleUpdate();
|
901 |
+
}
|
902 |
+
|
903 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.getResolutionScale = function() {
|
904 |
+
return window.devicePixelRatio || 1;
|
905 |
+
}
|
906 |
+
|
907 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.getCenter = function() {
|
908 |
+
return this.getPosition();
|
909 |
+
}
|
910 |
+
|
911 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.setCenter = function(value) {
|
912 |
+
this.setPosition(value);
|
913 |
+
}
|
914 |
+
|
915 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.getPosition = function() {
|
916 |
+
return this.settings.center;
|
917 |
+
}
|
918 |
+
|
919 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.setPosition = function(position) {
|
920 |
+
this.settings.center = position;
|
921 |
+
this.canvasLayer.scheduleUpdate();
|
922 |
+
}
|
923 |
+
|
924 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.getRadius = function() {
|
925 |
+
return this.settings.radius;
|
926 |
+
}
|
927 |
+
|
928 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.setRadius = function(radius) {
|
929 |
+
this.settings.radius = radius;
|
930 |
+
this.canvasLayer.scheduleUpdate();
|
931 |
+
}
|
932 |
+
|
933 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.getVisible = function(visible) {
|
934 |
+
return this.settings.visible;
|
935 |
+
}
|
936 |
+
|
937 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.setVisible = function(visible) {
|
938 |
+
this.settings.visible = visible;
|
939 |
+
this.canvasLayer.scheduleUpdate();
|
940 |
+
}
|
941 |
+
|
942 |
+
/**
|
943 |
+
* This function transforms a km radius into canvas space
|
944 |
+
* @return number
|
945 |
+
*/
|
946 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.getTransformedRadius = function(km) {
|
947 |
+
var multiplierAtEquator = 0.006395;
|
948 |
+
var spherical = google.maps.geometry.spherical;
|
949 |
+
|
950 |
+
var center = this.settings.center;
|
951 |
+
var equator = new google.maps.LatLng({
|
952 |
+
lat: 0.0,
|
953 |
+
lng: 0.0
|
954 |
+
});
|
955 |
+
var latitude = new google.maps.LatLng({
|
956 |
+
lat: center.lat(),
|
957 |
+
lng: 0.0
|
958 |
+
});
|
959 |
+
|
960 |
+
var offsetAtEquator = spherical.computeOffset(equator, km * 1000, 90);
|
961 |
+
var offsetAtLatitude = spherical.computeOffset(latitude, km * 1000, 90);
|
962 |
+
|
963 |
+
var factor = offsetAtLatitude.lng() / offsetAtEquator.lng();
|
964 |
+
|
965 |
+
return km * multiplierAtEquator * factor;
|
966 |
+
}
|
967 |
+
|
968 |
+
WPGMZA.ModernStoreLocatorCircle.prototype.draw = function() {
|
969 |
+
// clear previous canvas contents
|
970 |
+
var canvasLayer = this.canvasLayer;
|
971 |
+
var settings = this.settings;
|
972 |
+
|
973 |
+
var canvasWidth = canvasLayer.canvas.width;
|
974 |
+
var canvasHeight = canvasLayer.canvas.height;
|
975 |
+
|
976 |
+
var map = MYMAP.map;
|
977 |
+
var resolutionScale = this.getResolutionScale();
|
978 |
+
|
979 |
+
context = canvasLayer.canvas.getContext('2d');
|
980 |
+
|
981 |
+
context.clearRect(0, 0, canvasWidth, canvasHeight);
|
982 |
+
|
983 |
+
if(!settings.visible)
|
984 |
+
return;
|
985 |
+
|
986 |
+
context.shadowColor = settings.shadowColor;
|
987 |
+
context.shadowBlur = settings.shadowBlur;
|
988 |
+
|
989 |
+
// NB: 2018/02/13 - Left this here in case it needs to be calibrated more accurately
|
990 |
+
/*if(!this.testCircle)
|
991 |
+
{
|
992 |
+
this.testCircle = new google.maps.Circle({
|
993 |
+
strokeColor: "#ff0000",
|
994 |
+
strokeOpacity: 0.5,
|
995 |
+
strokeWeight: 3,
|
996 |
+
map: this.map,
|
997 |
+
center: this.settings.center
|
998 |
+
});
|
999 |
+
}
|
1000 |
+
|
1001 |
+
this.testCircle.setCenter(settings.center);
|
1002 |
+
this.testCircle.setRadius(settings.radius * 1000);*/
|
1003 |
+
|
1004 |
+
/* We need to scale and translate the map for current view.
|
1005 |
+
* see https://developers.google.com/maps/documentation/javascript/maptypes#MapCoordinates
|
1006 |
+
*/
|
1007 |
+
var mapProjection = map.getProjection();
|
1008 |
+
|
1009 |
+
/**
|
1010 |
+
* Clear transformation from last update by setting to identity matrix.
|
1011 |
+
* Could use context.resetTransform(), but most browsers don't support
|
1012 |
+
* it yet.
|
1013 |
+
*/
|
1014 |
+
context.setTransform(1, 0, 0, 1, 0, 0);
|
1015 |
+
|
1016 |
+
// scale is just 2^zoom
|
1017 |
+
// If canvasLayer is scaled (with resolutionScale), we need to scale by
|
1018 |
+
// the same amount to account for the larger canvas.
|
1019 |
+
var scale = Math.pow(2, map.zoom) * resolutionScale;
|
1020 |
+
context.scale(scale, scale);
|
1021 |
+
|
1022 |
+
/* If the map was not translated, the topLeft corner would be 0,0 in
|
1023 |
+
* world coordinates. Our translation is just the vector from the
|
1024 |
+
* world coordinate of the topLeft corder to 0,0.
|
1025 |
+
*/
|
1026 |
+
var offset = mapProjection.fromLatLngToPoint(canvasLayer.getTopLeft());
|
1027 |
+
context.translate(-offset.x, -offset.y);
|
1028 |
+
|
1029 |
+
// project rectLatLng to world coordinates and draw
|
1030 |
+
var worldPoint = mapProjection.fromLatLngToPoint(this.settings.center);
|
1031 |
+
var rgba = WPGMZA.hexToRgba(settings.color);
|
1032 |
+
var ringSpacing = this.getTransformedRadius(settings.radius) / (settings.numInnerRings + 1);
|
1033 |
+
|
1034 |
+
// TODO: Implement gradients for color and opacity
|
1035 |
+
|
1036 |
+
// Inside circle (fixed?)
|
1037 |
+
context.strokeStyle = settings.color;
|
1038 |
+
context.lineWidth = (1 / scale) * settings.centerRingLineWidth;
|
1039 |
+
|
1040 |
+
context.beginPath();
|
1041 |
+
context.arc(
|
1042 |
+
worldPoint.x,
|
1043 |
+
worldPoint.y,
|
1044 |
+
this.getTransformedRadius(settings.centerRingRadius) / scale, 0, 2 * Math.PI
|
1045 |
+
);
|
1046 |
+
context.stroke();
|
1047 |
+
context.closePath();
|
1048 |
+
|
1049 |
+
// Spokes
|
1050 |
+
var radius = this.getTransformedRadius(settings.radius) + (ringSpacing * settings.numOuterRings) + 1;
|
1051 |
+
var grad = context.createRadialGradient(0, 0, 0, 0, 0, radius);
|
1052 |
+
var rgba = WPGMZA.hexToRgba(settings.color);
|
1053 |
+
var start = WPGMZA.rgbaToString(rgba), end;
|
1054 |
+
var spokeAngle;
|
1055 |
+
|
1056 |
+
rgba.a = 0;
|
1057 |
+
end = WPGMZA.rgbaToString(rgba);
|
1058 |
+
|
1059 |
+
grad.addColorStop(0, start);
|
1060 |
+
grad.addColorStop(1, end);
|
1061 |
+
|
1062 |
+
context.save();
|
1063 |
+
|
1064 |
+
context.translate(worldPoint.x, worldPoint.y);
|
1065 |
+
context.strokeStyle = grad;
|
1066 |
+
context.lineWidth = 2 / scale;
|
1067 |
+
|
1068 |
+
for(var i = 0; i < settings.numSpokes; i++)
|
1069 |
+
{
|
1070 |
+
spokeAngle = settings.spokesStartAngle + (Math.PI * 2) * (i / settings.numSpokes);
|
1071 |
+
|
1072 |
+
x = Math.cos(spokeAngle) * radius;
|
1073 |
+
y = Math.sin(spokeAngle) * radius;
|
1074 |
+
|
1075 |
+
context.setLineDash([2 / scale, 15 / scale]);
|
1076 |
+
|
1077 |
+
context.beginPath();
|
1078 |
+
context.moveTo(0, 0);
|
1079 |
+
context.lineTo(x, y);
|
1080 |
+
context.stroke();
|
1081 |
+
}
|
1082 |
+
|
1083 |
+
context.setLineDash([]);
|
1084 |
+
|
1085 |
+
context.restore();
|
1086 |
+
|
1087 |
+
// Inner ringlets
|
1088 |
+
context.lineWidth = (1 / scale) * settings.innerRingLineWidth;
|
1089 |
+
|
1090 |
+
for(var i = 1; i <= settings.numInnerRings; i++)
|
1091 |
+
{
|
1092 |
+
var radius = i * ringSpacing;
|
1093 |
+
|
1094 |
+
if(settings.innerRingFade)
|
1095 |
+
rgba.a = 1 - (i - 1) / settings.numInnerRings;
|
1096 |
+
|
1097 |
+
context.strokeStyle = WPGMZA.rgbaToString(rgba);
|
1098 |
+
|
1099 |
+
context.beginPath();
|
1100 |
+
context.arc(worldPoint.x, worldPoint.y, radius, 0, 2 * Math.PI);
|
1101 |
+
context.stroke();
|
1102 |
+
context.closePath();
|
1103 |
+
}
|
1104 |
+
|
1105 |
+
// Main circle
|
1106 |
+
context.strokeStyle = settings.color;
|
1107 |
+
context.lineWidth = (1 / scale) * settings.centerRingLineWidth;
|
1108 |
+
|
1109 |
+
context.beginPath();
|
1110 |
+
context.arc(worldPoint.x, worldPoint.y, this.getTransformedRadius(settings.radius), 0, 2 * Math.PI);
|
1111 |
+
context.stroke();
|
1112 |
+
context.closePath();
|
1113 |
+
|
1114 |
+
// Outer ringlets
|
1115 |
+
var radius = radius + ringSpacing;
|
1116 |
+
for(var i = 0; i < settings.numOuterRings; i++)
|
1117 |
+
{
|
1118 |
+
if(settings.innerRingFade)
|
1119 |
+
rgba.a = 1 - i / settings.numOuterRings;
|
1120 |
+
|
1121 |
+
context.strokeStyle = WPGMZA.rgbaToString(rgba);
|
1122 |
+
|
1123 |
+
context.beginPath();
|
1124 |
+
context.arc(worldPoint.x, worldPoint.y, radius, 0, 2 * Math.PI);
|
1125 |
+
context.stroke();
|
1126 |
+
context.closePath();
|
1127 |
+
|
1128 |
+
radius += ringSpacing;
|
1129 |
+
}
|
1130 |
+
|
1131 |
+
// Text
|
1132 |
+
if(settings.numRadiusLabels > 0)
|
1133 |
+
{
|
1134 |
+
var m;
|
1135 |
+
var radius = this.getTransformedRadius(settings.radius);
|
1136 |
+
var clipRadius = (12 * 1.1) / scale;
|
1137 |
+
var x, y;
|
1138 |
+
|
1139 |
+
if(m = settings.radiusLabelFont.match(/(\d+)px/))
|
1140 |
+
clipRadius = (parseInt(m[1]) / 2 * 1.1) / scale;
|
1141 |
+
|
1142 |
+
context.font = settings.radiusLabelFont;
|
1143 |
+
context.textAlign = "center";
|
1144 |
+
context.textBaseline = "middle";
|
1145 |
+
context.fillStyle = settings.color;
|
1146 |
+
|
1147 |
+
context.save();
|
1148 |
+
|
1149 |
+
context.translate(worldPoint.x, worldPoint.y)
|
1150 |
+
|
1151 |
+
for(var i = 0; i < settings.numRadiusLabels; i++)
|
1152 |
+
{
|
1153 |
+
var spokeAngle = settings.radiusLabelsStartAngle + (Math.PI * 2) * (i / settings.numRadiusLabels);
|
1154 |
+
var textAngle = spokeAngle + Math.PI / 2;
|
1155 |
+
var text = settings.radiusString;
|
1156 |
+
var width;
|
1157 |
+
|
1158 |
+
if(Math.sin(spokeAngle) > 0)
|
1159 |
+
textAngle -= Math.PI;
|
1160 |
+
|
1161 |
+
x = Math.cos(spokeAngle) * radius;
|
1162 |
+
y = Math.sin(spokeAngle) * radius;
|
1163 |
+
|
1164 |
+
context.save();
|
1165 |
+
|
1166 |
+
context.translate(x, y);
|
1167 |
+
|
1168 |
+
context.rotate(textAngle);
|
1169 |
+
context.scale(1 / scale, 1 / scale);
|
1170 |
+
|
1171 |
+
width = context.measureText(text).width;
|
1172 |
+
height = width / 2;
|
1173 |
+
context.clearRect(-width, -height, 2 * width, 2 * height);
|
1174 |
+
|
1175 |
+
context.fillText(settings.radiusString, 0, 0);
|
1176 |
+
|
1177 |
+
context.restore();
|
1178 |
+
}
|
1179 |
+
|
1180 |
+
context.restore();
|
1181 |
+
}
|
1182 |
+
}
|
1183 |
+
|
1184 |
+
})(jQuery);
|
js/wpgmaps.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function InitMap(){var a=new google.maps.LatLng(wpgmaps_localize[0].map_start_lat,wpgmaps_localize[0].map_start_lng);"undefined"!=typeof wpgmza_override_zoom?MYMAP.init("#wpgmza_map",a,parseInt(wpgmza_override_zoom)):MYMAP.init("#wpgmza_map",a,parseInt(wpgmaps_localize[0].map_start_zoom)),UniqueCode=Math.round(1e4*Math.random()),MYMAP.placeMarkers(wpgmaps_markerurl+"?u="+UniqueCode,wpgmaps_localize[0].id,null,null,null)}function add_polygon(a){var b=wpgmaps_localize_polygon_settings[a],d=b.polydata,e=new Array;for(tmp_entry2 in d)"undefined"!=typeof d[tmp_entry2][0]&&e.push(new google.maps.LatLng(d[tmp_entry2][0],d[tmp_entry2][1]));null!==b.lineopacity&&""!==b.lineopacity||(b.lineopacity=1);var f=new google.maps.LatLngBounds;for(i=0;i<e.length;i++)f.extend(e[i]);WPGM_Path_Polygon[a]=new google.maps.Polygon({path:e,clickable:!0,strokeColor:"#"+b.linecolor,fillOpacity:b.opacity,strokeOpacity:b.lineopacity,fillColor:"#"+b.fillcolor,strokeWeight:2,map:MYMAP.map}),WPGM_Path_Polygon[a].setMap(MYMAP.map),polygon_center=f.getCenter(),""!==b.title&&(infoWindow_poly[a]=new google.maps.InfoWindow,google.maps.event.addListener(WPGM_Path_Polygon[a],"click",function(c){if(infoWindow_poly[a].setPosition(c.latLng),d="",""!==b.link)var d="<a href='"+b.link+"'>"+b.title+"</a>";else var d=b.title;infoWindow_poly[a].setContent(d),infoWindow_poly[a].open(MYMAP.map,this.position)}))}function add_polyline(a){var b=wpgmaps_localize_polyline_settings[a],d=b.polydata,e=new Array;for(tmp_entry2 in d)if("undefined"!=typeof d[tmp_entry2][0]&&"undefined"!=typeof d[tmp_entry2][1]){var f=d[tmp_entry2][0].replace(")","");f=f.replace("(","");var g=d[tmp_entry2][1].replace(")","");g=g.replace("(",""),e.push(new google.maps.LatLng(f,g))}null!==b.lineopacity&&""!==b.lineopacity||(b.lineopacity=1),WPGM_Path[a]=new google.maps.Polyline({path:e,strokeColor:"#"+b.linecolor,strokeOpacity:b.opacity,strokeWeight:b.linethickness,map:MYMAP.map}),WPGM_Path[a].setMap(MYMAP.map)}function fillInAddress(){autocomplete.getPlace()}function searchLocations(a){var b=document.getElementById("addressInput").value,c=new google.maps.Geocoder;"undefined"==typeof wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict||""===wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict?c.geocode({address:b},function(c,d){d===google.maps.GeocoderStatus.OK?searchLocationsNear(a,c[0].geometry.location):alert(b+" not found")}):c.geocode({address:b,componentRestrictions:{country:wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict}},function(c,d){d===google.maps.GeocoderStatus.OK?searchLocationsNear(a,c[0].geometry.location):alert(b+" not found")})}function clearLocations(){infoWindow.close()}function searchLocationsNear(a,b){clearLocations();var c=document.getElementById("wpgmza_distance_type").value,d=document.getElementById("radiusSelect").value;"1"===c?"1"===d?zoomie=14:"5"===d?zoomie=12:"10"===d?zoomie=11:"25"===d?zoomie=9:"50"===d?zoomie=8:"75"===d?zoomie=8:"100"===d?zoomie=7:"150"===d?zoomie=7:"200"===d?zoomie=6:"300"===d?zoomie=6:zoomie=14:"1"===d?zoomie=14:"5"===d?zoomie=12:"10"===d?zoomie=11:"25"===d?zoomie=10:"50"===d?zoomie=9:"75"===d?zoomie=8:"100"===d?zoomie=8:"150"===d?zoomie=7:"200"===d?zoomie=7:"300"===d?zoomie=6:zoomie=14,MYMAP.init("#wpgmza_map",b,zoomie,3),MYMAP.placeMarkers(wpgmaps_markerurl+"?u="+UniqueCode,wpgmaps_localize[0].id,d,b,c)}function toRad(a){return a*Math.PI/180}var WPGM_Path_Polygon=new Array,WPGM_Path=new Array,infoWindow_poly=Array();for(var entry in wpgmaps_localize)"undefined"==typeof window.jQuery&&setTimeout(function(){document.getElementById("wpgmza_map").innerHTML='Error: In order for WP Google Maps to work, jQuery must be installed. A check was done and jQuery was not present. Please see the <a href="http://www.wpgmaps.com/documentation/troubleshooting/jquery-troubleshooting/" title="WP Google Maps - jQuery Troubleshooting">jQuery troubleshooting section of our site</a> for more information.'},5e3);jQuery(function(){jQuery(document).ready(function(){/1\.(0|1|2|3|4|5|6|7)\.(0|1|2|3|4|5|6|7|8|9)/.test(jQuery.fn.jquery)?setTimeout(function(){document.getElementById("wpgmza_map").innerHTML="Error: Your version of jQuery is outdated. WP Google Maps requires jQuery version 1.7+ to function correctly. Go to Maps->Settings and check the box that allows you to over-ride your current jQuery to try eliminate this problem."},6e3):(jQuery("#wpgmza_map").css({height:wpgmaps_localize[0].map_height+""+wpgmaps_localize[0].map_height_type,width:wpgmaps_localize[0].map_width+""+wpgmaps_localize[0].map_width_type}),InitMap(),jQuery("body").on("tabsactivate",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("tabsshow",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("accordionactivate",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".wpb_tabs_nav li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".ui-tabs-nav li",function(a,b){InitMap()}),jQuery("body").on("click",".tp-tabs li a",function(a,b){InitMap()}),jQuery("body").on("click",".nav-tabs li a",function(a,b){InitMap()}),jQuery("body").on("click",".vc_tta-panel-heading",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".ult_exp_section",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".x-accordion-heading",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".x-nav-tabs li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".tab-title",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".tab-link",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".et_pb_tabs_controls li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".fusion-tab-heading",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".et_pb_tab",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".tri-tabs-nav span",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".gdl-tabs li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click","#tabnav li",function(){setTimeout(function(){InitMap()},500)}))})});var MYMAP={map:null,bounds:null};""===wpgmaps_localize_global_settings.wpgmza_settings_map_draggable||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_draggable?wpgmza_settings_map_draggable=!0:wpgmza_settings_map_draggable=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_clickzoom||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_clickzoom?wpgmza_settings_map_clickzoom=!1:wpgmza_settings_map_clickzoom=!0,""===wpgmaps_localize_global_settings.wpgmza_settings_map_scroll||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_scroll?wpgmza_settings_map_scroll=!0:wpgmza_settings_map_scroll=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_zoom||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_zoom?wpgmza_settings_map_zoom=!0:wpgmza_settings_map_zoom=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_pan||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_pan?wpgmza_settings_map_pan=!0:wpgmza_settings_map_pan=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_type||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_type?wpgmza_settings_map_type=!0:wpgmza_settings_map_type=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_streetview||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_streetview?wpgmza_settings_map_streetview=!0:wpgmza_settings_map_streetview=!1,"undefined"==typeof wpgmaps_localize[0].other_settings.map_max_zoom||""===wpgmaps_localize[0].other_settings.map_max_zoom?wpgmza_max_zoom=0:wpgmza_max_zoom=parseInt(wpgmaps_localize[0].other_settings.map_max_zoom),"undefined"==typeof wpgmaps_localize[0].other_settings.map_min_zoom||""===wpgmaps_localize[0].other_settings.map_min_zoom?wpgmza_min_zoom=21:wpgmza_min_zoom=parseInt(wpgmaps_localize[0].other_settings.map_min_zoom),MYMAP.init=function(a,b,c){"undefined"!=typeof wpgmaps_localize[0].type?"1"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.ROADMAP:"2"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.SATELLITE:"3"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.HYBRID:"4"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.TERRAIN:maptype=google.maps.MapTypeId.ROADMAP:maptype=google.maps.MapTypeId.ROADMAP;var d={zoom:c,minZoom:wpgmza_max_zoom,maxZoom:wpgmza_min_zoom,center:b,zoomControl:wpgmza_settings_map_zoom,panControl:wpgmza_settings_map_pan,mapTypeControl:wpgmza_settings_map_type,streetViewControl:wpgmza_settings_map_streetview,draggable:wpgmza_settings_map_draggable,disableDoubleClickZoom:wpgmza_settings_map_clickzoom,scrollwheel:wpgmza_settings_map_scroll,mapTypeId:maptype};if(this.map=new google.maps.Map(jQuery(a)[0],d),this.bounds=new google.maps.LatLngBounds,"undefined"!=typeof wpgmaps_localize[0].other_settings.wpgmza_theme_data&&wpgmaps_localize[0].other_settings.wpgmza_theme_data!==!1&&""!==wpgmaps_localize[0].other_settings.wpgmza_theme_data&&(wpgmza_theme_data=jQuery.parseJSON(wpgmaps_localize[0].other_settings.wpgmza_theme_data),this.map.setOptions({styles:jQuery.parseJSON(wpgmaps_localize[0].other_settings.wpgmza_theme_data)})),null!==wpgmaps_localize_polygon_settings&&"undefined"!=typeof wpgmaps_localize_polygon_settings)for(var e in wpgmaps_localize_polygon_settings)add_polygon(e);if(null!==wpgmaps_localize_polyline_settings&&"undefined"!=typeof wpgmaps_localize_polyline_settings)for(var e in wpgmaps_localize_polyline_settings)add_polyline(e);if("1"===wpgmaps_localize[0].bicycle){var f=new google.maps.BicyclingLayer;f.setMap(MYMAP.map)}if("1"===wpgmaps_localize[0].traffic){var g=new google.maps.TrafficLayer;g.setMap(MYMAP.map)}if("undefined"!=typeof wpgmaps_localize[0].other_settings.transport_layer&&1===wpgmaps_localize[0].other_settings.transport_layer){var h=new google.maps.TransitLayer;h.setMap(MYMAP.map)}google.maps.event.addListener(MYMAP.map,"click",function(){infoWindow.close()})};var infoWindow=new google.maps.InfoWindow;"undefined"!=typeof wpgmaps_localize_global_settings.wpgmza_settings_infowindow_width&&""!==wpgmaps_localize_global_settings.wpgmza_settings_infowindow_width&&infoWindow.setOptions({maxWidth:wpgmaps_localize_global_settings.wpgmza_settings_infowindow_width}),google.maps.event.addDomListener(window,"resize",function(){var a=new google.maps.LatLng(wpgmaps_localize[0].map_start_lat,wpgmaps_localize[0].map_start_lng);MYMAP.map.setCenter(a)}),MYMAP.placeMarkers=function(a,b,c,d,e){var f=0,g=jQuery(".js-not-found-msg");if("1"===wpgmaps_localize_global_settings.wpgmza_settings_marker_pull)jQuery.get(a,function(a){jQuery(a).find("marker").each(function(){var a=jQuery(this).find("map_id").text();if(a==b){var g=jQuery(this).find("address").text(),h=jQuery(this).find("lat").text(),i=jQuery(this).find("lng").text(),j=jQuery(this).find("anim").text(),k=jQuery(this).find("infoopen").text(),l=jQuery(this).find("lat").text(),m=jQuery(this).find("lng").text(),n=!0;if(null!==c){if(f>0);else{var o=new google.maps.LatLng(parseFloat(d.lat()),parseFloat(d.lng()));if(MYMAP.bounds.extend(o),"undefined"==typeof wpgmaps_localize[0].other_settings.store_locator_bounce||1===wpgmaps_localize[0].other_settings.store_locator_bounce)var p=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});if("1"===e)var q={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/621371e-9)};else var q={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/.001)};cityCircle=new google.maps.Circle(q),f+=1}var r=0;r="1"===e?3958.7558657440545:6378.16;var s=toRad(d.lat()-l),t=toRad(d.lng()-m),u=Math.sin(s/2)*Math.sin(s/2)+Math.cos(toRad(l))*Math.cos(toRad(d.lat()))*Math.sin(t/2)*Math.sin(t/2),v=2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u)),w=r*v;n=w<c}var o=new google.maps.LatLng(parseFloat(h),parseFloat(i));if(MYMAP.bounds.extend(o),n===!0){if("1"===j)var p=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});else if("2"===j)var p=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.DROP});else var p=new google.maps.Marker({position:o,map:MYMAP.map});var x="";x=null!==c?"1"===e?"<p style='min-width:100px; display:block;'>"+Math.round(w,2)+" "+wpgmaps_lang_m_away+"</p>":"<p style='min-width:100px; display:block;'>"+Math.round(w,2)+" "+wpgmaps_lang_km_away+"</p>":"";var y="<span style='min-width:100px; display:block;'>"+g+"</span>"+x;"1"===k&&(infoWindow.setContent(y),infoWindow.open(MYMAP.map,p)),temp_actiontype="click","undefined"!=typeof wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&"2"==wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&(temp_actiontype="mouseover"),google.maps.event.addListener(p,temp_actiontype,function(){infoWindow.close(),infoWindow.setContent(y),infoWindow.open(MYMAP.map,p)})}}})});else if(wpgmaps_localize_marker_data.length>0){var h=0;jQuery.each(wpgmaps_localize_marker_data,function(a,g){var i=g.map_id;if(i==b){var j=g.address,k=g.anim,l=g.infoopen,m=g.lat,n=g.lng,o=new google.maps.LatLng(parseFloat(m),parseFloat(n)),p=g.lat,q=g.lng,r=!0;if(null!==c){if(f>0);else{var o=new google.maps.LatLng(parseFloat(d.lat()),parseFloat(d.lng()));if(MYMAP.bounds.extend(o),"undefined"==typeof wpgmaps_localize[0].other_settings.store_locator_bounce||1===wpgmaps_localize[0].other_settings.store_locator_bounce)var s=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});if("1"===e)var t={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/621371e-9)};else var t={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/.001)};cityCircle=new google.maps.Circle(t),f+=1}var u=0;u="1"===e?3958.7558657440545:6378.16;var v=toRad(d.lat()-p),w=toRad(d.lng()-q),x=Math.sin(v/2)*Math.sin(v/2)+Math.cos(toRad(p))*Math.cos(toRad(d.lat()))*Math.sin(w/2)*Math.sin(w/2),y=2*Math.atan2(Math.sqrt(x),Math.sqrt(1-x)),z=u*y;z<c?(r=!0,h++):r=!1}var o=new google.maps.LatLng(parseFloat(m),parseFloat(n));if(MYMAP.bounds.extend(o),r===!0){if("1"===k)var s=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});else if("2"===k)var s=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.DROP});else var s=new google.maps.Marker({position:o,map:MYMAP.map});var A="";A=null!==c?"1"===e?"<p style='min-width:100px; display:block;'>"+Math.round(z,2)+" "+wpgmaps_lang_m_away+"</p>":"<p style='min-width:100px; display:block;'>"+Math.round(z,2)+" "+wpgmaps_lang_km_away+"</p>":"";var B="<span style='min-width:100px; display:block;'>"+j+"</span>"+A;"1"===l&&(infoWindow.setContent(B),infoWindow.open(MYMAP.map,s)),temp_actiontype="click","undefined"!=typeof wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&"2"==wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&(temp_actiontype="mouseover"),google.maps.event.addListener(s,temp_actiontype,function(){infoWindow.close(),infoWindow.setContent(B),infoWindow.open(MYMAP.map,s)})}}}),""!==jQuery("#addressInput").val()&&h<1&&(g.addClass("is-active"),setTimeout(function(){g.removeClass("is-active")},5e3))}},jQuery("body").on("keypress","#addressInput",function(a){13==a.which&&jQuery(".wpgmza_sl_search_button").trigger("click")});var autocomplete,elementExists=document.getElementById("addressInput");"object"==typeof google&&"object"==typeof google.maps&&"object"==typeof google.maps.places&&"function"==typeof google.maps.places.Autocomplete&&null!==elementExists&&("undefined"==typeof wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict||""===wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict?(autocomplete=new google.maps.places.Autocomplete(document.getElementById("addressInput"),{types:["geocode"]}),google.maps.event.addListener(autocomplete,"place_changed",function(){fillInAddress()})):(autocomplete=new google.maps.places.Autocomplete(document.getElementById("addressInput"),{types:["geocode"],componentRestrictions:{country:wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict}}),google.maps.event.addListener(autocomplete,"place_changed",function(){fillInAddress()})));
|
1 |
+
function InitMap(){var a=new google.maps.LatLng(wpgmaps_localize[0].map_start_lat,wpgmaps_localize[0].map_start_lng);"undefined"!=typeof wpgmza_override_zoom?MYMAP.init("#wpgmza_map",a,parseInt(wpgmza_override_zoom)):MYMAP.init("#wpgmza_map",a,parseInt(wpgmaps_localize[0].map_start_zoom)),UniqueCode=Math.round(1e4*Math.random()),MYMAP.placeMarkers(wpgmaps_markerurl+"?u="+UniqueCode,wpgmaps_localize[0].id,null,null,null)}function add_polygon(a){var b=wpgmaps_localize_polygon_settings[a],d=b.polydata,e=new Array;for(tmp_entry2 in d)"undefined"!=typeof d[tmp_entry2][0]&&e.push(new google.maps.LatLng(d[tmp_entry2][0],d[tmp_entry2][1]));null!==b.lineopacity&&""!==b.lineopacity||(b.lineopacity=1);var f=new google.maps.LatLngBounds;for(i=0;i<e.length;i++)f.extend(e[i]);WPGM_Path_Polygon[a]=new google.maps.Polygon({path:e,clickable:!0,strokeColor:"#"+b.linecolor,fillOpacity:b.opacity,strokeOpacity:b.lineopacity,fillColor:"#"+b.fillcolor,strokeWeight:2,map:MYMAP.map}),WPGM_Path_Polygon[a].setMap(MYMAP.map),polygon_center=f.getCenter(),""!==b.title&&(infoWindow_poly[a]=new google.maps.InfoWindow,google.maps.event.addListener(WPGM_Path_Polygon[a],"click",function(c){if(infoWindow_poly[a].setPosition(c.latLng),d="",""!==b.link)var d="<a href='"+b.link+"'>"+b.title+"</a>";else var d=b.title;infoWindow_poly[a].setContent(d),infoWindow_poly[a].open(MYMAP.map,this.position)}))}function add_polyline(a){var b=wpgmaps_localize_polyline_settings[a],d=b.polydata,e=new Array;for(tmp_entry2 in d)if("undefined"!=typeof d[tmp_entry2][0]&&"undefined"!=typeof d[tmp_entry2][1]){var f=d[tmp_entry2][0].replace(")","");f=f.replace("(","");var g=d[tmp_entry2][1].replace(")","");g=g.replace("(",""),e.push(new google.maps.LatLng(f,g))}null!==b.lineopacity&&""!==b.lineopacity||(b.lineopacity=1),WPGM_Path[a]=new google.maps.Polyline({path:e,strokeColor:"#"+b.linecolor,strokeOpacity:b.opacity,strokeWeight:b.linethickness,map:MYMAP.map}),WPGM_Path[a].setMap(MYMAP.map)}function fillInAddress(){autocomplete.getPlace()}function searchLocations(a){var b=document.getElementById("addressInput").value,c=new google.maps.Geocoder;"undefined"==typeof wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict||""===wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict?c.geocode({address:b},function(c,d){d===google.maps.GeocoderStatus.OK?searchLocationsNear(a,c[0].geometry.location):alert(b+" not found")}):c.geocode({address:b,componentRestrictions:{country:wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict}},function(c,d){d===google.maps.GeocoderStatus.OK?searchLocationsNear(a,c[0].geometry.location):alert(b+" not found")})}function clearLocations(){infoWindow.close()}function searchLocationsNear(a,b){clearLocations();var c=document.getElementById("wpgmza_distance_type").value,d=document.getElementById("radiusSelect").value;"1"===c?"1"===d?zoomie=14:"5"===d?zoomie=12:"10"===d?zoomie=11:"25"===d?zoomie=9:"50"===d?zoomie=8:"75"===d?zoomie=8:"100"===d?zoomie=7:"150"===d?zoomie=7:"200"===d?zoomie=6:"300"===d?zoomie=6:zoomie=14:"1"===d?zoomie=14:"5"===d?zoomie=12:"10"===d?zoomie=11:"25"===d?zoomie=10:"50"===d?zoomie=9:"75"===d?zoomie=8:"100"===d?zoomie=8:"150"===d?zoomie=7:"200"===d?zoomie=7:"300"===d?zoomie=6:zoomie=14,MYMAP.init("#wpgmza_map",b,zoomie,3),MYMAP.placeMarkers(wpgmaps_markerurl+"?u="+UniqueCode,wpgmaps_localize[0].id,d,b,c)}function toRad(a){return a*Math.PI/180}var WPGM_Path_Polygon=new Array,WPGM_Path=new Array,infoWindow_poly=Array();for(var entry in wpgmaps_localize)"undefined"==typeof window.jQuery&&setTimeout(function(){document.getElementById("wpgmza_map").innerHTML='Error: In order for WP Google Maps to work, jQuery must be installed. A check was done and jQuery was not present. Please see the <a href="http://www.wpgmaps.com/documentation/troubleshooting/jquery-troubleshooting/" title="WP Google Maps - jQuery Troubleshooting">jQuery troubleshooting section of our site</a> for more information.'},5e3);jQuery(function(){jQuery(document).ready(function(){/1\.(0|1|2|3|4|5|6|7)\.(0|1|2|3|4|5|6|7|8|9)/.test(jQuery.fn.jquery)?setTimeout(function(){document.getElementById("wpgmza_map").innerHTML="Error: Your version of jQuery is outdated. WP Google Maps requires jQuery version 1.7+ to function correctly. Go to Maps->Settings and check the box that allows you to over-ride your current jQuery to try eliminate this problem."},6e3):(jQuery("#wpgmza_map").css({height:wpgmaps_localize[0].map_height+""+wpgmaps_localize[0].map_height_type,width:wpgmaps_localize[0].map_width+""+wpgmaps_localize[0].map_width_type}),InitMap(),jQuery("body").on("tabsactivate",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("tabsshow",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("accordionactivate",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".wpb_tabs_nav li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".ui-tabs-nav li",function(a,b){InitMap()}),jQuery("body").on("click",".tp-tabs li a",function(a,b){InitMap()}),jQuery("body").on("click",".nav-tabs li a",function(a,b){InitMap()}),jQuery("body").on("click",".vc_tta-panel-heading",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".ult_exp_section",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".x-accordion-heading",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".x-nav-tabs li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".tab-title",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".tab-link",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".et_pb_tabs_controls li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".fusion-tab-heading",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".et_pb_tab",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".tri-tabs-nav span",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click",".gdl-tabs li",function(){setTimeout(function(){InitMap()},500)}),jQuery("body").on("click","#tabnav li",function(){setTimeout(function(){InitMap()},500)}))})});var MYMAP={map:null,bounds:null};""===wpgmaps_localize_global_settings.wpgmza_settings_map_draggable||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_draggable?wpgmza_settings_map_draggable=!0:wpgmza_settings_map_draggable=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_clickzoom||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_clickzoom?wpgmza_settings_map_clickzoom=!1:wpgmza_settings_map_clickzoom=!0,""===wpgmaps_localize_global_settings.wpgmza_settings_map_scroll||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_scroll?wpgmza_settings_map_scroll=!0:wpgmza_settings_map_scroll=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_zoom||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_zoom?wpgmza_settings_map_zoom=!0:wpgmza_settings_map_zoom=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_pan||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_pan?wpgmza_settings_map_pan=!0:wpgmza_settings_map_pan=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_type||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_type?wpgmza_settings_map_type=!0:wpgmza_settings_map_type=!1,""===wpgmaps_localize_global_settings.wpgmza_settings_map_streetview||"undefined"==typeof wpgmaps_localize_global_settings.wpgmza_settings_map_streetview?wpgmza_settings_map_streetview=!0:wpgmza_settings_map_streetview=!1,"undefined"==typeof wpgmaps_localize[0].other_settings.map_max_zoom||""===wpgmaps_localize[0].other_settings.map_max_zoom?wpgmza_max_zoom=0:wpgmza_max_zoom=parseInt(wpgmaps_localize[0].other_settings.map_max_zoom),"undefined"==typeof wpgmaps_localize[0].other_settings.map_min_zoom||""===wpgmaps_localize[0].other_settings.map_min_zoom?wpgmza_min_zoom=21:wpgmza_min_zoom=parseInt(wpgmaps_localize[0].other_settings.map_min_zoom),MYMAP.init=function(a,b,c){"undefined"!=typeof wpgmaps_localize[0].type?"1"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.ROADMAP:"2"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.SATELLITE:"3"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.HYBRID:"4"===wpgmaps_localize[0].type?maptype=google.maps.MapTypeId.TERRAIN:maptype=google.maps.MapTypeId.ROADMAP:maptype=google.maps.MapTypeId.ROADMAP;var d={zoom:c,minZoom:wpgmza_max_zoom,maxZoom:wpgmza_min_zoom,center:b,zoomControl:wpgmza_settings_map_zoom,panControl:wpgmza_settings_map_pan,mapTypeControl:wpgmza_settings_map_type,streetViewControl:wpgmza_settings_map_streetview,draggable:wpgmza_settings_map_draggable,disableDoubleClickZoom:wpgmza_settings_map_clickzoom,scrollwheel:wpgmza_settings_map_scroll,mapTypeId:maptype};if(this.map=new google.maps.Map(jQuery(a)[0],d),this.bounds=new google.maps.LatLngBounds,"undefined"!=typeof wpgmaps_localize[0].other_settings.wpgmza_theme_data&&wpgmaps_localize[0].other_settings.wpgmza_theme_data!==!1&&""!==wpgmaps_localize[0].other_settings.wpgmza_theme_data&&(wpgmza_theme_data=JSON.parse(wpgmaps_localize[0].other_settings.wpgmza_theme_data),this.map.setOptions({styles:JSON.parse(wpgmaps_localize[0].other_settings.wpgmza_theme_data)})),null!==wpgmaps_localize_polygon_settings&&"undefined"!=typeof wpgmaps_localize_polygon_settings)for(var e in wpgmaps_localize_polygon_settings)add_polygon(e);if(null!==wpgmaps_localize_polyline_settings&&"undefined"!=typeof wpgmaps_localize_polyline_settings)for(var e in wpgmaps_localize_polyline_settings)add_polyline(e);if("1"===wpgmaps_localize[0].bicycle){var f=new google.maps.BicyclingLayer;f.setMap(MYMAP.map)}if("1"===wpgmaps_localize[0].traffic){var g=new google.maps.TrafficLayer;g.setMap(MYMAP.map)}if("undefined"!=typeof wpgmaps_localize[0].other_settings.transport_layer&&1===wpgmaps_localize[0].other_settings.transport_layer){var h=new google.maps.TransitLayer;h.setMap(MYMAP.map)}google.maps.event.addListener(MYMAP.map,"click",function(){infoWindow.close()})};var infoWindow=new google.maps.InfoWindow;"undefined"!=typeof wpgmaps_localize_global_settings.wpgmza_settings_infowindow_width&&""!==wpgmaps_localize_global_settings.wpgmza_settings_infowindow_width&&infoWindow.setOptions({maxWidth:wpgmaps_localize_global_settings.wpgmza_settings_infowindow_width}),google.maps.event.addDomListener(window,"resize",function(){var a=new google.maps.LatLng(wpgmaps_localize[0].map_start_lat,wpgmaps_localize[0].map_start_lng);MYMAP.map.setCenter(a)}),MYMAP.placeMarkers=function(a,b,c,d,e){var f=0,g=jQuery(".js-not-found-msg");if("1"===wpgmaps_localize_global_settings.wpgmza_settings_marker_pull)jQuery.get(a,function(a){jQuery(a).find("marker").each(function(){var a=jQuery(this).find("map_id").text();if(a==b){var g=jQuery(this).find("address").text(),h=jQuery(this).find("lat").text(),i=jQuery(this).find("lng").text(),j=jQuery(this).find("anim").text(),k=jQuery(this).find("infoopen").text(),l=jQuery(this).find("lat").text(),m=jQuery(this).find("lng").text(),n=!0;if(null!==c){if(f>0);else{var o=new google.maps.LatLng(parseFloat(d.lat()),parseFloat(d.lng()));if(MYMAP.bounds.extend(o),"undefined"==typeof wpgmaps_localize[0].other_settings.store_locator_bounce||1===wpgmaps_localize[0].other_settings.store_locator_bounce)var p=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});if("1"===e)var q={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/621371e-9)};else var q={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/.001)};cityCircle=new google.maps.Circle(q),f+=1}var r=0;r="1"===e?3958.7558657440545:6378.16;var s=toRad(d.lat()-l),t=toRad(d.lng()-m),u=Math.sin(s/2)*Math.sin(s/2)+Math.cos(toRad(l))*Math.cos(toRad(d.lat()))*Math.sin(t/2)*Math.sin(t/2),v=2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u)),w=r*v;n=w<c}var o=new google.maps.LatLng(parseFloat(h),parseFloat(i));if(MYMAP.bounds.extend(o),n===!0){if("1"===j)var p=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});else if("2"===j)var p=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.DROP});else var p=new google.maps.Marker({position:o,map:MYMAP.map});var x="";x=null!==c?"1"===e?"<p style='min-width:100px; display:block;'>"+Math.round(w,2)+" "+wpgmaps_lang_m_away+"</p>":"<p style='min-width:100px; display:block;'>"+Math.round(w,2)+" "+wpgmaps_lang_km_away+"</p>":"";var y="<span style='min-width:100px; display:block;'>"+g+"</span>"+x;"1"===k&&(infoWindow.setContent(y),infoWindow.open(MYMAP.map,p)),temp_actiontype="click","undefined"!=typeof wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&"2"==wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&(temp_actiontype="mouseover"),google.maps.event.addListener(p,temp_actiontype,function(){infoWindow.close(),infoWindow.setContent(y),infoWindow.open(MYMAP.map,p)})}}})});else if(wpgmaps_localize_marker_data.length>0){var h=0;jQuery.each(wpgmaps_localize_marker_data,function(a,g){var i=g.map_id;if(i==b){var j=g.address,k=g.anim,l=g.infoopen,m=g.lat,n=g.lng,o=new google.maps.LatLng(parseFloat(m),parseFloat(n)),p=g.lat,q=g.lng,r=!0;if(null!==c){if(f>0);else{var o=new google.maps.LatLng(parseFloat(d.lat()),parseFloat(d.lng()));if(MYMAP.bounds.extend(o),"undefined"==typeof wpgmaps_localize[0].other_settings.store_locator_bounce||1===wpgmaps_localize[0].other_settings.store_locator_bounce)var s=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});if("1"===e)var t={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/621371e-9)};else var t={strokeColor:"#FF0000",strokeOpacity:.25,strokeWeight:2,fillColor:"#FF0000",fillOpacity:.15,map:MYMAP.map,center:o,radius:parseInt(c/.001)};cityCircle=new google.maps.Circle(t),f+=1}var u=0;u="1"===e?3958.7558657440545:6378.16;var v=toRad(d.lat()-p),w=toRad(d.lng()-q),x=Math.sin(v/2)*Math.sin(v/2)+Math.cos(toRad(p))*Math.cos(toRad(d.lat()))*Math.sin(w/2)*Math.sin(w/2),y=2*Math.atan2(Math.sqrt(x),Math.sqrt(1-x)),z=u*y;z<c?(r=!0,h++):r=!1}var o=new google.maps.LatLng(parseFloat(m),parseFloat(n));if(MYMAP.bounds.extend(o),r===!0){if("1"===k)var s=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.BOUNCE});else if("2"===k)var s=new google.maps.Marker({position:o,map:MYMAP.map,animation:google.maps.Animation.DROP});else var s=new google.maps.Marker({position:o,map:MYMAP.map});var A="";A=null!==c?"1"===e?"<p style='min-width:100px; display:block;'>"+Math.round(z,2)+" "+wpgmaps_lang_m_away+"</p>":"<p style='min-width:100px; display:block;'>"+Math.round(z,2)+" "+wpgmaps_lang_km_away+"</p>":"";var B="<span style='min-width:100px; display:block;'>"+j+"</span>"+A;"1"===l&&(infoWindow.setContent(B),infoWindow.open(MYMAP.map,s)),temp_actiontype="click","undefined"!=typeof wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&"2"==wpgmaps_localize_global_settings.wpgmza_settings_map_open_marker_by&&(temp_actiontype="mouseover"),google.maps.event.addListener(s,temp_actiontype,function(){infoWindow.close(),infoWindow.setContent(B),infoWindow.open(MYMAP.map,s)})}}}),""!==jQuery("#addressInput").val()&&h<1&&(g.addClass("is-active"),setTimeout(function(){g.removeClass("is-active")},5e3))}},jQuery("body").on("keypress","#addressInput",function(a){13==a.which&&jQuery(".wpgmza_sl_search_button").trigger("click")});var autocomplete,elementExists=document.getElementById("addressInput");"object"==typeof google&&"object"==typeof google.maps&&"object"==typeof google.maps.places&&"function"==typeof google.maps.places.Autocomplete&&null!==elementExists&&("undefined"==typeof wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict||""===wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict?(autocomplete=new google.maps.places.Autocomplete(document.getElementById("addressInput"),{types:["geocode"]}),google.maps.event.addListener(autocomplete,"place_changed",function(){fillInAddress()})):(autocomplete=new google.maps.places.Autocomplete(document.getElementById("addressInput"),{types:["geocode"],componentRestrictions:{country:wpgmaps_localize[0].other_settings.wpgmza_store_locator_restrict}}),google.maps.event.addListener(autocomplete,"place_changed",function(){fillInAddress()})));
|
js/wpgmaps_osm.js
CHANGED
@@ -114,8 +114,8 @@ MYMAP.init = function(selector, latLng, zoom) {
|
|
114 |
/*
|
115 |
|
116 |
if ("undefined" !== typeof wpgmaps_localize[0]['other_settings']['wpgmza_theme_data'] && wpgmaps_localize[0]['other_settings']['wpgmza_theme_data'] !== false && wpgmaps_localize[0]['other_settings']['wpgmza_theme_data'] !== "") {
|
117 |
-
wpgmza_theme_data =
|
118 |
-
this.map.setOptions({styles:
|
119 |
}
|
120 |
|
121 |
*/
|
114 |
/*
|
115 |
|
116 |
if ("undefined" !== typeof wpgmaps_localize[0]['other_settings']['wpgmza_theme_data'] && wpgmaps_localize[0]['other_settings']['wpgmza_theme_data'] !== false && wpgmaps_localize[0]['other_settings']['wpgmza_theme_data'] !== "") {
|
117 |
+
wpgmza_theme_data = JSON.parse(wpgmaps_localize[0]['other_settings']['wpgmza_theme_data']);
|
118 |
+
this.map.setOptions({styles: JSON.parse(wpgmaps_localize[0]['other_settings']['wpgmza_theme_data'])});
|
119 |
}
|
120 |
|
121 |
*/
|
languages/wp-google-maps-da_DK.mo
CHANGED
Binary file
|
languages/wp-google-maps-da_DK.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WP Google Maps v6.0.26\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2016-07-18 13:47+0200\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: patrick <patrick_jepsen@hotmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: da_DK\n"
|
@@ -11,30 +11,29 @@ msgstr ""
|
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
-
"X-Generator: Poedit
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
18 |
-
"X-Poedit-Basepath:
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Poedit-SearchPath-1: C
|
22 |
-
"
|
23 |
-
"X-Poedit-SearchPath-2: C
|
24 |
-
"
|
25 |
-
"X-Poedit-SearchPath-3: C
|
26 |
-
"
|
27 |
-
"X-Poedit-SearchPath-4: C
|
28 |
-
"
|
29 |
|
30 |
# @ wp-google-maps
|
31 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:243
|
32 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:3712
|
33 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:764
|
34 |
#: wpGoogleMaps.php:764
|
35 |
-
#, fuzzy
|
36 |
msgid "settings"
|
37 |
-
msgstr "
|
38 |
|
39 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:244
|
40 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:3713
|
@@ -45,13 +44,15 @@ msgid ""
|
|
45 |
"Your Google Maps API key has been successfully saved. This API key can be "
|
46 |
"changed in the %s page"
|
47 |
msgstr ""
|
|
|
|
|
48 |
|
49 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:720
|
50 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:839
|
51 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:4217
|
52 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:4341
|
53 |
msgid "Geocode was not successful for the following reason"
|
54 |
-
msgstr ""
|
55 |
|
56 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1173
|
57 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1335
|
@@ -61,18 +62,17 @@ msgstr ""
|
|
61 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:4867
|
62 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5825
|
63 |
msgid "More details"
|
64 |
-
msgstr ""
|
65 |
|
66 |
# @ wp-google-maps
|
67 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1595
|
68 |
-
#, fuzzy
|
69 |
msgid "Advanced Map Settings"
|
70 |
-
msgstr "
|
71 |
|
72 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1600
|
73 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1950
|
74 |
msgid "Enable Mass Marker Support"
|
75 |
-
msgstr ""
|
76 |
|
77 |
# @ wp-google-maps
|
78 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1603
|
@@ -164,9 +164,8 @@ msgstr "Nej"
|
|
164 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1610
|
165 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:6677
|
166 |
#: wpGoogleMaps.php:6677
|
167 |
-
#, fuzzy
|
168 |
msgid "Save"
|
169 |
-
msgstr "Gem
|
170 |
|
171 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1689
|
172 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5375
|
@@ -175,12 +174,14 @@ msgid ""
|
|
175 |
"An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
|
176 |
"\" onclick=\"document.location.reload(); return false;\">Try again</a>"
|
177 |
msgstr ""
|
|
|
|
|
178 |
|
179 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1694
|
180 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5380
|
181 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-ugm/wp-google-maps-ugm.php:556
|
182 |
msgid "An unknown error occurred"
|
183 |
-
msgstr ""
|
184 |
|
185 |
# @ wp-google-maps
|
186 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1756
|
@@ -193,163 +194,163 @@ msgstr ""
|
|
193 |
#: wpGoogleMaps.php:3193 wpGoogleMaps.php:3445 wpGoogleMaps.php:3623
|
194 |
#: wpGoogleMaps.php:3807
|
195 |
msgid "Your settings have been saved."
|
196 |
-
msgstr "Dine indstillinger er gemt"
|
197 |
|
198 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1811
|
199 |
msgid "Location Tracking"
|
200 |
-
msgstr ""
|
201 |
|
202 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1838
|
203 |
msgid "Real time location tracking"
|
204 |
-
msgstr ""
|
205 |
|
206 |
# @ wp-google-maps
|
207 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1841
|
208 |
-
#, fuzzy
|
209 |
msgid "Enable Location Tracking"
|
210 |
-
msgstr "
|
211 |
|
212 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1849
|
213 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1796
|
214 |
msgid "Default User Location Icon"
|
215 |
-
msgstr ""
|
216 |
|
217 |
# @ wp-google-maps
|
218 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1850
|
219 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1670
|
220 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1797
|
221 |
-
#, fuzzy
|
222 |
msgid "Upload Icon"
|
223 |
-
msgstr "Upload
|
224 |
|
225 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1854
|
226 |
msgid "Show"
|
227 |
-
msgstr ""
|
228 |
|
229 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1856
|
230 |
msgid "Route"
|
231 |
-
msgstr ""
|
232 |
|
233 |
# @ wp-google-maps
|
234 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1856
|
235 |
-
#, fuzzy
|
236 |
msgid "Last Location"
|
237 |
-
msgstr "
|
238 |
|
239 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1862
|
240 |
msgid "Route Styling"
|
241 |
-
msgstr ""
|
242 |
|
243 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1870
|
244 |
msgid "Route Colour - Normal"
|
245 |
-
msgstr ""
|
246 |
|
247 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1877
|
248 |
msgid "Route Colour - Hover"
|
249 |
-
msgstr ""
|
250 |
|
251 |
# @ wp-google-maps
|
252 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1884
|
253 |
-
#, fuzzy
|
254 |
msgid "Route Opacity"
|
255 |
-
msgstr "
|
256 |
|
257 |
# @ wp-google-maps
|
258 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1891
|
259 |
-
#, fuzzy
|
260 |
msgid "Route Thickness"
|
261 |
-
msgstr "
|
262 |
|
263 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1906
|
264 |
msgid "Devices"
|
265 |
-
msgstr ""
|
266 |
|
267 |
# @ wp-google-maps
|
268 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1924
|
269 |
-
#, fuzzy
|
270 |
msgid "Marker Clustering"
|
271 |
-
msgstr "Markør
|
272 |
|
273 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1984
|
274 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1987
|
275 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1990
|
276 |
msgid "Real Time Location Tracking"
|
277 |
-
msgstr ""
|
278 |
|
279 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:1995
|
280 |
msgid ""
|
281 |
"Track your location via our app and plot your current location on a map, "
|
282 |
"publicly or privately."
|
283 |
msgstr ""
|
|
|
|
|
284 |
|
285 |
# @ wp-google-maps
|
286 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2004
|
287 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro_wizard.php:182
|
288 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro_wizard.php:221
|
289 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro_wizard.php:264
|
290 |
-
#, fuzzy
|
291 |
msgid "Create Map"
|
292 |
-
msgstr "
|
293 |
|
294 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2049
|
295 |
#, php-format
|
296 |
msgid "Location as at %1$s"
|
297 |
-
msgstr ""
|
298 |
|
299 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2131
|
300 |
msgid "Successfully accepted the device. Thank you"
|
301 |
-
msgstr ""
|
302 |
|
303 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2172
|
304 |
msgid "Device has been removed. Thank you"
|
305 |
-
msgstr ""
|
306 |
|
307 |
# @ wp-google-maps
|
308 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2193
|
309 |
-
#, fuzzy
|
310 |
msgid "Marker Data Cleared."
|
311 |
-
msgstr "
|
312 |
|
313 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2230
|
314 |
msgid "A new device needs your approval to enable real time location tracking."
|
315 |
msgstr ""
|
|
|
316 |
|
317 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2231
|
318 |
msgid "Device ID:"
|
319 |
-
msgstr ""
|
320 |
|
321 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2232
|
322 |
#, php-format
|
323 |
msgid "To accept this device, Please follow this link: %1$s"
|
324 |
-
msgstr ""
|
325 |
|
326 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2238
|
327 |
msgid "To reject the device, simply ignore this email."
|
328 |
-
msgstr ""
|
329 |
|
330 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2239
|
331 |
msgid ""
|
332 |
"A new device needs your approval to enable real time location tracking - WP "
|
333 |
"Google Maps"
|
334 |
msgstr ""
|
|
|
|
|
335 |
|
336 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-gold/wp-google-maps-gold.php:2369
|
337 |
msgid "No devices"
|
338 |
-
msgstr ""
|
339 |
|
340 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1051
|
341 |
msgid "including Pro & Gold add-ons"
|
342 |
-
msgstr ""
|
343 |
|
344 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1051
|
345 |
msgid "including Pro add-on"
|
346 |
-
msgstr ""
|
347 |
|
348 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1056
|
349 |
msgid ""
|
350 |
"Please <a href='update-core.php'>update your WP Google Maps GOLD version</"
|
351 |
"a>. Your current Gold version is not compatible with the current Pro version."
|
352 |
msgstr ""
|
|
|
|
|
|
|
353 |
|
354 |
# @ wp-google-maps
|
355 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1139
|
@@ -358,41 +359,36 @@ msgstr ""
|
|
358 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4619
|
359 |
#: wpGoogleMaps.php:2991 wpGoogleMaps.php:4619
|
360 |
msgid "ZIP / Address:"
|
361 |
-
msgstr "
|
362 |
|
363 |
# @ wp-google-maps
|
364 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1140
|
365 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6984
|
366 |
-
#, fuzzy
|
367 |
msgid "Title / Description:"
|
368 |
-
msgstr "Beskrivelse"
|
369 |
|
370 |
# @ wp-google-maps
|
371 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1189
|
372 |
-
#, fuzzy
|
373 |
msgid "No marker list"
|
374 |
-
msgstr "
|
375 |
|
376 |
# @ wp-google-maps
|
377 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1192
|
378 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6915
|
379 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5145
|
380 |
#: wpGoogleMaps.php:5145
|
381 |
-
#, fuzzy
|
382 |
msgid "Basic table"
|
383 |
-
msgstr "
|
384 |
|
385 |
# @ wp-google-maps
|
386 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1195
|
387 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6914
|
388 |
-
#, fuzzy
|
389 |
msgid "Basic list"
|
390 |
-
msgstr "
|
391 |
|
392 |
# @ wp-google-maps
|
393 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1198
|
394 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6916
|
395 |
-
#, fuzzy
|
396 |
msgid "Advanced table"
|
397 |
msgstr "Avancerede markører"
|
398 |
|
@@ -403,88 +399,81 @@ msgstr "Avancerede markører"
|
|
403 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5227
|
404 |
#: wpGoogleMaps.php:5147 wpGoogleMaps.php:5227
|
405 |
msgid "Carousel"
|
406 |
-
msgstr ""
|
407 |
|
408 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1280
|
409 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5845
|
410 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6917
|
411 |
msgid "Default Infowindow"
|
412 |
-
msgstr ""
|
413 |
|
414 |
# @ wp-google-maps
|
415 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1282
|
416 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5847
|
417 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6918
|
418 |
-
#, fuzzy
|
419 |
msgid "Modern Infowindow"
|
420 |
-
msgstr "
|
421 |
|
422 |
# @ wp-google-maps
|
423 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1284
|
424 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5849
|
425 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6920
|
426 |
-
#, fuzzy
|
427 |
msgid "Modern Plus Infowindow"
|
428 |
-
msgstr "
|
429 |
|
430 |
# @ wp-google-maps
|
431 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1286
|
432 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5851
|
433 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:6921
|
434 |
-
#, fuzzy
|
435 |
msgid "Circular Infowindow"
|
436 |
-
msgstr "
|
437 |
|
438 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1288
|
439 |
msgid "Currently using your selection chosen in the global settings"
|
440 |
-
msgstr ""
|
441 |
|
442 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1353
|
443 |
msgid "Download this as a CSV file"
|
444 |
-
msgstr ""
|
445 |
|
446 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1353
|
447 |
msgid "Download this data as a CSV file"
|
448 |
-
msgstr ""
|
449 |
|
450 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1365
|
451 |
msgid "Please update your basic version to use this function."
|
452 |
-
msgstr ""
|
453 |
|
454 |
# @ wp-google-maps
|
455 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1367
|
456 |
-
#, fuzzy
|
457 |
msgid "Add a New Dataset"
|
458 |
-
msgstr "
|
459 |
|
460 |
# @ wp-google-maps
|
461 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1381
|
462 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4762
|
463 |
#: wpGoogleMaps.php:4762
|
464 |
-
#, fuzzy
|
465 |
msgid "Create your Map"
|
466 |
-
msgstr "
|
467 |
|
468 |
# @ wp-google-maps
|
469 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1381
|
470 |
-
#, fuzzy
|
471 |
msgid "New"
|
472 |
-
msgstr "
|
473 |
|
474 |
# @ wp-google-maps
|
475 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1388
|
476 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4767
|
477 |
#: wpGoogleMaps.php:4767
|
478 |
-
#, fuzzy
|
479 |
msgid "General Settings"
|
480 |
-
msgstr "
|
481 |
|
482 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1389
|
483 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/base/includes/welcome.php:30
|
484 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4768
|
485 |
#: base/includes/welcome.php:30 wpGoogleMaps.php:4768
|
486 |
msgid "Themes"
|
487 |
-
msgstr ""
|
488 |
|
489 |
# @ wp-google-maps
|
490 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1390
|
@@ -497,9 +486,8 @@ msgstr ""
|
|
497 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wpgmza.php:369
|
498 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4769
|
499 |
#: wpGoogleMaps.php:4769
|
500 |
-
#, fuzzy
|
501 |
msgid "Directions"
|
502 |
-
msgstr "
|
503 |
|
504 |
# @ wp-google-maps
|
505 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1391
|
@@ -520,22 +508,21 @@ msgstr "Find butik"
|
|
520 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4771
|
521 |
#: wpGoogleMaps.php:4294 wpGoogleMaps.php:4771
|
522 |
msgid "Advanced Settings"
|
523 |
-
msgstr ""
|
524 |
|
525 |
# @ wp-google-maps
|
526 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1393
|
527 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4772
|
528 |
#: wpGoogleMaps.php:4772
|
529 |
-
#, fuzzy
|
530 |
msgid "Marker Listing Options"
|
531 |
-
msgstr "
|
532 |
|
533 |
# @ wp-google-maps
|
534 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1431
|
535 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4805
|
536 |
#: wpGoogleMaps.php:4805
|
537 |
msgid "Short code"
|
538 |
-
msgstr "
|
539 |
|
540 |
# @ wp-google-maps
|
541 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1432
|
@@ -549,14 +536,14 @@ msgstr "kopier dette ind i dit indlæg eller din side for at vise kortet"
|
|
549 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4809
|
550 |
#: wpGoogleMaps.php:4809
|
551 |
msgid "Map Name"
|
552 |
-
msgstr "Kort
|
553 |
|
554 |
# @ wp-google-maps
|
555 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1440
|
556 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4835
|
557 |
#: wpGoogleMaps.php:4835
|
558 |
msgid "Zoom Level"
|
559 |
-
msgstr "Zoom
|
560 |
|
561 |
# @ wp-google-maps
|
562 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1447
|
@@ -565,7 +552,7 @@ msgstr "Zoom level"
|
|
565 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4813
|
566 |
#: wpGoogleMaps.php:4510 wpGoogleMaps.php:4813
|
567 |
msgid "Width"
|
568 |
-
msgstr "
|
569 |
|
570 |
# @ wp-google-maps
|
571 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1454
|
@@ -573,7 +560,7 @@ msgstr "bredde"
|
|
573 |
#: wpGoogleMaps.php:4820
|
574 |
#, php-format
|
575 |
msgid "Set to 100% for a responsive map"
|
576 |
-
msgstr "
|
577 |
|
578 |
# @ wp-google-maps
|
579 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1459
|
@@ -582,7 +569,7 @@ msgstr "sæt til 100% for et responsivt kort"
|
|
582 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4825
|
583 |
#: wpGoogleMaps.php:4511 wpGoogleMaps.php:4825
|
584 |
msgid "Height"
|
585 |
-
msgstr "
|
586 |
|
587 |
# @ wp-google-maps
|
588 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1464
|
@@ -600,40 +587,39 @@ msgstr ""
|
|
600 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1476
|
601 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4864
|
602 |
#: wpGoogleMaps.php:4864
|
603 |
-
#, fuzzy
|
604 |
msgid "Select a theme for your map"
|
605 |
-
msgstr "
|
606 |
|
607 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1513
|
608 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4898
|
609 |
#: wpGoogleMaps.php:4898
|
610 |
msgid "Or use a custom theme"
|
611 |
-
msgstr ""
|
612 |
|
613 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1514
|
614 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4899
|
615 |
#: wpGoogleMaps.php:4899
|
616 |
msgid "Browse the theme directory"
|
617 |
-
msgstr ""
|
618 |
|
619 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1515
|
620 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4900
|
621 |
#: wpGoogleMaps.php:4900
|
622 |
msgid "Paste your custom theme data here:"
|
623 |
-
msgstr ""
|
624 |
|
625 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1517
|
626 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4902
|
627 |
#: wpGoogleMaps.php:4902
|
628 |
msgid "Preview"
|
629 |
-
msgstr ""
|
630 |
|
631 |
# @ wp-google-maps
|
632 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1535
|
633 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4928
|
634 |
#: wpGoogleMaps.php:4928
|
635 |
msgid "Enable Directions?"
|
636 |
-
msgstr "Aktiver vejvisning
|
637 |
|
638 |
# @ wp-google-maps
|
639 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1547
|
@@ -679,55 +665,54 @@ msgstr "Vejvisnings boks bredde"
|
|
679 |
|
680 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1566
|
681 |
msgid "px"
|
682 |
-
msgstr ""
|
683 |
|
684 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1567
|
685 |
msgid "%"
|
686 |
-
msgstr ""
|
687 |
|
688 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1572
|
689 |
msgid "Default 'To' address"
|
690 |
-
msgstr ""
|
691 |
|
692 |
# @ wp-google-maps
|
693 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1588
|
694 |
-
#, fuzzy
|
695 |
msgid "General options"
|
696 |
-
msgstr "
|
697 |
|
698 |
# @ wp-google-maps
|
699 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1592
|
700 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4968
|
701 |
#: wpGoogleMaps.php:4968
|
702 |
msgid "Enable Store Locator"
|
703 |
-
msgstr "
|
704 |
|
705 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1599
|
706 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4976
|
707 |
#: wpGoogleMaps.php:4976
|
708 |
msgid "Restrict to country"
|
709 |
-
msgstr ""
|
710 |
|
711 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1608
|
712 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4982
|
713 |
#: wpGoogleMaps.php:4982
|
714 |
msgid "No country selected"
|
715 |
-
msgstr ""
|
716 |
|
717 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1620
|
718 |
msgid "Insert country TLD. For example, use DE for Germany."
|
719 |
-
msgstr ""
|
720 |
|
721 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1620
|
722 |
msgid "Leave blank for no restrictions."
|
723 |
-
msgstr ""
|
724 |
|
725 |
# @ wp-google-maps
|
726 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1626
|
727 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:4996
|
728 |
#: wpGoogleMaps.php:4996
|
729 |
msgid "Show distance in"
|
730 |
-
msgstr "
|
731 |
|
732 |
# @ wp-google-maps
|
733 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1629
|
@@ -747,98 +732,91 @@ msgstr "Kilometer"
|
|
747 |
|
748 |
# @ wp-google-maps
|
749 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1635
|
750 |
-
#, fuzzy
|
751 |
msgid "Store Locator Placement"
|
752 |
-
msgstr "Butiks
|
753 |
|
754 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1638
|
755 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2036
|
756 |
msgid "Below Map"
|
757 |
-
msgstr ""
|
758 |
|
759 |
# @ wp-google-maps
|
760 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1638
|
761 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2036
|
762 |
-
#, fuzzy
|
763 |
msgid "Above Map"
|
764 |
-
msgstr "
|
765 |
|
766 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1644
|
767 |
msgid "Allow category selection"
|
768 |
-
msgstr ""
|
769 |
|
770 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1652
|
771 |
msgid "Allow users to use their location as the starting point"
|
772 |
-
msgstr ""
|
773 |
|
774 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1657
|
775 |
msgid ""
|
776 |
"Please ensure that \"show user's location\" is enabled in the \"Advanced "
|
777 |
"Settings\" tab."
|
778 |
msgstr ""
|
|
|
|
|
779 |
|
780 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1661
|
781 |
msgid "Show center point as an icon"
|
782 |
-
msgstr ""
|
783 |
|
784 |
# @ wp-google-maps
|
785 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1669
|
786 |
-
#, fuzzy
|
787 |
msgid "Default Icon"
|
788 |
-
msgstr "Standard"
|
789 |
|
790 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1674
|
791 |
msgid "Hide all markers until a search is done"
|
792 |
-
msgstr ""
|
793 |
|
794 |
# @ wp-google-maps
|
795 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1688
|
796 |
-
#, fuzzy
|
797 |
msgid "Query String"
|
798 |
msgstr "Query String"
|
799 |
|
800 |
# @ wp-google-maps
|
801 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1693
|
802 |
-
#, fuzzy
|
803 |
msgid "Enable title search"
|
804 |
-
msgstr "
|
805 |
|
806 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1702
|
807 |
msgid "Title search String"
|
808 |
-
msgstr ""
|
809 |
|
810 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1707
|
811 |
msgid "Style options"
|
812 |
-
msgstr ""
|
813 |
|
814 |
# @ wp-google-maps
|
815 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1712
|
816 |
-
#, fuzzy
|
817 |
msgid "Line color"
|
818 |
-
msgstr "
|
819 |
|
820 |
# @ wp-google-maps
|
821 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1720
|
822 |
-
#, fuzzy
|
823 |
msgid "Line opacity"
|
824 |
-
msgstr "Linie
|
825 |
|
826 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1723
|
827 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1739
|
828 |
msgid "(0 - 1.0) example: 0.5 for 50%"
|
829 |
-
msgstr ""
|
830 |
|
831 |
# @ wp-google-maps
|
832 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1728
|
833 |
-
#, fuzzy
|
834 |
msgid "Fill color"
|
835 |
-
msgstr "
|
836 |
|
837 |
# @ wp-google-maps
|
838 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1736
|
839 |
-
#, fuzzy
|
840 |
msgid "Fill opacity"
|
841 |
-
msgstr "
|
842 |
|
843 |
# @ wp-google-maps
|
844 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1748
|
@@ -852,7 +830,7 @@ msgstr "Vis"
|
|
852 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5019
|
853 |
#: wpGoogleMaps.php:5019
|
854 |
msgid "Store Locator Documentation"
|
855 |
-
msgstr "Butiks
|
856 |
|
857 |
# @ wp-google-maps
|
858 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1761
|
@@ -872,13 +850,15 @@ msgstr "Standard markør billede"
|
|
872 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5467
|
873 |
#: wpGoogleMaps.php:5096 wpGoogleMaps.php:5463 wpGoogleMaps.php:5467
|
874 |
msgid "Upload Image"
|
875 |
-
msgstr "Upload
|
876 |
|
877 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1762
|
878 |
msgid ""
|
879 |
"Get great map markers <a href='http://www.wpgmaps.com/marker-icons/' "
|
880 |
"target='_BLANK' title='Great Google Map Markers'>here</a>"
|
881 |
msgstr ""
|
|
|
|
|
882 |
|
883 |
# @ wp-google-maps
|
884 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1766
|
@@ -972,41 +952,36 @@ msgstr "Vis brugerens Lokation?"
|
|
972 |
|
973 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1800
|
974 |
msgid "Click marker opens link"
|
975 |
-
msgstr ""
|
976 |
|
977 |
# @ wp-google-maps
|
978 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1811
|
979 |
-
#, fuzzy
|
980 |
msgid "Maximum Zoom Out Level"
|
981 |
-
msgstr "Zoom
|
982 |
|
983 |
# @ wp-google-maps
|
984 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1840
|
985 |
-
#, fuzzy
|
986 |
msgid "Maximum Zoom In Level"
|
987 |
-
msgstr "Zoom
|
988 |
|
989 |
# @ wp-google-maps
|
990 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1875
|
991 |
-
#, fuzzy
|
992 |
msgid "Enable Layers"
|
993 |
-
msgstr "Aktiver
|
994 |
|
995 |
# @ wp-google-maps
|
996 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1879
|
997 |
-
#, fuzzy
|
998 |
msgid "Bicycle Layer"
|
999 |
-
msgstr "
|
1000 |
|
1001 |
# @ wp-google-maps
|
1002 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1882
|
1003 |
-
#, fuzzy
|
1004 |
msgid "Traffic Layer"
|
1005 |
-
msgstr "
|
1006 |
|
1007 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1885
|
1008 |
msgid "Transit Layer"
|
1009 |
-
msgstr ""
|
1010 |
|
1011 |
# @ wp-google-maps
|
1012 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1891
|
@@ -1024,14 +999,14 @@ msgstr "KML/GeoRSS laget vil overskrive de fleste af dine kort indstillinger"
|
|
1024 |
|
1025 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1893
|
1026 |
msgid "For multiple sources, separate each one by a comma."
|
1027 |
-
msgstr ""
|
1028 |
|
1029 |
# @ wp-google-maps
|
1030 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1897
|
1031 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5125
|
1032 |
#: wpGoogleMaps.php:5125
|
1033 |
msgid "Fusion table ID"
|
1034 |
-
msgstr "Fusion
|
1035 |
|
1036 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1899
|
1037 |
msgid ""
|
@@ -1040,54 +1015,52 @@ msgid ""
|
|
1040 |
"api.html'>http://googlemapsmania.blogspot.com/2010/05/fusion-tables-google-"
|
1041 |
"maps-api.html</a>"
|
1042 |
msgstr ""
|
|
|
|
|
|
|
|
|
1043 |
|
1044 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1909
|
1045 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5874
|
1046 |
msgid "Infowindow Style"
|
1047 |
-
msgstr ""
|
1048 |
|
1049 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1927
|
1050 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2024
|
1051 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:5894
|
1052 |
msgid "Your selection:"
|
1053 |
-
msgstr ""
|
1054 |
|
1055 |
# @ wp-google-maps
|
1056 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1960
|
1057 |
-
#, fuzzy
|
1058 |
msgid "Infowindow Colors"
|
1059 |
-
msgstr "
|
1060 |
|
1061 |
# @ wp-google-maps
|
1062 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1964
|
1063 |
-
#, fuzzy
|
1064 |
msgid "Primary Color"
|
1065 |
-
msgstr "
|
1066 |
|
1067 |
# @ wp-google-maps
|
1068 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1972
|
1069 |
-
#, fuzzy
|
1070 |
msgid "Accent Color"
|
1071 |
-
msgstr "
|
1072 |
|
1073 |
# @ wp-google-maps
|
1074 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:1980
|
1075 |
-
#, fuzzy
|
1076 |
msgid "Text Color"
|
1077 |
-
msgstr "
|
1078 |
|
1079 |
# @ wp-google-maps
|
1080 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2003
|
1081 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro_wizard.php:247
|
1082 |
-
#, fuzzy
|
1083 |
msgid "Marker Listing Style"
|
1084 |
-
msgstr "Markør
|
1085 |
|
1086 |
# @ wp-google-maps
|
1087 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2033
|
1088 |
-
#, fuzzy
|
1089 |
msgid "Marker Listing Placement"
|
1090 |
-
msgstr "Markør
|
1091 |
|
1092 |
# @ wp-google-maps
|
1093 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2042
|
@@ -1209,126 +1182,118 @@ msgstr "Faldende"
|
|
1209 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5184
|
1210 |
#: wpGoogleMaps.php:5184
|
1211 |
msgid "Move list inside map"
|
1212 |
-
msgstr ""
|
1213 |
|
1214 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2067
|
1215 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5187
|
1216 |
#: wpGoogleMaps.php:5187
|
1217 |
msgid "Move your marker list inside the map area"
|
1218 |
-
msgstr ""
|
1219 |
|
1220 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2067
|
1221 |
msgid "(still in beta)"
|
1222 |
-
msgstr ""
|
1223 |
|
1224 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2088
|
1225 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5189
|
1226 |
#: wpGoogleMaps.php:5189
|
1227 |
msgid "Placement: "
|
1228 |
-
msgstr ""
|
1229 |
|
1230 |
# @ wp-google-maps
|
1231 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2090
|
1232 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5191
|
1233 |
#: wpGoogleMaps.php:5191
|
1234 |
-
#, fuzzy
|
1235 |
msgid "Top Center"
|
1236 |
-
msgstr "Center"
|
1237 |
|
1238 |
# @ wp-google-maps
|
1239 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2091
|
1240 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5192
|
1241 |
#: wpGoogleMaps.php:5192
|
1242 |
-
#, fuzzy
|
1243 |
msgid "Top Left"
|
1244 |
-
msgstr "Venstre"
|
1245 |
|
1246 |
# @ wp-google-maps
|
1247 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2092
|
1248 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5193
|
1249 |
#: wpGoogleMaps.php:5193
|
1250 |
-
#, fuzzy
|
1251 |
msgid "Top Right"
|
1252 |
-
msgstr "Højre"
|
1253 |
|
1254 |
# @ wp-google-maps
|
1255 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2093
|
1256 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5194
|
1257 |
#: wpGoogleMaps.php:5194
|
1258 |
-
#, fuzzy
|
1259 |
msgid "Left Top "
|
1260 |
-
msgstr "Venstre"
|
1261 |
|
1262 |
# @ wp-google-maps
|
1263 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2094
|
1264 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5195
|
1265 |
#: wpGoogleMaps.php:5195
|
1266 |
-
#, fuzzy
|
1267 |
msgid "Right Top"
|
1268 |
-
msgstr "Højre"
|
1269 |
|
1270 |
# @ wp-google-maps
|
1271 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2095
|
1272 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5196
|
1273 |
#: wpGoogleMaps.php:5196
|
1274 |
-
#, fuzzy
|
1275 |
msgid "Left Center"
|
1276 |
-
msgstr "Center"
|
1277 |
|
1278 |
# @ wp-google-maps
|
1279 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2096
|
1280 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5197
|
1281 |
#: wpGoogleMaps.php:5197
|
1282 |
-
#, fuzzy
|
1283 |
msgid "Right Center"
|
1284 |
-
msgstr "Center"
|
1285 |
|
1286 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2097
|
1287 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5198
|
1288 |
#: wpGoogleMaps.php:5198
|
1289 |
msgid "Left Bottom"
|
1290 |
-
msgstr ""
|
1291 |
|
1292 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2098
|
1293 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5199
|
1294 |
#: wpGoogleMaps.php:5199
|
1295 |
msgid "Right Bottom"
|
1296 |
-
msgstr ""
|
1297 |
|
1298 |
# @ wp-google-maps
|
1299 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2099
|
1300 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5200
|
1301 |
#: wpGoogleMaps.php:5200
|
1302 |
-
#, fuzzy
|
1303 |
msgid "Bottom Center"
|
1304 |
-
msgstr "Center"
|
1305 |
|
1306 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2100
|
1307 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5201
|
1308 |
#: wpGoogleMaps.php:5201
|
1309 |
msgid "Bottom Left"
|
1310 |
-
msgstr ""
|
1311 |
|
1312 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2101
|
1313 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5202
|
1314 |
#: wpGoogleMaps.php:5202
|
1315 |
msgid "Bottom Right"
|
1316 |
-
msgstr ""
|
1317 |
|
1318 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2103
|
1319 |
msgid "Container Width: "
|
1320 |
-
msgstr ""
|
1321 |
|
1322 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2104
|
1323 |
msgid "Container Height: "
|
1324 |
-
msgstr ""
|
1325 |
|
1326 |
# @ wp-google-maps
|
1327 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2114
|
1328 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5153
|
1329 |
#: wpGoogleMaps.php:5153
|
1330 |
msgid "Filter by Category"
|
1331 |
-
msgstr "Filtrer efter
|
1332 |
|
1333 |
# @ wp-google-maps
|
1334 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2117
|
@@ -1389,13 +1354,12 @@ msgstr "polylinier"
|
|
1389 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5499
|
1390 |
#: wpGoogleMaps.php:5366 wpGoogleMaps.php:5499
|
1391 |
msgid "Heatmaps"
|
1392 |
-
msgstr ""
|
1393 |
|
1394 |
# @ wp-google-maps
|
1395 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2156
|
1396 |
-
#, fuzzy
|
1397 |
msgid "Add a marker"
|
1398 |
-
msgstr "
|
1399 |
|
1400 |
# @ wp-google-maps
|
1401 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2166
|
@@ -1403,7 +1367,7 @@ msgstr "tilføj markør"
|
|
1403 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps/wpGoogleMaps.php:5430
|
1404 |
#: wpGoogleMaps.php:5375 wpGoogleMaps.php:5430
|
1405 |
msgid "Address/GPS"
|
1406 |
-
msgstr "
|
1407 |
|
1408 |
# @ wp-google-maps
|
1409 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2167
|
@@ -1428,7 +1392,7 @@ msgstr "Link URL"
|
|
1428 |
|
1429 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2182
|
1430 |
msgid "Format: http://www.domain.com"
|
1431 |
-
msgstr ""
|
1432 |
|
1433 |
# @ wp-google-maps
|
1434 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2183
|
@@ -1439,13 +1403,12 @@ msgstr "Brugerdefineret markør"
|
|
1439 |
|
1440 |
# @ wp-google-maps
|
1441 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2184
|
1442 |
-
#, fuzzy
|
1443 |
msgid "ignore if you want to use the default marker"
|
1444 |
-
msgstr "
|
1445 |
|
1446 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2185
|
1447 |
msgid "This is a retina ready marker"
|
1448 |
-
msgstr ""
|
1449 |
|
1450 |
# @ wp-google-maps
|
1451 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2194
|
@@ -1550,9 +1513,8 @@ msgstr "tilføj en ny polylinie"
|
|
1550 |
|
1551 |
# @ wp-google-maps
|
1552 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2237
|
1553 |
-
#, fuzzy
|
1554 |
msgid "Add a dataset"
|
1555 |
-
msgstr "
|
1556 |
|
1557 |
# @ wp-google-maps
|
1558 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2251
|
@@ -1588,182 +1550,174 @@ msgstr "og at kreditere ham når du gør det."
|
|
1588 |
|
1589 |
# @ wp-google-maps
|
1590 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2442
|
1591 |
-
#, fuzzy
|
1592 |
msgid ""
|
1593 |
"The map ID you have entered does not exist. Please enter a map ID that "
|
1594 |
"exists."
|
1595 |
-
msgstr "
|
|
|
|
|
1596 |
|
1597 |
# @ wp-google-maps
|
1598 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2647
|
1599 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2648
|
1600 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:7000
|
1601 |
-
#, fuzzy
|
1602 |
msgid "Use my location"
|
1603 |
-
msgstr "
|
1604 |
|
1605 |
# @ wp-google-maps
|
1606 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2677
|
1607 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2684
|
1608 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2692
|
1609 |
-
#, fuzzy
|
1610 |
msgid "Filter by"
|
1611 |
-
msgstr "Filtrer efter
|
1612 |
|
1613 |
# @ wp-google-maps
|
1614 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2846
|
1615 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wpgmza.php:278
|
1616 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wpgmza.php:369
|
1617 |
-
#, fuzzy
|
1618 |
msgid "Get directions to"
|
1619 |
-
msgstr "
|
1620 |
|
1621 |
# @ wp-google-maps
|
1622 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2877
|
1623 |
-
#, fuzzy
|
1624 |
msgid "Get Directions"
|
1625 |
-
msgstr "
|
1626 |
|
1627 |
#: C:\wamp\www\wordpress38\wp-content\plugins\wp-google-maps-pro/wp-google-maps-pro.php:2882
|
1628 |
msgid "For"
|
1629 |
-
msgstr ""
|
1630 |
|
1631 |
# @ wp-google-maps
|