MapPress Easy Google Maps - Version 2.43.9

Version Description

Download this release

Release Info

Developer chrisvrichardson
Plugin Icon 128x128 MapPress Easy Google Maps
Version 2.43.9
Comparing to
See all releases

Code changes from version 2.43.8 to 2.43.9

js/mappress.min.js CHANGED
@@ -1 +1 @@
1
- var mapp=window.mapp||{};+function(n){mapp.Map=function(t){function vr(){var n,t,r;for(n in mappl10n.styles)t=mappl10n.styles[n],r=new google.maps.StyledMapType(t,{name:n}),i.mapTypes.set(n,r),er==n&&i.setOptions({styles:t})}function yr(){hr&&ot("traffic",mappl10n.traffic,hi);gt&&ot("bicycling",mappl10n.bike,oi);cr&&ot("transit",mappl10n.transit,ci)}function ot(n,t,r){var f=e+"_"+n,o=r?"checked='checked'":"",s="<div class='gmnoprint mapp-control'><input type='checkbox' id='"+f+"' "+o+" /> "+t+"<\/div>",u=jQuery(s).get(0);i.controls[google.maps.ControlPosition.TOP_RIGHT].push(u);r&&pt(n);google.maps.event.clearListeners(u,"click");google.maps.event.addDomListener(u,"click",function(){pt(n)})}function pt(n){var r=e+"_"+n,t;switch(n){case"transit":k=k?k:new google.maps.TransitLayer;t=k;break;case"traffic":b=b?b:new google.maps.TrafficLayer;t=b;break;case"bicycling":w=w?w:new google.maps.BicyclingLayer;t=w}t.getMap()?(jQuery("#"+r).prop("checked",!1),t.setMap(null)):(jQuery("#"+r).prop("checked",!0),t.setMap(i))}var s=t.center,y=t.height,h=t.mapid,wt=t.mapTypeId?t.mapTypeId:"roadmap",bt=t.metaKey,e=t.name,kt=t.options,tt=t.query,it=t.title,p=t.width,rt=parseInt(t.zoom,10),dt=t.options.adaptive,gt=t.options.bicycling,ni=t.options.bigHeight,ti=t.options.bigWidth,ii=t.options.country,st=t.options.directions,ri=t.options.directionsServer,ui=t.options.directionsUnits,fi=t.options.draggable,ei=t.options.editable,ht=t.options.from,oi=t.options.initialBicycling,si=t.options.initialOpenDirections,ut=t.options.initialOpenInfo,hi=t.options.initialTraffic,ci=t.options.initialTransit,c=t.options.iwType,ct=t.options.keyboardShortcuts,li=t.options.language,ai=t.options.mapTypeControl,vi=parseInt(t.options.mapTypeControlStyle,10),l=t.options.mapTypeIds,yi=t.options.mashupClick,pi=parseInt(t.options.maxZoom),wi=parseInt(t.options.minZoom),bi=t.options.overviewMapControl,ki=t.options.overviewMapControlOpened,di=t.options.panControl,gi=t.options.poiZoom,pr=t.options.radius,nr=t.options.rotateControl,tr=t.options.scaleControl,ir=t.options.scrollwheel,lt=t.options.search,rr=t.height,ur=t.width,fr=t.options.streetViewControl,er=t.options.style,or=parseInt(t.options.tilt),at=t.options.to,sr=t.options.tooltips,hr=t.options.traffic,cr=t.options.transit,lr=t.options.zoomControl,ar=parseInt(t.options.zoomControlStyle,10),u=this,w,b,k,o=null,d,vt,g,a,nt,ft=null,i=null,f=null,et,r=[],yt=!1,v;this.display=function(){var r,h;if(d=jQuery("#"+e+"_dialog"),vt=jQuery("#"+e+"_directions"),g=jQuery("#"+e+"_layout"),a=document.getElementById(e),nt=jQuery("#"+e+"_poi_list"),!a)return mapp.lib.alert("MapPress: Missing map name or container for map: "+e);if(typeof google=="undefined")return mapp.lib.alert("MapPress: Google API not loaded");if(mapp.lib.jqVersionCheck("1.7")||mapp.lib.alert("jQuery version is too old: "+n.fn.jquery),i=new google.maps.Map(a,{mapTypeId:"roadmap",center:new google.maps.LatLng(0,0),zoom:1}),v=google.maps.Marker.MAX_ZINDEX,vt.append(jQuery("#"+e+"_directions_").contents()),nt.append(jQuery("#"+e+"_poi_list_").contents()),et=new mapp.Places(null,{gmap:i}),google.maps.event.addListener(et,"search",function(n){u.search(n)}),!l&&(l=["roadmap","satellite","terrain","hybrid"],mappl10n.styles))for(r in mappl10n.styles)l.push(r);if(s=s?new google.maps.LatLng(t.center.lat,t.center.lng):new google.maps.LatLng(0,0),h={backgroundColor:"transparent",draggable:fi,keyboardShortcuts:ct,mapTypeControl:ai,mapTypeControlOptions:{style:vi,mapTypeIds:l},maxZoom:pi,minZoom:wi,overviewMapControl:bi,overviewMapControlOptions:{opened:ki},panControl:di,rotateControl:nr,scaleControl:tr,scrollwheel:ir,streetViewControl:fr,tilt:or,zoomControl:lr,zoomControlOptions:{style:ar}},i.setOptions(h),vr(),u.setMapTypeId(wt),yr(),c=="ib"?(mapp.InfoBox.prototype=new google.maps.OverlayView,f=new mapp.InfoBox):f=new google.maps.InfoWindow,c=="ib"&&(ct=!1),ft=new mapp.Geocoder(u,li,ii),st!="none"&&(o=new mapp.Directions(u,st,ft,ri,ui)),dt&&jQuery(window).resize(function(){u.resize()}),tt){lt?et.parse(lt):this.ajaxQuery();return}google.maps.event.addListenerOnce(i,"idle",function(){u.initCenter()});this.setPois(t.pois)};this.getQuery=function(){return tt};this.setQuery=function(n){tt=n};this.setDialog=function(n){n=n?n:'<span class="mapp-spinner"><\/span>'+mappl10n.loading;n='<div class="mapp-dialog-inner">'+n+"<\/div>";jQuery(d).html(n);jQuery(d).show()};this.hideDialog=function(){jQuery(d).hide()};this.setPoiList=function(n){typeof n=="string"?nt.html(n):nt.append(n)};this.getOptions=function(){return kt};this.getResized=function(){return yt};this.show=function(){g.show();this.display()};this.closeInfoWindow=function(){f.close()};this.openDirections=function(n,t,i){var r,u;typeof n=="object"?(r=n.address?n.address:n.getPosition().toUrlValue(),n.open()):r=n;typeof t=="object"?(u=t.address?t.address:t.getPosition().toUrlValue(),t.open()):u=t;o.open(r,u,i)};this.setMapTypeId=function(n){n=n&&jQuery.inArray(n,l)!=-1?n:l[0];i.setMapTypeId(n)};this.setCenter=function(n,t){i.setCenter(new google.maps.LatLng(n,t))};this.setZoom=function(n){i.setZoom(n)};this.getPoiZoom=function(){return parseInt(gi)};this.poiToFront=function(n){v++;n.setZIndex(v)};this.getMap=function(){return i};this.getGeocoder=function(){return ft};this.getName=function(){return e};this.setName=function(n){e=n};this.getMapid=function(){return h};this.setMapid=function(n){h=n};this.getTitle=function(){return it};this.setTitle=function(n){it=n};this.getWidth=function(){return p};this.setWidth=function(n){p=n};this.getHeight=function(){return y};this.setHeight=function(n){y=n};this.getInfoWindow=function(){return f};this.getEditable=function(){return ei};this.getTooltips=function(){return sr};this.getPoi=function(n){return typeof n=="string"&&(n=parseInt(n,10)),r[n]};this.getPoiById=function(n){for(var t=0;t<r.length;t++)if(r[t].postid==n)return r[t];return null};this.getPois=function(){return r};this.insertPoi=function(n){r.unshift(n);n.setMap(this)};this.addPoi=function(n){r.push(n);n.setMap(this)};this.removePoi=function(n){var t=jQuery.inArray(n,r);t!=-1&&(r[t].setMap(null),r.splice(t,1))};this.setPois=function(n){for(var i,t=0;t<r.length;t++)r[t].setMap(null);for(r=[],t=0;t<n.length;t++)i=new mapp.Poi,i.fromJSON(n[t]),r.push(i),i.setMap(this),i.setZIndex(v+n.length-1-t);v+=n.length-1};this.showPois=function(){for(var n=0;n<r.length;n++)r[n].setVisible(!0)};this.hidePois=function(){for(var n=0;n<r.length;n++)r[n].setVisible(!1)};this.sortPois=function(n){for(var u,t=Array(),i=0;i<n.length;i++){if(u=parseInt(n[i]),isNaN(u))return!1;t.push(r[u])}return t.length!=r.length?!1:(r=t,!0)};this.openPoi=function(n,t){var r,i;if(c&&c!="none"){if(yi=="post"&&n.postid&&n.url){window.location.assign(n.url);return}i={html:null};google.maps.event.trigger(u,"poicontent",n,i);r=i.content?i.content:t&&typeof t.featureData!="undefined"?t.featureData.infoWindowHtml:n.html;this.openInfoWindow(n,r,t)}};this.openInfoWindow=function(n,t,r){(o&&o.close(),c&&c!="none")&&(this.poiToFront(n),f.close(),f.setContent(t),google.maps.event.addListenerOnce(f,"domready",function(){google.maps.event.trigger(u,"poidomready",n)}),n.type=="kml"&&r?(f.setOptions({pixelOffset:r.pixelOffset,position:r.latLng}),f.open(i)):n.type?(f.setOptions({position:n.getPosition()}),f.open(i)):f.open(i,n.overlay))};this.closeInfoWindow=function(){f.close()};this.resize=function(n,t){var r=i.getCenter();n&&t&&(jQuery(a).width(n),jQuery(a).height(t),p=n,y=t);google.maps.event.trigger(i,"resize");i.setCenter(r);yt=!0;return};this.initCenter=function(){if(this.closeInfoWindow(),google.maps.event.addListenerOnce(i,"idle",function(){u.initWindows()}),s&&s.lat()&&s.lng())i.setCenter(s),i.setZoom(rt);else{var n=rt?rt:!0;u.autoCenter(n)}};this.initWindows=function(){var i,n,t;o&&si?(n=jQuery.trim(ht),t=ht==null&&at==null?"0":jQuery.trim(at),n=jQuery.isNumeric(n)?this.getPoi(n):n,t=jQuery.isNumeric(t)?this.getPoi(t):t,typeof n=="object"?n.center(!1):typeof t=="object"&&t.center(!1),u.openDirections(n,t,!1)):ut&&(i=jQuery.isNumeric(ut)?u.getPoi(ut):u.getPoi(0),i&&i.open())};this.autoCenter=function(n){var t,u,f;if(r.length==0){this.setCenter(0,0);typeof n=="number"?i.setZoom(n):i.setZoom(1);return}if(r.length==1){r[0].center(n);return}for(t=new google.maps.LatLngBounds,u=0;u<r.length;u++)f=r[u].getBounds(),t=f?t.union(f):t.extend(r[u].getPosition());if(n===!1){i.setCenter(t.getCenter());return}if(typeof n=="number"){i.setCenter(t.getCenter());i.setZoom(n);return}i.fitBounds(t)};this.reset=function(){this.initCenter()};this.bigger=function(n,t,i){o&&o.close();this.closeInfoWindow();jQuery(n).text()==t?(jQuery(n).text(i),jQuery(g).width(ti),this.resize("100%",ni)):(jQuery(n).text(t),jQuery(g).width(ur),this.resize("100%",rr))};this.toJSON=function(){return{center:{lat:i.getCenter().lat(),lng:i.getCenter().lng()},height:y,mapid:h,mapTypeId:i.getMapTypeId(),metaKey:bt,pois:r,title:it,width:p,zoom:i.getZoom()}};this.ajaxSave=function(n){var t,i;t=typeof Prototype!="undefined"&&typeof Object.toJSON!="undefined"?Object.toJSON(u):t=JSON.stringify(u);i={action:"mapp_save",map:t,postid:mappl10n.options.postid};mapp.Ajax("POST",i,function(t){t.status=="OK"&&(h=t.data.mapid,n(t.data))})};this.ajaxDelete=function(n){h||n();var t={action:"mapp_delete",mapid:h};mapp.Ajax("POST",t,function(t){t.status=="OK"&&n()})}};mapp.Map.ajaxCreate=function(n,t,i){mapp.Ajax("GET",{action:"mapp_create"},function(r){if(r.status=="OK"){jQuery.extend(r.data.map.options,t);r.data.map.name=n;var u=new mapp.Map(r.data.map);i(u)}})};mapp.Map.ajaxGet=function(n,t,i,r){var u={action:"mapp_get",mapid:n};mapp.Ajax("GET",u,function(n){if(n.status=="OK"){jQuery.extend(n.data.map.options,i);n.data.map.name=t;var u=new mapp.Map(n.data.map);r(u)}})};mapp.Map.ajaxDelete=function(n,t){var i={action:"mapp_delete",mapid:n};mapp.Ajax("POST",i,function(n){n.status=="OK"&&t&&t()})};mapp.Ajax=function(n,t,i){jQuery.ajax({type:n,cache:!1,url:mappl10n.options.ajaxurl,data:t,success:function(n){if(n.output&&(mappl10n.options.admin||mappl10n.options.debug)&&alert("AJAX Error\r\n"+n.output),n.status=="OK"){i(n);return}(mappl10n.options.admin||mappl10n.options.debug)&&(typeof n=="object"?alert("AJAX Error\r\n"+n.status):alert("AJAX Error\r\n"+n))},error:function(n,t,i){typeof i!="undefined"&&i!=""&&mappl10n.ajaxErrors&&alert("AJAX ERROR\r\nStatus="+t+"\r\nError="+i+"\r\nResponseText="+n.responseText)}})}}(jQuery);mapp=window.mapp||{};mapp.Directions=function(n,t,i,r,u){function p(){jQuery(".mapp-dir-swap",f).click(function(){var n=jQuery(".mapp-dir-daddr",f).val(),t=jQuery(".mapp-dir-saddr",f).val();return jQuery(".mapp-dir-saddr",f).val(n),jQuery(".mapp-dir-daddr",f).val(t),jQuery(".mapp-dir-get",f).click(),!1});jQuery(".mapp-dir-get",f).click(function(){return s.getDirections(),!1});jQuery(".mapp-dir-print",f).click(function(){s.printDirections()});jQuery(".mapp-dir-close",f).click(function(){return s.close(),!1});jQuery(".mapp-travelmode",f).click(function(){return jQuery(".mapp-travelmode",f).removeClass("mapp-travelmode-on"),jQuery(this).addClass("mapp-travelmode-on"),s.getDirections(),!1});jQuery(".mapp-myloc",f).click(function(){return c.geolocate(function(n){n?(jQuery(".mapp-dir-saddr",f).val("("+n.coords.latitude+", "+n.coords.longitude+")"),jQuery(".mapp-dir-get",f).click()):alert(mappl10n.no_geolocate)}),!1})}function w(n,t,i){var u=jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-walk")?google.maps.DirectionsTravelMode.WALKING:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-transit")?google.maps.DirectionsTravelMode.TRANSIT:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-bike")?google.maps.DirectionsTravelMode.BICYCLING:google.maps.DirectionsTravelMode.DRIVING;var o={travelMode:u,transitOptions:{departureTime:null},provideRouteAlternatives:!0,origin:n,destination:t,unitSystem:y},r=jQuery(".mapp-dir-renderer",f).get(0);jQuery(".mapp-dir-renderer",f).empty();l||(l=new google.maps.DirectionsService);l.route(o,function(n,t){switch(t){case google.maps.DirectionsStatus.OK:h.hidePois();e?(e.setDirections(n),e.setMap(a),e.setPanel(r)):e=new google.maps.DirectionsRenderer({map:a,panel:r,directions:n,hideRouteList:!1,draggable:!0});break;case google.maps.DirectionsStatus.NOT_FOUND:alert(mappl10n.dir_not_found);break;case google.maps.DirectionsStatus.ZERO_RESULTS:alert(mappl10n.dir_zero_results);break;default:alert(mappl10n.dir_default+t)}i()})}var h=n,v=t,c=i,o=r,y=u,f=jQuery("#"+n.getName()+"_directions"),e,l,a=n.getMap(),s=this;o.toLowerCase().indexOf("http")==-1&&(o="https://"+o);p();this.open=function(n,t,i){if(v=="google"){this.openGoogle(n,t);return}jQuery(f).show();jQuery(".mapp-dir-saddr",f).val(n);jQuery(".mapp-dir-daddr",f).val(t);(i||typeof i=="undefined")&&(jQuery(".mapp-dir-get",f).focus(),jQuery(".mapp-dir-saddr",f).focus())};this.close=function(){jQuery(f).hide();e&&(e.setPanel(null),e.getMap()&&(e.setMap(null),h.showPois()))};this.getDirections=function(){h.closeInfoWindow();jQuery(".mapp-spinner",f).show();var n=jQuery(".mapp-dir-saddr",f),t=jQuery(".mapp-dir-daddr",f),i=jQuery(".mapp-dir-saddr-err",f),r=jQuery(".mapp-dir-daddr-err",f);c.geocodeField(n,i,function(n){c.geocodeField(t,r,function(t){n&&t?w(n,t,function(){jQuery(".mapp-spinner",f).hide();return}):jQuery(".mapp-spinner",f).hide()})})};this.printDirections=function(){var t,n=jQuery(".mapp-travelmode-on > span",f);t=n.hasClass("mapp-dir-walk")?"w":n.hasClass("mapp-dir-bike")?"b":n.hasClass("mapp-dir-transit")?"r":"d";this.openGoogle(jQuery(".mapp-dir-saddr",f).val(),jQuery(".mapp-dir-daddr",f).val(),t)};this.openGoogle=function(n,t,i){var r=o;r+="?saddr="+encodeURIComponent(n);r+="&daddr="+encodeURIComponent(t);i&&(r+="&dirflg="+i);window.open(r)}};mapp=window.mapp||{};mapp.Geocoder=function(n,t,i){function f(n,t){jQuery(n).removeClass("mapp-error");jQuery(t).hide()}function e(n,t,i){jQuery(n).addClass("mapp-error");jQuery(t).html(i);jQuery(t).show()}var o,u,s,c,h,r;o=i;c=t;h=n;s=h.getMap();r=this;this.geocode=function(n,t){typeof n=="string"&&n.substring(0,1)=="("&&(split=n.replace(/\(|\)/g,"").split(","),n=new google.maps.LatLng(split[0],split[1]));var i=n instanceof google.maps.LatLng?{location:n}:{address:n,region:o,bounds:s.getBounds()};u||(u=new google.maps.Geocoder);u.geocode(i,function(n,i){if(n){for(var r=0;r<n.length;r++)n[r].formatted_address==""&&n.splice(r,1);t(n[0],i)}else t(null,i)})};this.geolocate=function(n){if(!navigator||!navigator.geolocation)return null;navigator.geolocation.getCurrentPosition(function(t){n(t)},function(){n(null)},{timeout:1e4,enableHighAccuracy:!0,maximumAge:3e4})};this.stringToLatLng=function(n){var t=n.split(",",2),i=Number(t[0]),r=Number(t[1]);return isNaN(i)||isNaN(r)?!1:new google.maps.LatLng(i,r)};this.geocodeField=function(n,t,i){f(n,t);checkAddress(n,t,jQuery(n).val(),function(r){if(!r){e(n,t,mappl10n.no_address);i(null);return}if(r&&r.formatted_address){jQuery(n).val(r.formatted_address);i(r.formatted_address);return}i(r);return})};this.autocompleteField=function(n,t,i,u,o){jQuery(n).keypress(function(i){i.which==13&&(checkAddress(n,t,jQuery(n).val(),o),i.preventDefault())});jQuery(i).click(function(){return checkAddress(n,t,jQuery(n).val(),o),!1});jQuery(u).click(function(){return f(n,t),r.geolocate(function(i){if(i){var r="("+i.coords.latitude+", "+i.coords.longitude+")";jQuery(n).val("");checkAddress(n,t,r,o)}else e(n,t,mappl10n.no_geolocate);return}),!1})};checkAddress=function(n,t,i,u){if(f(n,t),i=jQuery.trim(i),i==""){u(null);return}var o=r.stringToLatLng(i);if(o){u(o);return}if(i.substring(0,4)=="http"){u(i);return}r.geocode(i,function(i,r){if(!i||r!=google.maps.GeocoderStatus.OK){e(n,t,mappl10n.no_address);u(null);return}u(i);return})}};mapp.Geocoder.parseAddress=function(n){return!n||n==""?{firstLine:"",secondLine:""}:(n.lastIndexOf(", USA")>0||n.lastIndexOf(", United States")>0)&&(n.lastIndexOf(", USA")>0&&(n=n.slice(0,n.lastIndexOf(", USA"))),n.lastIndexOf(", United States")>0&&(n=n.slice(0,n.lastIndexOf(", United States"))),n.indexOf(",")==n.lastIndexOf(","))?{firstLine:n,secondLine:""}:n.indexOf(",")==-1?{firstLine:n,secondLine:""}:{firstLine:n.slice(0,n.indexOf(",")),secondLine:n.slice(n.indexOf(", ")+2)}};mapp=window.mapp||{};mapp.Icons={};mapp.Icons.get=function(){return"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"};mapp.Icons.getUrl=function(){return"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"};mapp=window.mapp||{};mapp.InfoBox=function(){var u,f,n,i,t,r=this;this.setContent=function(n){u=n};this.onAdd=function(){n=jQuery("<div class='mapp-ib'><div class='mapp-ib-close'>X<\/div><\/div>");t=jQuery("<div class='mapp-ib-tip'><\/div>");typeof u=="string"?jQuery(n).append(u):jQuery(n).append(jQuery(u));jQuery("body").append(n);jQuery("body").append(t);jQuery(".mapp-ib-close",n).click(function(){r.close()});jQuery(window).resize(function(){r.close()})};this.draw=function(){var c=jQuery(n).is(":visible"),u=r.getProjection().fromLatLngToContainerPixel(i),f,o,s;if(u.x=parseInt(u.x),u.y=parseInt(u.y),f=jQuery(this.getMap().getDiv()),u.x>f.width()||u.x<0||u.y>f.height()||u.y<0){jQuery(n).hide();jQuery(t).hide();return}jQuery(n).show();jQuery(t).show();o=f.offset().left+u.x;s=f.offset().top+u.y-32;jQuery(t).offset({top:s-t.outerHeight()-2,left:o-parseInt(t.outerWidth()/2)});var e=o-parseInt(n.outerWidth()/2),l=s-n.outerHeight()-t.outerHeight(),h=jQuery(document).width();e+n.outerWidth()>h&&(e=Math.max(h-n.outerWidth(),o-n.outerWidth()+parseInt(t.outerWidth()/2)));e<0&&(e=0);jQuery(n).offset({top:l,left:e});c||google.maps.event.trigger(this,"domready")};this.onRemove=function(){jQuery(n).remove();jQuery(t).remove()};this.setPosition=function(n){i=n};this.open=function(n,t){f=n;t&&(i=typeof t.getPosition=="function"?t.getPosition():t.getBounds().getCenter());this.setMap(f);this.disableAutoPan&&n.getBounds().contains(i)||f.panTo(i);google.maps.event.addListenerOnce(n,"drag",function(){r.close()});google.maps.event.addListenerOnce(n,"click",function(){r.close()})};this.close=function(){google.maps.event.trigger(this,"closeclick");this.setMap(null)}};mapp=window.mapp||{};+function(n){mapp.lib={ajax:function(t){var r=this,u,i;if(n.extend({type:"GET",cache:!1,data:null,spinner:null,callback:n.noop},t),t.cache)for(typeof mapp.lib.ajax.cache=="undefined"&&(mapp.lib.ajax.cache=[]),u=JSON.stringify(t.data),i=0;i<mapp.lib.ajax.cache.length;i++)if(mapp.lib.ajax.cache[i].hash==u){t.callback(mapp.lib.ajax.cache[i].response);return}t.spinner&&mapp.lib.spinner(t.spinner,!0);n.ajax({type:t.type,cache:!1,url:mappl10n.options.ajaxurl,data:t.data,success:function(n,i,u){if(mapp.lib.spinner(t.spinner,!1),n.output){r.alert("AJAX Error\r\n"+n.output);return}if(n.status=="OK"){t.cache&&mapp.lib.ajax.cache.push({hash:JSON.stringify(t.data),response:n});t.callback&&t.callback(n,u);return}var f=typeof n=="object"?n.status:n;r.alert("AJAX ERROR\r\nResponse="+f+" TextStatus="+i+"\r\nResponseText="+u.responseText)},error:function(n,i,u){mapp.lib.spinner(t.spinner,!1);typeof u!="undefined"&&u!=""&&r.alert("AJAX ERROR\r\nTextStatus="+i+"\r\nError="+u+"\r\nResponseText="+n.responseText)}})},jqVersionCheck:function(t){if(typeof n=="undefined"||typeof t=="undefined")return!1;for(t=t.split("."),v=n.fn.jquery.split("."),i=0;i<t.length;i++){var r=parseInt(t[i]),u=typeof v[i]!="undefined"?parseInt(v[i]):0;if(u!=r)return u>r}return!0},alert:function(n){mappl10n.options.admin||mappl10n.debug?alert(n):window.console&&console.log(n)},spinner:function(t,i){return i=typeof i=="undefined"?t.hasClass("mapp-spinner"):i,i?(n(t).addClass("mapp-spinner"),n(t).prepend('<div class="mapp-spinner-overlay"><\/div><div class="mapp-spinner-icon"><\/div>')):(n(t).removeClass("mapp-spinner"),n(".mapp-spinner-overlay, .mapp-spinner-icon",t).remove()),t},scrollTo:function(n,t){if(n&&t&&n.length&&t.length){var r=n.scrollTop(),i=t.position().top,u=i+t.height();i<r?n.scrollTop(i):u>r&&n.scrollTop(u)}}};n("body").on("tabsactivate tabsshow",function(t,i){var r=i.newPanel?i.newPanel:i.panel;r&&n(".mapp-canvas",r).each(function(){var i=n(this).attr("id"),t=window[i];t.getResized()||(t.resize(),t.initCenter())})})}(jQuery);mapp=window.mapp||{};+function(n){mapp.Places=function(t,i){var u=this,r;(this.sel=n(t),this.opts=n.extend({gmap:null,types:[]},i),r=n('<div style="display:none">').appendTo("body"),this.placesService=new google.maps.places.PlacesService(r.get(0)),this.autocompleteService=new google.maps.places.AutocompleteService,this.sel.length)&&(this.autocomplete=new google.maps.places.Autocomplete(this.sel.get(0),{types:this.opts.types}),this.autocomplete.bindTo("bounds",this.opts.gmap),google.maps.event.addListener(this.autocomplete,"place_changed",function(){u.parse(this.getPlace())}))};mapp.Places.prototype={parse:function(t){var i,u,r=this;if(i=t&&t.name?n.trim(t.name):n.trim(t),this.error(!1),this.sel.blur(),!i)return this.error(!0);if(t&&t.geometry)return google.maps.event.trigger(r,"search",t);if(u=this.parseLatLng(t))return google.maps.event.trigger(r,"search",u);if(i=="geolocate")return this.geolocate();if(i.substring(0,4)=="http")return u=i=="kml"?"http://kml-samples.googlecode.com/svn/trunk/kml/Placemark/placemark.kml":i,google.maps.event.trigger(r,"search",u);this.autocompleteService.getPlacePredictions({input:i,types:this.opts.types,bounds:this.opts.gmap.getBounds()},function(n,t){if(t!="OK"||n==null||n.length==0)return r.error(!0);r.placesService.getDetails({placeId:n[0].place_id},function(n,t){if(t!="OK"||!n||!n.geometry)return r.error(!0);google.maps.event.trigger(r,"search",n)})})},parseLatLng:function(t){var i,r;return t instanceof google.maps.LatLng?i=t:t&&t.lat&&t.lng?i=new google.maps.LatLng(t.lat,t.lng):(name=t&&t.name?n.trim(t.name):n.trim(t),r=name.split(","),r.length!=2||isNaN(r[0])||isNaN(r[1])||(i=new google.maps.LatLng(r[0],r[1]))),i?{name:i.toUrlValue(),geometry:{location:i}}:null},geolocate:function(){var n=this;if(!navigator||!navigator.geolocation){alert(mappl10n.no_geolocate);return}navigator.geolocation.getCurrentPosition(function(t){var i=new google.maps.LatLng(t.coords.latitude,t.coords.longitude),r={name:i.toUrlValue(),geometry:{location:i}};n.set("");google.maps.event.trigger(n,"search",r)},function(){alert(mappl10n.no_geolocate)},{timeout:1e4,enableHighAccuracy:!0,maximumAge:3e4})},set:function(n){this.sel.val(n);this.error(!1)},get:function(){return n.trim(this.sel.val())},focus:function(){this.sel.focus()},error:function(n){this.sel.toggleClass("mapp-error",!!n);this.focus()}}}(jQuery);mapp=window.mapp||{};mapp.Poi=function(){this.address=null;this.body=null;this.html=null;this.iconid=null;this.map=null;this.overlay=null;this.postid=null;this.title="";this.url=null;this.type=null;this.viewport=null;for(var n in arguments[0])typeof arguments[0][n]!="undefined"&&(this[n]=arguments[0][n])};mapp.Poi.prototype={fromJSON:function(n){var u,f,i,o,t,r,s,e;this.address=n.correctedAddress;this.body=n.body;this.correctedAddress=n.correctedAddress;this.html=n.html;this.iconid=n.iconid;this.postid=n.postid;this.title=n.title;this.type=n.type;this.url=n.url;n.viewport&&n.viewport.sw&&n.viewport.ne&&(u=new google.maps.LatLng(n.viewport.sw.lat,n.viewport.sw.lng),f=new google.maps.LatLng(n.viewport.ne.lat,n.viewport.ne.lng),this.viewport=u.lat()==0&&u.lng()==0&&f.lat()==0&&f.lng()==0?null:new google.maps.LatLngBounds(u,f));i=[];o=[];switch(this.type){case"polygon":if(n.poly&&n.poly.paths)for(t=0;t<n.poly.paths.length;t++){for(i=[],r=0;r<n.poly.paths[t].length;r++)i.push(new google.maps.LatLng(n.poly.paths[t][r].lat,n.poly.paths[t][r].lng));o.push(new google.maps.MVCArray(i))}this.overlay=new google.maps.Polygon({paths:new google.maps.MVCArray(o)});this.setColors(n.poly);break;case"polyline":if(n.poly&&n.poly.path)for(t=0;t<n.poly.path.length;t++)i.push(new google.maps.LatLng(n.poly.path[t].lat,n.poly.path[t].lng));this.overlay=new google.maps.Polyline({path:new google.maps.MVCArray(i)});this.setColors(n.poly);break;case"circle":e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Circle({center:e,radius:parseFloat(n.poly.radius)});this.setColors(n.poly);break;case"rectangle":this.overlay=new google.maps.Rectangle({bounds:this.viewport});this.setColors(n.poly);break;case"kml":s=n.kml&&n.kml.url?n.kml.url:"";this.overlay=new google.maps.KmlLayer(s,{preserveViewport:!0,suppressInfoWindows:!0});break;case"":default:e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Marker({position:e})}},toJSON:function(){var n={address:this.address,body:this.body,correctedAddress:this.address,iconid:this.iconid,point:null,poly:null,title:this.title,type:this.type,viewport:null},r=this.getPosition(),t,i;if(n.point={lat:r.lat(),lng:r.lng()},t=this.viewport?this.viewport:this.getBounds(),t&&(n.viewport={sw:{lat:t.getSouthWest().lat(),lng:t.getSouthWest().lng()},ne:{lat:t.getNorthEast().lat(),lng:t.getNorthEast().lng()}}),this.type=="kml"&&(n.kml={url:this.overlay.getUrl()}),this.isPoly()){n.poly=this.getColors();switch(this.type){case"circle":n.poly.radius=this.overlay.getRadius();break;case"polyline":n.poly.path=[];this.overlay.getPath().forEach(function(t){n.poly.path.push({lat:t.lat(),lng:t.lng()})});break;case"polygon":n.poly.paths=[];this.overlay.getPaths().forEach(function(t){var i=[];t.forEach(function(n){i.push({lat:n.lat(),lng:n.lng()})});n.poly.paths.push(i)});break;case"rectangle":i=this.overlay.getBounds();n.viewport={sw:{lat:i.getSouthWest().lat(),lng:i.getSouthWest().lng()},ne:{lat:i.getNorthEast().lat(),lng:i.getNorthEast().lng()}}}}return n},setTooltip:function(n){this.map.getTooltips()&&(this.type||(n?this.overlay.setTitle(n):this.overlay.setTitle(jQuery("<div>").html(this.title).text())))},setMap:function(n){var t=this;if(google.maps.event.clearInstanceListeners(this.overlay),n==null){this.overlay.setMap(null);return}this.type=="kml"&&(google.maps.event.addListener(this.overlay,"defaultviewport_changed",function(){t.viewport=t.overlay.getDefaultViewport()}),google.maps.event.addListener(this.overlay,"status_changed",function(){var n=t.overlay.getStatus();n!="OK"&&mappl10n.ajaxErrors&&alert(mappl10n.kml_error+":"+n)}));this.map=n;this.overlay.setMap(n.getMap());this.setEditable(this.map.getEditable());this.setIcon(this.iconid);this.setTooltip();google.maps.event.addListener(this.overlay,"click",function(n){t.open(n)})},setEditable:function(n){var t=this;this.type!="kml"&&(this.overlay.setDraggable(n),this.isPoly()&&this.overlay.setEditable(n),google.maps.event.clearListeners(this.overlay,"rightclick"),google.maps.event.clearListeners(this.overlay,"dragstart"),n&&(google.maps.event.addListener(this.overlay,"dragstart",function(){t.viewport=null;t.map.closeInfoWindow()}),(this.type=="polygon"||this.type=="polyline")&&google.maps.event.addListener(this.overlay,"rightclick",function(n){n.vertex!=null&&t.overlay.getPath().getLength()>2&&t.overlay.getPath().removeAt(n.vertex)})))},getZIndex:function(){return this.type?this.overlay.zIndex:this.overlay.getZIndex()},setZIndex:function(n){this.type?this.overlay.zIndex=n:this.overlay.setZIndex(n)},setIcon:function(n){this.type||typeof mapp.Icons=="undefined"||(this.overlay.setIcon(null),this.overlay.setIcon(mapp.Icons.get(n)),this.iconid=n)},setVisible:function(n){typeof this.overlay.setVisible!="undefined"&&this.overlay.setVisible(n)},setColors:function(n){var i={};for(var t in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})n&&typeof n[t]!="undefined"&&(i[t]=n[t]);this.overlay.setOptions(i)},getColors:function(){var t={};for(var n in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})typeof this.overlay[n]!="undefined"&&(t[n]=this.overlay[n]);return t},center:function(n){var t=this.map.getMap(),i;if(!n){t.setCenter(this.getPosition());return}if(typeof n=="number"){t.setCenter(this.getPosition());t.setZoom(n);return}i=this.getBounds();i?(t.fitBounds(i),t.setCenter(this.getPosition())):(t.setCenter(this.getPosition()),t.setZoom(this.map.getPoiZoom()))},open:function(n){this.map.openPoi(this,n)},zoomIn:function(){var n=this.map.getMap(),r=n.getZoom(),t=this.getBounds(),i=Math.min(r+2,21);t&&n.fitBounds(t);i>n.getZoom()&&n.setZoom(i);n.setCenter(this.getPosition())},isPoly:function(){return jQuery.inArray(this.type,["polyline","polygon","circle","rectangle"])!=-1},getBounds:function(){var n;if(!this.map.getEditable()&&this.viewport)return this.viewport;switch(this.type){case"polyline":n=new google.maps.LatLngBounds;this.overlay.getPath().forEach(function(t){n.extend(t)});break;case"polygon":n=new google.maps.LatLngBounds;this.overlay.getPaths().forEach(function(t){t.forEach(function(t){n.extend(t)})});break;case"rectangle":case"circle":n=this.overlay.getBounds();break;case"kml":n=this.overlay.getDefaultViewport();n=n?n:this.viewport;break;default:return this.viewport?this.viewport:null}return n},getPosition:function(){if(this.type){var n=this.getBounds();return n?n.getCenter():new google.maps.LatLng(0,0)}return this.overlay.getPosition()},click:function(){google.maps.event.trigger(this.overlay,"click")}};+function(){mapp.load=function(){while(mapp.data.length){var n=mapp.data.pop(),t=new mapp.Map(n);window[n.name]=t;t.display()}}}(jQuery);typeof mapp.Media!="undefined"?window.mappEditor=new mapp.Media:mapp.load()
1
+ var mapp=window.mapp||{};+function(n){mapp.Map=function(t){function vr(){var n,t,r;for(n in mappl10n.styles)t=mappl10n.styles[n],r=new google.maps.StyledMapType(t,{name:n}),i.mapTypes.set(n,r),er==n&&i.setOptions({styles:t})}function yr(){hr&&ot("traffic",mappl10n.traffic,hi);gt&&ot("bicycling",mappl10n.bike,oi);cr&&ot("transit",mappl10n.transit,ci)}function ot(n,t,r){var f=e+"_"+n,o=r?"checked='checked'":"",s="<div class='gmnoprint mapp-control'><input type='checkbox' id='"+f+"' "+o+" /> "+t+"<\/div>",u=jQuery(s).get(0);i.controls[google.maps.ControlPosition.TOP_RIGHT].push(u);r&&pt(n);google.maps.event.clearListeners(u,"click");google.maps.event.addDomListener(u,"click",function(){pt(n)})}function pt(n){var r=e+"_"+n,t;switch(n){case"transit":k=k?k:new google.maps.TransitLayer;t=k;break;case"traffic":b=b?b:new google.maps.TrafficLayer;t=b;break;case"bicycling":w=w?w:new google.maps.BicyclingLayer;t=w}t.getMap()?(jQuery("#"+r).prop("checked",!1),t.setMap(null)):(jQuery("#"+r).prop("checked",!0),t.setMap(i))}var s=t.center,y=t.height,h=t.mapid,wt=t.mapTypeId?t.mapTypeId:"roadmap",bt=t.metaKey,e=t.name,kt=t.options,tt=t.query,it=t.title,p=t.width,rt=parseInt(t.zoom,10),dt=t.options.adaptive,gt=t.options.bicycling,ni=t.options.bigHeight,ti=t.options.bigWidth,ii=t.options.country,st=t.options.directions,ri=t.options.directionsServer,ui=t.options.directionsUnits,fi=t.options.draggable,ei=t.options.editable,ht=t.options.from,oi=t.options.initialBicycling,si=t.options.initialOpenDirections,ut=t.options.initialOpenInfo,hi=t.options.initialTraffic,ci=t.options.initialTransit,c=t.options.iwType,ct=t.options.keyboardShortcuts,li=t.options.language,ai=t.options.mapTypeControl,vi=parseInt(t.options.mapTypeControlStyle,10),l=t.options.mapTypeIds,yi=t.options.mashupClick,pi=parseInt(t.options.maxZoom),wi=parseInt(t.options.minZoom),bi=t.options.overviewMapControl,ki=t.options.overviewMapControlOpened,di=t.options.panControl,gi=t.options.poiZoom,pr=t.options.radius,nr=t.options.rotateControl,tr=t.options.scaleControl,ir=t.options.scrollwheel,lt=t.options.search,rr=t.height,ur=t.width,fr=t.options.streetViewControl,er=t.options.style,or=parseInt(t.options.tilt),at=t.options.to,sr=t.options.tooltips,hr=t.options.traffic,cr=t.options.transit,lr=t.options.zoomControl,ar=parseInt(t.options.zoomControlStyle,10),u=this,w,b,k,o=null,d,vt,g,a,nt,ft=null,i=null,f=null,et,r=[],yt=!1,v;this.display=function(){var r,h;if(d=jQuery("#"+e+"_dialog"),vt=jQuery("#"+e+"_directions"),g=jQuery("#"+e+"_layout"),a=document.getElementById(e),nt=jQuery("#"+e+"_poi_list"),!a)return mapp.lib.alert("MapPress: Missing map name or container for map: "+e);if(typeof google=="undefined")return mapp.lib.alert("MapPress: Google API not loaded");if(mapp.lib.jqVersionCheck("1.7")||mapp.lib.alert("jQuery version is too old: "+n.fn.jquery),i=new google.maps.Map(a,{mapTypeId:"roadmap",center:new google.maps.LatLng(0,0),zoom:1}),v=google.maps.Marker.MAX_ZINDEX,vt.append(jQuery("#"+e+"_directions_").contents()),nt.append(jQuery("#"+e+"_poi_list_").contents()),et=new mapp.Places(null,{gmap:i}),google.maps.event.addListener(et,"search",function(n){u.search(n)}),!l&&(l=["roadmap","satellite","terrain","hybrid"],mappl10n.styles))for(r in mappl10n.styles)l.push(r);if(s=s?new google.maps.LatLng(t.center.lat,t.center.lng):new google.maps.LatLng(0,0),h={backgroundColor:"transparent",draggable:fi,keyboardShortcuts:ct,mapTypeControl:ai,mapTypeControlOptions:{style:vi,mapTypeIds:l},maxZoom:pi,minZoom:wi,overviewMapControl:bi,overviewMapControlOptions:{opened:ki},panControl:di,rotateControl:nr,scaleControl:tr,scrollwheel:ir,streetViewControl:fr,tilt:or,zoomControl:lr,zoomControlOptions:{style:ar}},i.setOptions(h),vr(),u.setMapTypeId(wt),yr(),c=="ib"?(mapp.InfoBox.prototype=new google.maps.OverlayView,f=new mapp.InfoBox):f=new google.maps.InfoWindow,c=="ib"&&(ct=!1),ft=new mapp.Geocoder(u,li,ii),st!="none"&&(o=new mapp.Directions(u,st,ft,ri,ui)),dt&&jQuery(window).resize(function(){u.resize()}),tt){lt?et.parse(lt):this.ajaxQuery();return}google.maps.event.addListenerOnce(i,"idle",function(){u.initCenter()});this.setPois(t.pois)};this.getQuery=function(){return tt};this.setQuery=function(n){tt=n};this.setDialog=function(n){n=n?n:'<span class="mapp-spinner"><\/span>'+mappl10n.loading;n='<div class="mapp-dialog-inner">'+n+"<\/div>";jQuery(d).html(n);jQuery(d).show()};this.hideDialog=function(){jQuery(d).hide()};this.setPoiList=function(n){typeof n=="string"?nt.html(n):nt.append(n)};this.getOptions=function(){return kt};this.getResized=function(){return yt};this.show=function(){g.show();this.display()};this.closeInfoWindow=function(){f.close()};this.openDirections=function(n,t,i){var r,u;typeof n=="object"?(r=n.address?n.address:n.getPosition().toUrlValue(),n.open()):r=n;typeof t=="object"?(u=t.address?t.address:t.getPosition().toUrlValue(),t.open()):u=t;o.open(r,u,i)};this.setMapTypeId=function(n){n=n&&jQuery.inArray(n,l)!=-1?n:l[0];i.setMapTypeId(n)};this.setCenter=function(n,t){i.setCenter(new google.maps.LatLng(n,t))};this.setZoom=function(n){i.setZoom(n)};this.getPoiZoom=function(){return parseInt(gi)};this.poiToFront=function(n){v++;n.setZIndex(v)};this.getMap=function(){return i};this.getGeocoder=function(){return ft};this.getName=function(){return e};this.setName=function(n){e=n};this.getMapid=function(){return h};this.setMapid=function(n){h=n};this.getTitle=function(){return it};this.setTitle=function(n){it=n};this.getWidth=function(){return p};this.setWidth=function(n){p=n};this.getHeight=function(){return y};this.setHeight=function(n){y=n};this.getInfoWindow=function(){return f};this.getEditable=function(){return ei};this.getTooltips=function(){return sr};this.getPoi=function(n){return typeof n=="string"&&(n=parseInt(n,10)),r[n]};this.getPoiById=function(n){for(var t=0;t<r.length;t++)if(r[t].postid==n)return r[t];return null};this.getPois=function(){return r};this.insertPoi=function(n){r.unshift(n);n.setMap(this)};this.addPoi=function(n){r.push(n);n.setMap(this)};this.removePoi=function(n){var t=jQuery.inArray(n,r);t!=-1&&(r[t].setMap(null),r.splice(t,1))};this.setPois=function(n){for(var i,t=0;t<r.length;t++)r[t].setMap(null);for(r=[],t=0;t<n.length;t++)i=new mapp.Poi,i.fromJSON(n[t]),r.push(i),i.setMap(this),i.setZIndex(v+n.length-1-t);v+=n.length-1};this.showPois=function(){for(var n=0;n<r.length;n++)r[n].setVisible(!0)};this.hidePois=function(){for(var n=0;n<r.length;n++)r[n].setVisible(!1)};this.sortPois=function(n){for(var u,t=Array(),i=0;i<n.length;i++){if(u=parseInt(n[i]),isNaN(u))return!1;t.push(r[u])}return t.length!=r.length?!1:(r=t,!0)};this.openPoi=function(n,t){var r,i;if(c&&c!="none"){if(yi=="post"&&n.postid&&n.url){window.location.assign(n.url);return}i={html:null};google.maps.event.trigger(u,"poicontent",n,i);r=i.content?i.content:t&&typeof t.featureData!="undefined"?t.featureData.infoWindowHtml:n.html;this.openInfoWindow(n,r,t)}};this.openInfoWindow=function(n,t,r){(o&&o.close(),c&&c!="none")&&(this.poiToFront(n),f.close(),f.setContent(t),google.maps.event.addListenerOnce(f,"domready",function(){google.maps.event.trigger(u,"poidomready",n)}),n.type=="kml"&&r?(f.setOptions({pixelOffset:r.pixelOffset,position:r.latLng}),f.open(i)):n.type?(f.setOptions({position:n.getPosition()}),f.open(i)):f.open(i,n.overlay))};this.closeInfoWindow=function(){f.close()};this.resize=function(n,t){var r=i.getCenter();n&&t&&(jQuery(a).width(n),jQuery(a).height(t),p=n,y=t);google.maps.event.trigger(i,"resize");i.setCenter(r);yt=!0;return};this.initCenter=function(){if(this.closeInfoWindow(),google.maps.event.addListenerOnce(i,"idle",function(){u.initWindows()}),s&&s.lat()&&s.lng())i.setCenter(s),i.setZoom(rt);else{var n=rt?rt:!0;u.autoCenter(n)}};this.initWindows=function(){var i,n,t;o&&si?(n=jQuery.trim(ht),t=ht==null&&at==null?"0":jQuery.trim(at),n=jQuery.isNumeric(n)?this.getPoi(n):n,t=jQuery.isNumeric(t)?this.getPoi(t):t,typeof n=="object"?n.center(!1):typeof t=="object"&&t.center(!1),u.openDirections(n,t,!1)):ut&&(i=jQuery.isNumeric(ut)?u.getPoi(ut):u.getPoi(0),i&&i.open())};this.autoCenter=function(n){var t,u,f;if(r.length==0){this.setCenter(0,0);typeof n=="number"?i.setZoom(n):i.setZoom(1);return}if(r.length==1){r[0].center(n);return}for(t=new google.maps.LatLngBounds,u=0;u<r.length;u++)f=r[u].getBounds(),t=f?t.union(f):t.extend(r[u].getPosition());if(n===!1){i.setCenter(t.getCenter());return}if(typeof n=="number"){i.setCenter(t.getCenter());i.setZoom(n);return}i.fitBounds(t)};this.reset=function(){this.initCenter()};this.bigger=function(n,t,i){o&&o.close();this.closeInfoWindow();jQuery(n).text()==t?(jQuery(n).text(i),jQuery(g).width(ti),this.resize("100%",ni)):(jQuery(n).text(t),jQuery(g).width(ur),this.resize("100%",rr))};this.toJSON=function(){return{center:{lat:i.getCenter().lat(),lng:i.getCenter().lng()},height:y,mapid:h,mapTypeId:i.getMapTypeId(),metaKey:bt,pois:r,title:it,width:p,zoom:i.getZoom()}};this.ajaxSave=function(n){var t,i;t=typeof Prototype!="undefined"&&typeof Object.toJSON!="undefined"?Object.toJSON(u):t=JSON.stringify(u);i={action:"mapp_save",map:t,postid:mappl10n.options.postid};mapp.Ajax("POST",i,function(t){t.status=="OK"&&(h=t.data.mapid,n(t.data))})};this.ajaxDelete=function(n){h||n();var t={action:"mapp_delete",mapid:h};mapp.Ajax("POST",t,function(t){t.status=="OK"&&n()})}};mapp.Map.ajaxCreate=function(n,t,i){mapp.Ajax("GET",{action:"mapp_create"},function(r){if(r.status=="OK"){jQuery.extend(r.data.map.options,t);r.data.map.name=n;var u=new mapp.Map(r.data.map);i(u)}})};mapp.Map.ajaxGet=function(n,t,i,r){var u={action:"mapp_get",mapid:n};mapp.Ajax("GET",u,function(n){if(n.status=="OK"){jQuery.extend(n.data.map.options,i);n.data.map.name=t;var u=new mapp.Map(n.data.map);r(u)}})};mapp.Map.ajaxDelete=function(n,t){var i={action:"mapp_delete",mapid:n};mapp.Ajax("POST",i,function(n){n.status=="OK"&&t&&t()})};mapp.Ajax=function(n,t,i){jQuery.ajax({type:n,cache:!1,url:mappl10n.options.ajaxurl,data:t,success:function(n){if(n.output&&(mappl10n.options.admin||mappl10n.options.debug)&&alert("AJAX Error\r\n"+n.output),n.status=="OK"){i(n);return}(mappl10n.options.admin||mappl10n.options.debug)&&(typeof n=="object"?alert("AJAX Error\r\n"+n.status):alert("AJAX Error\r\n"+n))},error:function(n,t,i){typeof i!="undefined"&&i!=""&&mappl10n.ajaxErrors&&alert("AJAX ERROR\r\nStatus="+t+"\r\nError="+i+"\r\nResponseText="+n.responseText)}})}}(jQuery);mapp=window.mapp||{};mapp.Directions=function(n,t,i,r,u){function p(){jQuery(".mapp-dir-swap",f).click(function(){var n=jQuery(".mapp-dir-daddr",f).val(),t=jQuery(".mapp-dir-saddr",f).val();return jQuery(".mapp-dir-saddr",f).val(n),jQuery(".mapp-dir-daddr",f).val(t),jQuery(".mapp-dir-get",f).click(),!1});jQuery(".mapp-dir-get",f).click(function(){return s.getDirections(),!1});jQuery(".mapp-dir-print",f).click(function(){s.printDirections()});jQuery(".mapp-dir-close",f).click(function(){return s.close(),!1});jQuery(".mapp-travelmode",f).click(function(){return jQuery(".mapp-travelmode",f).removeClass("mapp-travelmode-on"),jQuery(this).addClass("mapp-travelmode-on"),s.getDirections(),!1});jQuery(".mapp-myloc",f).click(function(){return c.geolocate(function(n){n?(jQuery(".mapp-dir-saddr",f).val("("+n.coords.latitude+", "+n.coords.longitude+")"),jQuery(".mapp-dir-get",f).click()):alert(mappl10n.no_geolocate)}),!1})}function w(n,t,i){var u=jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-walk")?google.maps.DirectionsTravelMode.WALKING:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-transit")?google.maps.DirectionsTravelMode.TRANSIT:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-bike")?google.maps.DirectionsTravelMode.BICYCLING:google.maps.DirectionsTravelMode.DRIVING;var o={travelMode:u,transitOptions:{departureTime:null},provideRouteAlternatives:!0,origin:n,destination:t,unitSystem:y},r=jQuery(".mapp-dir-renderer",f).get(0);jQuery(".mapp-dir-renderer",f).empty();l||(l=new google.maps.DirectionsService);l.route(o,function(n,t){switch(t){case google.maps.DirectionsStatus.OK:h.hidePois();e?(e.setDirections(n),e.setMap(a),e.setPanel(r)):e=new google.maps.DirectionsRenderer({map:a,panel:r,directions:n,hideRouteList:!1,draggable:!0});break;case google.maps.DirectionsStatus.NOT_FOUND:alert(mappl10n.dir_not_found);break;case google.maps.DirectionsStatus.ZERO_RESULTS:alert(mappl10n.dir_zero_results);break;default:alert(mappl10n.dir_default+t)}i()})}var h=n,v=t,c=i,o=r,y=u,f=jQuery("#"+n.getName()+"_directions"),e,l,a=n.getMap(),s=this;o.toLowerCase().indexOf("http")==-1&&(o="https://"+o);p();this.open=function(n,t,i){if(v=="google"){this.openGoogle(n,t);return}jQuery(f).show();jQuery(".mapp-dir-saddr",f).val(n);jQuery(".mapp-dir-daddr",f).val(t);(i||typeof i=="undefined")&&(jQuery(".mapp-dir-get",f).focus(),jQuery(".mapp-dir-saddr",f).focus())};this.close=function(){jQuery(f).hide();e&&(e.setPanel(null),e.getMap()&&(e.setMap(null),h.showPois()))};this.getDirections=function(){h.closeInfoWindow();jQuery(".mapp-spinner",f).show();var n=jQuery(".mapp-dir-saddr",f),t=jQuery(".mapp-dir-daddr",f),i=jQuery(".mapp-dir-saddr-err",f),r=jQuery(".mapp-dir-daddr-err",f);c.geocodeField(n,i,function(n){c.geocodeField(t,r,function(t){n&&t?w(n,t,function(){jQuery(".mapp-spinner",f).hide();return}):jQuery(".mapp-spinner",f).hide()})})};this.printDirections=function(){var t,n=jQuery(".mapp-travelmode-on > span",f);t=n.hasClass("mapp-dir-walk")?"w":n.hasClass("mapp-dir-bike")?"b":n.hasClass("mapp-dir-transit")?"r":"d";this.openGoogle(jQuery(".mapp-dir-saddr",f).val(),jQuery(".mapp-dir-daddr",f).val(),t)};this.openGoogle=function(n,t,i){var r=o;r+="?saddr="+encodeURIComponent(n);r+="&daddr="+encodeURIComponent(t);i&&(r+="&dirflg="+i);window.open(r)}};mapp=window.mapp||{};mapp.Geocoder=function(n,t,i){function f(n,t){jQuery(n).removeClass("mapp-error");jQuery(t).hide()}function e(n,t,i){jQuery(n).addClass("mapp-error");jQuery(t).html(i);jQuery(t).show()}var o,u,s,c,h,r;o=i;c=t;h=n;s=h.getMap();r=this;this.geocode=function(n,t){typeof n=="string"&&n.substring(0,1)=="("&&(split=n.replace(/\(|\)/g,"").split(","),n=new google.maps.LatLng(split[0],split[1]));var i=n instanceof google.maps.LatLng?{location:n}:{address:n,region:o,bounds:s.getBounds()};u||(u=new google.maps.Geocoder);u.geocode(i,function(n,i){if(n){for(var r=0;r<n.length;r++)n[r].formatted_address==""&&n.splice(r,1);t(n[0],i)}else t(null,i)})};this.geolocate=function(n){if(!navigator||!navigator.geolocation)return null;navigator.geolocation.getCurrentPosition(function(t){n(t)},function(){n(null)},{timeout:1e4,enableHighAccuracy:!0,maximumAge:3e4})};this.stringToLatLng=function(n){var t=n.split(",",2),i=Number(t[0]),r=Number(t[1]);return isNaN(i)||isNaN(r)?!1:new google.maps.LatLng(i,r)};this.geocodeField=function(n,t,i){f(n,t);checkAddress(n,t,jQuery(n).val(),function(r){if(!r){e(n,t,mappl10n.no_address);i(null);return}if(r&&r.formatted_address){jQuery(n).val(r.formatted_address);i(r.formatted_address);return}i(r);return})};this.autocompleteField=function(n,t,i,u,o){jQuery(n).keypress(function(i){i.which==13&&(checkAddress(n,t,jQuery(n).val(),o),i.preventDefault())});jQuery(i).click(function(){return checkAddress(n,t,jQuery(n).val(),o),!1});jQuery(u).click(function(){return f(n,t),r.geolocate(function(i){if(i){var r="("+i.coords.latitude+", "+i.coords.longitude+")";jQuery(n).val("");checkAddress(n,t,r,o)}else e(n,t,mappl10n.no_geolocate);return}),!1})};checkAddress=function(n,t,i,u){if(f(n,t),i=jQuery.trim(i),i==""){u(null);return}var o=r.stringToLatLng(i);if(o){u(o);return}if(i.substring(0,4)=="http"){u(i);return}r.geocode(i,function(i,r){if(!i||r!=google.maps.GeocoderStatus.OK){e(n,t,mappl10n.no_address);u(null);return}u(i);return})}};mapp.Geocoder.parseAddress=function(n){return!n||n==""?{firstLine:"",secondLine:""}:(n.lastIndexOf(", USA")>0||n.lastIndexOf(", United States")>0)&&(n.lastIndexOf(", USA")>0&&(n=n.slice(0,n.lastIndexOf(", USA"))),n.lastIndexOf(", United States")>0&&(n=n.slice(0,n.lastIndexOf(", United States"))),n.indexOf(",")==n.lastIndexOf(","))?{firstLine:n,secondLine:""}:n.indexOf(",")==-1?{firstLine:n,secondLine:""}:{firstLine:n.slice(0,n.indexOf(",")),secondLine:n.slice(n.indexOf(", ")+2)}};mapp=window.mapp||{};mapp.Icons={};mapp.Icons.get=function(){return"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"};mapp.Icons.getUrl=function(){return"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"};mapp=window.mapp||{};mapp.InfoBox=function(){var u,f,n,i,t,r=this;this.setContent=function(n){u=n};this.onAdd=function(){n=jQuery("<div class='mapp-ib'><div class='mapp-ib-close'>X<\/div><\/div>");t=jQuery("<div class='mapp-ib-tip'><\/div>");typeof u=="string"?jQuery(n).append(u):jQuery(n).append(jQuery(u));jQuery("body").append(n);jQuery("body").append(t);jQuery(".mapp-ib-close",n).click(function(){r.close()});jQuery(window).resize(function(){r.close()})};this.draw=function(){var c=jQuery(n).is(":visible"),u=r.getProjection().fromLatLngToContainerPixel(i),f,o,s;if(u.x=parseInt(u.x),u.y=parseInt(u.y),f=jQuery(this.getMap().getDiv()),u.x>f.width()||u.x<0||u.y>f.height()||u.y<0){jQuery(n).hide();jQuery(t).hide();return}jQuery(n).show();jQuery(t).show();o=f.offset().left+u.x;s=f.offset().top+u.y-32;jQuery(t).offset({top:s-t.outerHeight()-2,left:o-parseInt(t.outerWidth()/2)});var e=o-parseInt(n.outerWidth()/2),l=s-n.outerHeight()-t.outerHeight(),h=jQuery(document).width();e+n.outerWidth()>h&&(e=Math.max(h-n.outerWidth(),o-n.outerWidth()+parseInt(t.outerWidth()/2)));e<0&&(e=0);jQuery(n).offset({top:l,left:e});c||google.maps.event.trigger(this,"domready")};this.onRemove=function(){jQuery(n).remove();jQuery(t).remove()};this.setPosition=function(n){i=n};this.open=function(n,t){f=n;t&&(i=typeof t.getPosition=="function"?t.getPosition():t.getBounds().getCenter());this.setMap(f);this.disableAutoPan&&n.getBounds().contains(i)||f.panTo(i);google.maps.event.addListenerOnce(n,"drag",function(){r.close()});google.maps.event.addListenerOnce(n,"click",function(){r.close()})};this.close=function(){google.maps.event.trigger(this,"closeclick");this.setMap(null)}};mapp=window.mapp||{};+function(n){mapp.lib={ajax:function(t){var r=this,u,i;if(n.extend({type:"GET",cache:!1,data:null,spinner:null,callback:n.noop},t),t.cache)for(typeof mapp.lib.ajax.cache=="undefined"&&(mapp.lib.ajax.cache=[]),u=JSON.stringify(t.data),i=0;i<mapp.lib.ajax.cache.length;i++)if(mapp.lib.ajax.cache[i].hash==u){t.callback(mapp.lib.ajax.cache[i].response);return}t.spinner&&mapp.lib.spinner(t.spinner,!0);n.ajax({type:t.type,cache:!1,url:mappl10n.options.ajaxurl,data:t.data,success:function(n,i,u){if(mapp.lib.spinner(t.spinner,!1),n.output){r.alert("AJAX Error\r\n"+n.output);return}if(n.status=="OK"){t.cache&&mapp.lib.ajax.cache.push({hash:JSON.stringify(t.data),response:n});t.callback&&t.callback(n,u);return}var f=typeof n=="object"?n.status:n;r.alert("AJAX ERROR\r\nResponse="+f+" TextStatus="+i+"\r\nResponseText="+u.responseText)},error:function(n,i,u){mapp.lib.spinner(t.spinner,!1);typeof u!="undefined"&&u!=""&&r.alert("AJAX ERROR\r\nTextStatus="+i+"\r\nError="+u+"\r\nResponseText="+n.responseText)}})},jqVersionCheck:function(t){if(typeof n=="undefined"||typeof t=="undefined")return!1;for(t=t.split("."),v=n.fn.jquery.split("."),i=0;i<t.length;i++){var r=parseInt(t[i]),u=typeof v[i]!="undefined"?parseInt(v[i]):0;if(u!=r)return u>r}return!0},alert:function(n){mappl10n.options.admin||mappl10n.debug?alert(n):window.console&&console.log(n)},spinner:function(t,i){return i=typeof i=="undefined"?t.hasClass("mapp-spinner"):i,i?(n(t).addClass("mapp-spinner"),n(t).prepend('<div class="mapp-spinner-overlay"><\/div><div class="mapp-spinner-icon"><\/div>')):(n(t).removeClass("mapp-spinner"),n(".mapp-spinner-overlay, .mapp-spinner-icon",t).remove()),t},scrollTo:function(n,t){if(n&&t&&n.length&&t.length){var r=n.scrollTop(),i=t.position().top,u=i+t.height();i<r?n.scrollTop(i):u>r&&n.scrollTop(u)}}};n("body").on("tabsactivate tabsshow",function(t,i){var r=i.newPanel?i.newPanel:i.panel;r&&n(".mapp-canvas",r).each(function(){var i=n(this).attr("id"),t=window[i];t.getResized()||(t.resize(),t.initCenter())})})}(jQuery);mapp=window.mapp||{};+function(n){mapp.Places=function(t,i){var u=this,r;(this.sel=n(t),this.opts=n.extend({gmap:null,types:[]},i),r=n('<div style="display:none">').appendTo("body"),this.placesService=new google.maps.places.PlacesService(r.get(0)),this.autocompleteService=new google.maps.places.AutocompleteService,this.sel.length)&&(this.autocomplete=new google.maps.places.Autocomplete(this.sel.get(0),{types:this.opts.types}),this.autocomplete.bindTo("bounds",this.opts.gmap),google.maps.event.addListener(this.autocomplete,"place_changed",function(){u.parse(this.getPlace())}))};mapp.Places.prototype={parse:function(t){var i,u,r=this;if(i=t&&t.name?n.trim(t.name):n.trim(t),this.error(!1),this.sel.blur(),!i)return this.error(!0);if(t&&t.geometry)return google.maps.event.trigger(r,"search",t);if(u=this.parseLatLng(t))return google.maps.event.trigger(r,"search",u);if(i=="geolocate")return this.geolocate();if(i.substring(0,4)=="http")return u=i=="kml"?"http://kml-samples.googlecode.com/svn/trunk/kml/Placemark/placemark.kml":i,google.maps.event.trigger(r,"search",u);this.autocompleteService.getPlacePredictions({input:i,types:this.opts.types,bounds:this.opts.gmap.getBounds()},function(n,t){if(t!="OK"||n==null||n.length==0)return r.error(!0);r.placesService.getDetails({placeId:n[0].place_id},function(n,t){if(t!="OK"||!n||!n.geometry)return r.error(!0);google.maps.event.trigger(r,"search",n)})})},parseLatLng:function(t){var i,r;return t instanceof google.maps.LatLng?i=t:t&&t.lat&&t.lng?i=new google.maps.LatLng(t.lat,t.lng):(name=t&&t.name?n.trim(t.name):n.trim(t),r=name.split(","),r.length!=2||isNaN(r[0])||isNaN(r[1])||(i=new google.maps.LatLng(r[0],r[1]))),i?{name:i.toUrlValue(),geometry:{location:i}}:null},geolocate:function(){var n=this;if(!navigator||!navigator.geolocation){alert(mappl10n.no_geolocate);return}navigator.geolocation.getCurrentPosition(function(t){var i=new google.maps.LatLng(t.coords.latitude,t.coords.longitude),r={name:i.toUrlValue(),geometry:{location:i}};n.set("");google.maps.event.trigger(n,"search",r)},function(){alert(mappl10n.no_geolocate)},{timeout:1e4,enableHighAccuracy:!0,maximumAge:3e4})},set:function(n){this.sel.val(n);this.error(!1)},get:function(){return n.trim(this.sel.val())},focus:function(){this.sel.focus()},error:function(n){this.sel.toggleClass("mapp-error",!!n);this.focus()}}}(jQuery);mapp=window.mapp||{};mapp.Poi=function(){this.address=null;this.body=null;this.html=null;this.iconid=null;this.map=null;this.overlay=null;this.postid=null;this.title="";this.url=null;this.type=null;this.viewport=null;for(var n in arguments[0])typeof arguments[0][n]!="undefined"&&(this[n]=arguments[0][n])};mapp.Poi.prototype={fromJSON:function(n){var u,f,i,o,t,r,s,e;this.address=n.correctedAddress;this.body=n.body;this.correctedAddress=n.correctedAddress;this.html=n.html;this.iconid=n.iconid;this.postid=n.postid;this.title=n.title;this.type=n.type;this.url=n.url;n.viewport&&n.viewport.sw&&n.viewport.ne&&(u=new google.maps.LatLng(n.viewport.sw.lat,n.viewport.sw.lng),f=new google.maps.LatLng(n.viewport.ne.lat,n.viewport.ne.lng),this.viewport=u.lat()==0&&u.lng()==0&&f.lat()==0&&f.lng()==0?null:new google.maps.LatLngBounds(u,f));i=[];o=[];switch(this.type){case"polygon":if(n.poly&&n.poly.paths)for(t=0;t<n.poly.paths.length;t++){for(i=[],r=0;r<n.poly.paths[t].length;r++)i.push(new google.maps.LatLng(n.poly.paths[t][r].lat,n.poly.paths[t][r].lng));o.push(new google.maps.MVCArray(i))}this.overlay=new google.maps.Polygon({paths:new google.maps.MVCArray(o)});this.setColors(n.poly);break;case"polyline":if(n.poly&&n.poly.path)for(t=0;t<n.poly.path.length;t++)i.push(new google.maps.LatLng(n.poly.path[t].lat,n.poly.path[t].lng));this.overlay=new google.maps.Polyline({path:new google.maps.MVCArray(i)});this.setColors(n.poly);break;case"circle":e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Circle({center:e,radius:parseFloat(n.poly.radius)});this.setColors(n.poly);break;case"rectangle":this.overlay=new google.maps.Rectangle({bounds:this.viewport});this.setColors(n.poly);break;case"kml":s=n.kml&&n.kml.url?n.kml.url:"";this.overlay=new google.maps.KmlLayer(s,{preserveViewport:!0,suppressInfoWindows:!0});break;case"":default:e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Marker({position:e})}},toJSON:function(){var n={address:this.address,body:this.body,correctedAddress:this.address,iconid:this.iconid,point:null,poly:null,title:this.title,type:this.type,viewport:null},r=this.getPosition(),t,i;if(n.point={lat:r.lat(),lng:r.lng()},t=this.viewport?this.viewport:this.getBounds(),t&&(n.viewport={sw:{lat:t.getSouthWest().lat(),lng:t.getSouthWest().lng()},ne:{lat:t.getNorthEast().lat(),lng:t.getNorthEast().lng()}}),this.type=="kml"&&(n.kml={url:this.overlay.getUrl()}),this.isPoly()){n.poly=this.getColors();switch(this.type){case"circle":n.poly.radius=this.overlay.getRadius();break;case"polyline":n.poly.path=[];this.overlay.getPath().forEach(function(t){n.poly.path.push({lat:t.lat(),lng:t.lng()})});break;case"polygon":n.poly.paths=[];this.overlay.getPaths().forEach(function(t){var i=[];t.forEach(function(n){i.push({lat:n.lat(),lng:n.lng()})});n.poly.paths.push(i)});break;case"rectangle":i=this.overlay.getBounds();n.viewport={sw:{lat:i.getSouthWest().lat(),lng:i.getSouthWest().lng()},ne:{lat:i.getNorthEast().lat(),lng:i.getNorthEast().lng()}}}}return n},setTooltip:function(n){this.map.getTooltips()&&(this.type||(n?this.overlay.setTitle(n):this.overlay.setTitle(jQuery("<div>").html(this.title).text())))},setMap:function(n){var t=this;if(google.maps.event.clearInstanceListeners(this.overlay),n==null){this.overlay.setMap(null);return}this.type=="kml"&&(google.maps.event.addListener(this.overlay,"defaultviewport_changed",function(){t.viewport=t.overlay.getDefaultViewport()}),google.maps.event.addListener(this.overlay,"status_changed",function(){var n=t.overlay.getStatus();n!="OK"&&mappl10n.ajaxErrors&&alert(mappl10n.kml_error+":"+n)}));this.map=n;this.overlay.setMap(n.getMap());this.setEditable(this.map.getEditable());this.setIcon(this.iconid);this.setTooltip();google.maps.event.addListener(this.overlay,"click",function(n){t.open(n)})},setEditable:function(n){var t=this;this.type!="kml"&&(this.overlay.setDraggable(n),this.isPoly()&&this.overlay.setEditable(n),google.maps.event.clearListeners(this.overlay,"rightclick"),google.maps.event.clearListeners(this.overlay,"dragstart"),n&&(google.maps.event.addListener(this.overlay,"dragstart",function(){t.viewport=null;t.map.closeInfoWindow()}),(this.type=="polygon"||this.type=="polyline")&&google.maps.event.addListener(this.overlay,"rightclick",function(n){n.vertex!=null&&t.overlay.getPath().getLength()>2&&t.overlay.getPath().removeAt(n.vertex)})))},getZIndex:function(){return this.type?this.overlay.zIndex:this.overlay.getZIndex()},setZIndex:function(n){this.type?this.overlay.zIndex=n:this.overlay.setZIndex(n)},setIcon:function(n){this.type||typeof mapp.Icons=="undefined"||(this.overlay.setIcon(null),this.overlay.setIcon(mapp.Icons.get(n)),this.iconid=n)},setVisible:function(n){typeof this.overlay.setVisible!="undefined"&&this.overlay.setVisible(n)},setColors:function(n){var i={};for(var t in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})n&&typeof n[t]!="undefined"&&(i[t]=n[t]);this.overlay.setOptions(i)},getColors:function(){var t={};for(var n in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})typeof this.overlay[n]!="undefined"&&(t[n]=this.overlay[n]);return t},center:function(n){var t=this.map.getMap(),i;if(!n){t.setCenter(this.getPosition());return}if(typeof n=="number"){t.setCenter(this.getPosition());t.setZoom(n);return}i=this.getBounds();i?(t.fitBounds(i),t.setCenter(this.getPosition())):(t.setCenter(this.getPosition()),t.setZoom(this.map.getPoiZoom()))},open:function(n){this.map.openPoi(this,n)},zoomIn:function(){var n=this.map.getMap(),r=n.getZoom(),t=this.getBounds(),i=Math.min(r+2,21);t&&n.fitBounds(t);i>n.getZoom()&&n.setZoom(i);n.setCenter(this.getPosition())},isPoly:function(){return jQuery.inArray(this.type,["polyline","polygon","circle","rectangle"])!=-1},getBounds:function(){var n;if(!this.map.getEditable()&&this.viewport)return this.viewport;switch(this.type){case"polyline":n=new google.maps.LatLngBounds;this.overlay.getPath().forEach(function(t){n.extend(t)});break;case"polygon":n=new google.maps.LatLngBounds;this.overlay.getPaths().forEach(function(t){t.forEach(function(t){n.extend(t)})});break;case"rectangle":case"circle":n=this.overlay.getBounds();break;case"kml":n=this.overlay.getDefaultViewport();n=n?n:this.viewport;break;default:return this.viewport?this.viewport:null}return n},getPosition:function(){if(this.type){var n=this.getBounds();return n?n.getCenter():new google.maps.LatLng(0,0)}return this.overlay.getPosition()},click:function(){google.maps.event.trigger(this.overlay,"click")}};+function(){mapp.load=function(){if(typeof mapp!="undefined"&&mapp.data)while(mapp.data.length){var n=mapp.data.pop(),t=new mapp.Map(n);window[n.name]=t;t.display()}}}(jQuery);typeof mapp.Media!="undefined"?window.mappEditor=new mapp.Media:mapp.load()
languages/mappress-google-maps-for-wordpress-de_DE_formal.mo ADDED
Binary file
languages/mappress-google-maps-for-wordpress-de_DE_formal.po ADDED
@@ -0,0 +1,950 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: MapPress v2.8 Google Maps for WordPress\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-01-15 14:26+0100\n"
6
+ "PO-Revision-Date: 2013-01-15 17:52+0100\n"
7
+ "Last-Translator: Michael Busch <busch@seo-traffic-guide.de>\n"
8
+ "Language-Team: dewib <dewib@gmx.de>\n"
9
+ "Language: de_DE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-SearchPath-0: ../../mappress-google-maps-for-wordpress\n"
17
+
18
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:118
19
+ msgid "Version"
20
+ msgstr "Version"
21
+
22
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:126
23
+ msgid "Documentation"
24
+ msgstr "Dokumentation"
25
+
26
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:127
27
+ msgid "Support"
28
+ msgstr "Support"
29
+
30
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:128
31
+ msgid "Contact"
32
+ msgstr "Kontakt"
33
+
34
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:131
35
+ msgid "Upgrade to MapPress Pro"
36
+ msgstr "Upgrade auf MapPress Pro"
37
+
38
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:326
39
+ msgid ""
40
+ "MapPress database tables are missing. Please deactivate the plugin and "
41
+ "activate it again to fix this."
42
+ msgstr ""
43
+ "MapPress Datenbanktabellen fehlen. Bitte Plugin deaktivieren und erneut "
44
+ "aktivieren zur Fehlerbehebung."
45
+
46
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:331
47
+ msgid ""
48
+ "WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade "
49
+ "before using MapPress."
50
+ msgstr ""
51
+ "ACHTUNG: MapPress benötigt WordPress 3.2 oder höher. Bitte aktualisieren!"
52
+
53
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:336
54
+ msgid ""
55
+ "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please "
56
+ "deactivate or uninstall WP-Geo before using MapPress."
57
+ msgstr ""
58
+ "WARNUNG: MapPress ist nicht kompatibel mit dem WP-Geo Plugin. Vor der "
59
+ "Nutzung von MapPress bitte WP-Geo deaktivieren oder entfernen."
60
+
61
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:529
62
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:6
63
+ msgid "Bicycling"
64
+ msgstr "per Fahrrad"
65
+
66
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:530
67
+ msgid "Bike"
68
+ msgstr "Fahrrad"
69
+
70
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:531
71
+ msgid "One of the addresses could not be found."
72
+ msgstr "Die Start- oder Zieladresse fehlt."
73
+
74
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:532
75
+ msgid ""
76
+ "Google cannot return directions between those addresses. There is no route "
77
+ "between them or the routing information is not available."
78
+ msgstr ""
79
+ "Google kann zu diesen Adressen keine Wegbeschreibung liefern. Es gibt keine "
80
+ "Route zwischen ihnen oder es fehlen Routeninfos dazu."
81
+
82
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:533
83
+ msgid "Unknown error, unable to return directions. Status code = "
84
+ msgstr "Unbekannter Fehler. Wegbeschreibung nicht möglich. Status Code = "
85
+
86
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:534
87
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:282
88
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:130
89
+ msgid "Directions"
90
+ msgstr "Wegbeschreibung"
91
+
92
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:535
93
+ msgid "Error reading KML file"
94
+ msgstr "Fehler beim Lesen der KML Datei"
95
+
96
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:536
97
+ msgid "Loading..."
98
+ msgstr "Lade…"
99
+
100
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:537
101
+ msgid "No matching address"
102
+ msgstr "Keine passende Adresse"
103
+
104
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:538
105
+ msgid "Unable to get your location"
106
+ msgstr "Standortbestimmung nicht möglich"
107
+
108
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:539
109
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:323
110
+ msgid "Traffic"
111
+ msgstr "Verkehr"
112
+
113
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:540
114
+ msgid "Transit"
115
+ msgstr "Transit"
116
+
117
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:541
118
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:331
119
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:318
120
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:457
121
+ msgid "Zoom"
122
+ msgstr "Zoom"
123
+
124
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:546
125
+ msgid "Add"
126
+ msgstr "hinzufügen"
127
+
128
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:547
129
+ msgid "Click & drag to move"
130
+ msgstr "Klicken & Ziehen um Marker zu bewegen"
131
+
132
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:548
133
+ msgid "Click to change"
134
+ msgstr "Klicken um zu ändern"
135
+
136
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:549
137
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:428
138
+ msgid "Delete"
139
+ msgstr "Löschen"
140
+
141
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:550
142
+ msgid "Delete this POI?"
143
+ msgstr "Diesen Marker löschen?"
144
+
145
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:551
146
+ msgid "Delete this map?"
147
+ msgstr "Diese Karte löschen?"
148
+
149
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:552
150
+ msgid "Please save the map first"
151
+ msgstr "Bitte speichern Sie die Karte zuerst"
152
+
153
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:553
154
+ msgid "Shape"
155
+ msgstr "Umriss"
156
+
157
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:554
158
+ msgid "Untitled"
159
+ msgstr "Unbenannt"
160
+
161
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:107
162
+ msgid "Map not found"
163
+ msgstr "Karte nicht gefunden"
164
+
165
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:196
166
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:202
167
+ msgid "Internal error, your data has not been saved!"
168
+ msgstr ""
169
+ "Interner Fehler: Karte wurde nicht gefunden. Daten wurden nicht gespeichert! "
170
+
171
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:427
172
+ msgid "Edit"
173
+ msgstr "Bearbeiten"
174
+
175
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:467
176
+ msgid "Show map"
177
+ msgstr "Karte zeigen"
178
+
179
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:479
180
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:449
181
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor.php:5
182
+ msgid "Center map"
183
+ msgstr "Karte zentrieren"
184
+
185
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:488
186
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:450
187
+ msgid "Reset map"
188
+ msgstr "Karte zurücksetzen"
189
+
190
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:497
191
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:448
192
+ msgid "Bigger map"
193
+ msgstr "Größere Karte"
194
+
195
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:498
196
+ msgid "Smaller map"
197
+ msgstr "kleinere Karte"
198
+
199
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:247
200
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:458
201
+ msgid "Directions to"
202
+ msgstr "Wegbeschreibung hierher"
203
+
204
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:249
205
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:459
206
+ msgid "Directions from"
207
+ msgstr "Wegbeschreibung von hier"
208
+
209
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:127
210
+ msgid "Basic Settings"
211
+ msgstr "Einstellungen"
212
+
213
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:128
214
+ msgid "Post types"
215
+ msgstr "Beitragsarten"
216
+
217
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:129
218
+ msgid "Automatic map display"
219
+ msgstr "automatische Kartendarstellung"
220
+
221
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:132
222
+ msgid "Map Controls"
223
+ msgstr "Kartenkontrollelemente"
224
+
225
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:133
226
+ msgid "Draggable"
227
+ msgstr "Draggable"
228
+
229
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:134
230
+ msgid "Keyboard shortcuts"
231
+ msgstr "Tastaturkürzel"
232
+
233
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:135
234
+ msgid "Scroll wheel zoom"
235
+ msgstr "Zoom per Scrollrad"
236
+
237
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:136
238
+ msgid "Map Types"
239
+ msgstr "Kartentypen"
240
+
241
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:137
242
+ msgid "Map controls"
243
+ msgstr "Kartenkontrollelemente"
244
+
245
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:139
246
+ msgid "Map Settings"
247
+ msgstr "Einstellungen"
248
+
249
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:140
250
+ msgid "Map links"
251
+ msgstr "Kartenlinks"
252
+
253
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:141
254
+ msgid "Map alignment"
255
+ msgstr "Kartenausrichtung"
256
+
257
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:142
258
+ msgid "Map border"
259
+ msgstr "Kartenrand"
260
+
261
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:143
262
+ msgid "Map border color"
263
+ msgstr "Farbe Kartenrand"
264
+
265
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:144
266
+ msgid "Open first POI"
267
+ msgstr "Ersten Marker anzeigen"
268
+
269
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:146
270
+ msgid "POI Settings"
271
+ msgstr "Marker-Einstellungen"
272
+
273
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:147
274
+ msgid "POI links"
275
+ msgstr "POI links"
276
+
277
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:148
278
+ msgid "Tooltips"
279
+ msgstr "Tooltips"
280
+
281
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:149
282
+ msgid "Default zoom"
283
+ msgstr "Standard-Zoom"
284
+
285
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:152
286
+ msgid "Mashups"
287
+ msgstr "Mashups"
288
+
289
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:153
290
+ msgid "Icons"
291
+ msgstr "Meine Ions"
292
+
293
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:154
294
+ msgid "Styled Maps"
295
+ msgstr "Karte mit CSS"
296
+
297
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:155
298
+ msgid "Geocoding"
299
+ msgstr "Geocoding"
300
+
301
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:158
302
+ msgid "Localization"
303
+ msgstr "Übersetzung"
304
+
305
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:159
306
+ msgid "Language"
307
+ msgstr "Sprache"
308
+
309
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:160
310
+ msgid "Country"
311
+ msgstr "Land"
312
+
313
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:161
314
+ msgid "Directions server"
315
+ msgstr "Server für Wegbeschreibung"
316
+
317
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:162
318
+ msgid "Directions units"
319
+ msgstr "Einheiten für Wegbeschreibung"
320
+
321
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:164
322
+ msgid "Miscellaneous"
323
+ msgstr "Verschiedenes"
324
+
325
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:166
326
+ msgid "Adaptive display"
327
+ msgstr "Adaptive Kartendarstellung"
328
+
329
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:167
330
+ msgid "Turn off CSS"
331
+ msgstr "CSS ausschalten"
332
+
333
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:168
334
+ msgid "Load maps last"
335
+ msgstr "Karten zuletzt laden"
336
+
337
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:223
338
+ msgid "Use the settings below to automatically create maps from custom fields."
339
+ msgstr "Automatisch Karten aus benutzerdefinierten Feldern erzeugen"
340
+
341
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:229
342
+ #, fuzzy
343
+ msgid "Posts"
344
+ msgstr "Beitragsarten"
345
+
346
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:230
347
+ msgid "Pages"
348
+ msgstr "Seiten"
349
+
350
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:242
351
+ msgid "country code"
352
+ msgstr "Ländercode"
353
+
354
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:244
355
+ #, php-format
356
+ msgid "Enter a %s to use when searching (leave blank for USA)"
357
+ msgstr "%s angeben für die Suche (leer lassen für USA / .com)"
358
+
359
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:251
360
+ msgid "Enter a google server URL for directions/printing"
361
+ msgstr "Geben Sie eine Google Server URL für Wegbschreibungen/Drucken an"
362
+
363
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:256
364
+ #, fuzzy
365
+ msgid "(Default)"
366
+ msgstr "Standard"
367
+
368
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:256
369
+ msgid "Metric (kilometers)"
370
+ msgstr "Metrisch (Kilometer)"
371
+
372
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:256
373
+ msgid "Imperial (miles)"
374
+ msgstr "Imperial (Meilen)"
375
+
376
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:261
377
+ #, fuzzy
378
+ msgid "Enable map dragging with the mouse"
379
+ msgstr "Zoom per Scrollrad der Maus aktivieren"
380
+
381
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:265
382
+ msgid "Enable zoom with the mouse scroll wheel"
383
+ msgstr "Zoom per Scrollrad der Maus aktivieren"
384
+
385
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:269
386
+ msgid "Enable keyboard panning and zooming"
387
+ msgstr "Zoom und Ziehen per Tastatur aktivieren"
388
+
389
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:275
390
+ msgid "language"
391
+ msgstr "Sprache"
392
+
393
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:277
394
+ #, fuzzy, php-format
395
+ msgid "Use a specific %s for map controls and geocoding"
396
+ msgstr ""
397
+ "Bestimmte %s für Kartensteuerelemente verwenden (Standard: Browsersprache)"
398
+
399
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:285
400
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:291
401
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:386
402
+ msgid "Default"
403
+ msgstr "Standard"
404
+
405
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:286
406
+ msgid "Horizontal"
407
+ msgstr "Horizontal"
408
+
409
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:287
410
+ msgid "Dropdown"
411
+ msgstr "Dropdown"
412
+
413
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:292
414
+ msgid "Small"
415
+ msgstr "klein"
416
+
417
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:293
418
+ msgid "Large"
419
+ msgstr "groß"
420
+
421
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:294
422
+ msgid "Android"
423
+ msgstr "Android"
424
+
425
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:305
426
+ msgid "Open initially"
427
+ msgstr "Beim Laden öffnen"
428
+
429
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:307
430
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:309
431
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:311
432
+ msgid "Checked initially"
433
+ msgstr "Beim Laden angehakt"
434
+
435
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:313
436
+ msgid "Control"
437
+ msgstr "Kontrollelement"
438
+
439
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:313
440
+ msgid "Enable"
441
+ msgstr "Freischalten"
442
+
443
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:313
444
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:411
445
+ msgid "Style"
446
+ msgstr "Stil"
447
+
448
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:316
449
+ msgid "Map types"
450
+ msgstr "Kartentypen"
451
+
452
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:317
453
+ msgid "Pan"
454
+ msgstr "Schwenken"
455
+
456
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:319
457
+ #, fuzzy
458
+ msgid "Street view"
459
+ msgstr "Street View"
460
+
461
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:320
462
+ msgid "Scale"
463
+ msgstr "Skalieren"
464
+
465
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:321
466
+ msgid "Overview map"
467
+ msgstr "Übersichtskarte"
468
+
469
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:322
470
+ msgid "Public transit"
471
+ msgstr "Öffentlicher Nachverkehr"
472
+
473
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:324
474
+ msgid "Bike routes"
475
+ msgstr "Fahrradrouten"
476
+
477
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:331
478
+ msgid "Road map"
479
+ msgstr "Straßenkarte"
480
+
481
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:332
482
+ msgid "Satellite"
483
+ msgstr "Satellit"
484
+
485
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:333
486
+ msgid "Terrain"
487
+ msgstr "Terrain"
488
+
489
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:334
490
+ msgid "Hybrid"
491
+ msgstr "Hybrid"
492
+
493
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:347
494
+ msgid "Inline (in your blog)"
495
+ msgstr "Inline (im Blog)"
496
+
497
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:348
498
+ msgid "Google"
499
+ msgstr "Google"
500
+
501
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:349
502
+ msgid "None"
503
+ msgstr "keine"
504
+
505
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:356
506
+ #, fuzzy
507
+ msgid "Automatically open the first POI when a map is displayed"
508
+ msgstr "Ersten Marker sofort beim Laden der Karte anzeigen"
509
+
510
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:361
511
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:370
512
+ msgid "Show control"
513
+ msgstr "Kontrollelemente zeigen"
514
+
515
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:365
516
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:374
517
+ msgid "Enabled by default"
518
+ msgstr "Standardmässig freischalten"
519
+
520
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:379
521
+ #, fuzzy
522
+ msgid "Show POI titles as a \"tooltip\" on mouse-over"
523
+ msgstr "Zeige Marker-Titel als \"Tooltip\" bei Mouse-Over"
524
+
525
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:387
526
+ msgid "Center"
527
+ msgstr "Zentriert"
528
+
529
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:388
530
+ msgid "Left"
531
+ msgstr "Linksbündig"
532
+
533
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:389
534
+ msgid "Right"
535
+ msgstr "Rechtsbündig"
536
+
537
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:401
538
+ msgid "solid"
539
+ msgstr "durchgehend"
540
+
541
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:402
542
+ msgid "dashed"
543
+ msgstr "gestrichelt"
544
+
545
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:403
546
+ msgid "dotted"
547
+ msgstr "gepunktet"
548
+
549
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:404
550
+ msgid "double"
551
+ msgstr "doppelt"
552
+
553
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:405
554
+ msgid "groove"
555
+ msgstr "3D-Effekt (groove)"
556
+
557
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:406
558
+ msgid "inset"
559
+ msgstr "3D-Effekt (inset)"
560
+
561
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:407
562
+ msgid "outset"
563
+ msgstr "3D-Effekt (outset)"
564
+
565
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:419
566
+ msgid "Width"
567
+ msgstr "Breite"
568
+
569
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:425
570
+ msgid "Corner radius"
571
+ msgstr "Eckenradius"
572
+
573
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:433
574
+ msgid "Color"
575
+ msgstr "Farbe"
576
+
577
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:443
578
+ msgid "Display shadow"
579
+ msgstr "Schatten anzeigen"
580
+
581
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:467
582
+ msgid "Default zoom for POIs entered by lat/lng"
583
+ msgstr "Standardzoom für POIs mit Länge/Breite eingegeben"
584
+
585
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:473
586
+ msgid "Top of post"
587
+ msgstr "Über dem Beitrag"
588
+
589
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:474
590
+ msgid "Bottom of post"
591
+ msgstr "Unter dem Beitrag"
592
+
593
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:475
594
+ msgid "No automatic display"
595
+ msgstr "Keine automatische Anzeige"
596
+
597
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:482
598
+ msgid "Use tinyMCE"
599
+ msgstr "TinyMCE benutzen"
600
+
601
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:487
602
+ msgid "Recenter maps when window is resized"
603
+ msgstr "Karte neu zentrieren wenn die Fenstergröße verändert wird"
604
+
605
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:491
606
+ #, php-format
607
+ msgid "Don't load the %s stylesheet"
608
+ msgstr "Das %s Stylesheet nicht laden"
609
+
610
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:495
611
+ msgid "Load maps in window 'load' event"
612
+ msgstr "Karte im Fenster \"Load-Event\" laden"
613
+
614
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:503
615
+ msgid "Rate it 5 Stars"
616
+ msgstr "Mit 5 Sternen bewerten"
617
+
618
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:505
619
+ #, php-format
620
+ msgid "%s on WordPress.org"
621
+ msgstr "%s auf WordPress.org"
622
+
623
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:506
624
+ msgid "Thanks for your support!"
625
+ msgstr "Funke für Ihre Unterstützung!"
626
+
627
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:533
628
+ #, fuzzy
629
+ msgid "MapPress"
630
+ msgstr "MapPress Link"
631
+
632
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:534
633
+ msgid "Easy Google Maps"
634
+ msgstr "Easy Google Maps"
635
+
636
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:583
637
+ msgid "Like this plugin?"
638
+ msgstr "Mögen Sie dieses Plugin?"
639
+
640
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:585
641
+ msgid "Sample Map"
642
+ msgstr "Beispielskarte"
643
+
644
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:604
645
+ msgid "Save Changes"
646
+ msgstr "Änderungen speichern"
647
+
648
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:605
649
+ msgid "Reset Defaults"
650
+ msgstr "Standard wiederherstellen"
651
+
652
+ #: ../../mappress-google-maps-for-wordpress/mappress_updater.php:19
653
+ #, fuzzy
654
+ msgid "Settings"
655
+ msgstr "Einstellungen"
656
+
657
+ #: ../../mappress-google-maps-for-wordpress/mappress_updater.php:45
658
+ msgid "download it now"
659
+ msgstr "jetzt herunterladen"
660
+
661
+ #: ../../mappress-google-maps-for-wordpress/mappress_updater.php:50
662
+ #, php-format
663
+ msgid "A PRO Version update is available for manual installation: %s"
664
+ msgstr "Ein PRO-Versionsupdate is zur händischen Installation verfügbar: %s"
665
+
666
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor.php:4
667
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:11
668
+ #, fuzzy
669
+ msgid "My location"
670
+ msgstr "Ort"
671
+
672
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor.php:14
673
+ msgid "Click map for lat/lng: "
674
+ msgstr "Auf die Karte klicken um Länge/Breite zu erhalten:"
675
+
676
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:22
677
+ msgid "Line: "
678
+ msgstr "Linie:"
679
+
680
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:24
681
+ #, fuzzy
682
+ msgid "Weight"
683
+ msgstr "Rechtsbündig"
684
+
685
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:25
686
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:31
687
+ msgid "Opacity"
688
+ msgstr "Durchsichtigkeit"
689
+
690
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:29
691
+ msgid "Fill: "
692
+ msgstr "Füllung:"
693
+
694
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:41
695
+ msgid "Visual"
696
+ msgstr "Visuell"
697
+
698
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:41
699
+ msgid "HTML"
700
+ msgstr "HTML"
701
+
702
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:47
703
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:37
704
+ msgid "Save"
705
+ msgstr "speichern"
706
+
707
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:48
708
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:38
709
+ msgid "Cancel"
710
+ msgstr "Abbrechen"
711
+
712
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:9
713
+ #, fuzzy
714
+ msgid "Maps for This Post"
715
+ msgstr "Karten in diesem Beitrag"
716
+
717
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:10
718
+ msgid "New Map"
719
+ msgstr "Neue Karte"
720
+
721
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:18
722
+ msgid "Map ID"
723
+ msgstr "Karten ID"
724
+
725
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:24
726
+ msgid "Size"
727
+ msgstr "Größe"
728
+
729
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:31
730
+ msgid "Insert into post"
731
+ msgstr "in Beitrag einfügen"
732
+
733
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:35
734
+ #, fuzzy
735
+ msgid "Map Title"
736
+ msgstr "Titel"
737
+
738
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:3
739
+ msgid "By car"
740
+ msgstr "mit dem KFZ"
741
+
742
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:4
743
+ msgid "Public Transit"
744
+ msgstr "Öffentliche Verkehrsmittel"
745
+
746
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:5
747
+ msgid "Walking"
748
+ msgstr "zu Fuß"
749
+
750
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:16
751
+ msgid "Swap start and end"
752
+ msgstr "Start/Ziel tauschen"
753
+
754
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:29
755
+ msgid "Get Directions"
756
+ msgstr "Routenplanung starten"
757
+
758
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:30
759
+ msgid "Print"
760
+ msgstr "Drucken"
761
+
762
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:31
763
+ msgid "Close"
764
+ msgstr "schließen"
765
+
766
+ #: ../../mappress-google-maps-for-wordpress/templates/map_poi_list.php:5
767
+ msgid "Location"
768
+ msgstr "Ort"
769
+
770
+ #~ msgid "Internal error - unable to save map. Your data has not been saved!"
771
+ #~ msgstr ""
772
+ #~ "Interner Fehler: Karte konnte nicht gesichert werden. Daten wurden nicht "
773
+ #~ "gespeichert!"
774
+
775
+ #~ msgid "Marker list"
776
+ #~ msgstr "Marker Liste"
777
+
778
+ #~ msgid "Show traffic button"
779
+ #~ msgstr "Verkehrsinfo-Button anzeigen"
780
+
781
+ #~ msgid "Marker list template"
782
+ #~ msgstr "Marker Listen Vorlage"
783
+
784
+ #~ msgid "Custom Fields"
785
+ #~ msgstr "Benutzerdefinierte Felder"
786
+
787
+ #~ msgid "Custom fields"
788
+ #~ msgstr "Benutzerdefinierte Felder"
789
+
790
+ #~ msgid "Custom CSS"
791
+ #~ msgstr "eigenes CSS"
792
+
793
+ #~ msgid "Force resize"
794
+ #~ msgstr "Größenänderung erzwingen"
795
+
796
+ #~ msgid ""
797
+ #~ "Allow your readers to change the map type (street, satellite, or hybrid)"
798
+ #~ msgstr ""
799
+ #~ "Betrachtern erlauben den Kartentyp zu ändern (Karte, Satellit, Hybrid)"
800
+
801
+ #~ msgid "Display the street view control \"peg man\""
802
+ #~ msgstr "Street View Button \"Peg Man\" anzeigen"
803
+
804
+ #~ msgid ""
805
+ #~ "Select 'Google' if directions aren't displaying properly in your theme"
806
+ #~ msgstr ""
807
+ #~ "Wähle 'Google' wenn die Wegbeschreibung im Theme nicht korrekt "
808
+ #~ "dargestellt wird"
809
+
810
+ #~ msgid "This setting requires %s."
811
+ #~ msgstr "Diese Einstellung benötigt %s."
812
+
813
+ #~ msgid "Show a list of markers under each map"
814
+ #~ msgstr "Zeige eine Liste aller Marker unter jeder Karte."
815
+
816
+ #~ msgid "Show a button for real-time traffic conditions"
817
+ #~ msgstr "Button für Echtzeit-Verkehrsinformationen anzeigen"
818
+
819
+ #~ msgid "post types"
820
+ #~ msgstr "Beitragstypen"
821
+
822
+ #~ msgid "Mark the %s where you want to use MapPress"
823
+ #~ msgstr "%s auswählen, in denen MapPress verwendet werden soll"
824
+
825
+ #~ msgid "post"
826
+ #~ msgstr "Artikel"
827
+
828
+ #~ msgid "page"
829
+ #~ msgstr "Seite"
830
+
831
+ #~ msgid "Click to permanently resize ALL existing maps"
832
+ #~ msgstr "Klicken um die Größe ALLER Karten dauerhaft zu ändern"
833
+
834
+ #~ msgid "Force Resize"
835
+ #~ msgstr "Größenänderung erzwingen"
836
+
837
+ #~ msgid "Enter the URL for your CSS file"
838
+ #~ msgstr "URL der CSS Datei eingeben"
839
+
840
+ #~ msgid "Set a template for the marker list"
841
+ #~ msgstr "Marker Listen Vorlage"
842
+
843
+ #~ msgid "Toggle the 'powered by' message"
844
+ #~ msgstr "Die 'powered by' Nachricht unterdrücken"
845
+
846
+ #~ msgid "Report a bug"
847
+ #~ msgstr "Fehler berichten"
848
+
849
+ #~ msgid "No geocoding response from Google: %s"
850
+ #~ msgstr "Keine Geocoding Antwort von Google: %s"
851
+
852
+ #~ msgid "Google cannot geocode address: %s, status: %s"
853
+ #~ msgstr "Google kann die Adresse nicht geocodieren: %s, status: %s"
854
+
855
+ #~ msgid "No geocoding result for address: %s"
856
+ #~ msgstr "Kein Geocoding Ergebnis für die Adresse: %s"
857
+
858
+ #~ msgid "Start"
859
+ #~ msgstr "Start"
860
+
861
+ #~ msgid "End"
862
+ #~ msgstr "Ziel"
863
+
864
+ #~ msgid "Print Directions"
865
+ #~ msgstr "Wegbeschreibung drucken"
866
+
867
+ #~ msgid "FAQ"
868
+ #~ msgstr "FAQ"
869
+
870
+ #~ msgid "Toggle lat/lng entry"
871
+ #~ msgstr "Länge/Breite umschalten"
872
+
873
+ #~ msgid "Lat/Lng"
874
+ #~ msgstr "Länge/Breite"
875
+
876
+ #~ msgid "Current Maps"
877
+ #~ msgstr "Aktuelle Karten"
878
+
879
+ #~ msgid "Medium"
880
+ #~ msgstr "medium"
881
+
882
+ #~ msgid "There are no maps yet for this post"
883
+ #~ msgstr "Es gibt noch keine Karten für diesen Beitrag"
884
+
885
+ #~ msgid "Create a new map"
886
+ #~ msgstr "Neue Karte erstellen"
887
+
888
+ #~ msgid "Enter address"
889
+ #~ msgstr "Adresse eingeben"
890
+
891
+ #~ msgid "Did you mean: "
892
+ #~ msgstr "Meinten Sie: "
893
+
894
+ #~ msgid "View"
895
+ #~ msgstr "Anzeigen"
896
+
897
+ #~ msgid "Back"
898
+ #~ msgstr "zurück"
899
+
900
+ #~ msgid "Delete this map marker?"
901
+ #~ msgstr "Diesen Karten-Marker löschen?"
902
+
903
+ #~ msgid "Map saved"
904
+ #~ msgstr "Karte gespeichert"
905
+
906
+ #~ msgid "Map deleted"
907
+ #~ msgstr "Karte gelöscht"
908
+
909
+ #~ msgid "Error: AJAX failed! "
910
+ #~ msgstr "AJAX-Fehler!"
911
+
912
+ #~ msgid "Standard icons"
913
+ #~ msgstr "Standard Icons"
914
+
915
+ #~ msgid "Widget title"
916
+ #~ msgstr "Titel"
917
+
918
+ #~ msgid "Show a list of markers under each map."
919
+ #~ msgstr "Zeige eine Liste aller Marker unter jeder Karte."
920
+
921
+ #, fuzzy
922
+ #~ msgid "show a list of markers under each map."
923
+ #~ msgstr "Zeige eine Liste aller Marker unter jeder Karte."
924
+
925
+ #~ msgid "This setting requires %s. Show a list of markers under each map."
926
+ #~ msgstr ""
927
+ #~ "Diese Einstellung benötigt %s. Zeige eine Liste aller Marker unter jeder "
928
+ #~ "Karte."
929
+
930
+ #, fuzzy
931
+ #~ msgid "Marker title:"
932
+ #~ msgstr "Marker Liste"
933
+
934
+ #, fuzzy
935
+ #~ msgid "Marker body:"
936
+ #~ msgstr "Marker Liste"
937
+
938
+ #, fuzzy
939
+ #~ msgid "Directions:"
940
+ #~ msgstr "Wegbeschreibung"
941
+
942
+ #, fuzzy
943
+ #~ msgid "Marker list:"
944
+ #~ msgstr "Marker Liste"
945
+
946
+ #~ msgid "Donate"
947
+ #~ msgstr "Spenden"
948
+
949
+ #~ msgid "Please make a donation today!"
950
+ #~ msgstr "Bitte spende heute!"
languages/mappress-google-maps-for-wordpress.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the MapPress Easy Google Maps package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: MapPress Easy Google Maps 2.43.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
- "POT-Creation-Date: 2016-06-27 23:10:21+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -20,7 +20,7 @@ msgstr ""
20
  msgid "My location"
21
  msgstr ""
22
 
23
- #: forms/map_editor.php:25 mappress_map.php:520 mappress_settings.php:398
24
  msgid "Center map"
25
  msgstr ""
26
 
@@ -81,133 +81,137 @@ msgstr ""
81
  msgid "Size"
82
  msgstr ""
83
 
84
- #: forms/map_media.php:48 mappress_map.php:482
85
  msgid "Insert into post"
86
  msgstr ""
87
 
88
- #: mappress.php:118
89
  msgid "Version"
90
  msgstr ""
91
 
92
- #: mappress.php:126
93
  msgid "Documentation"
94
  msgstr ""
95
 
96
- #: mappress.php:127
97
  msgid "Support"
98
  msgstr ""
99
 
100
- #: mappress.php:130
101
  msgid "Upgrade to MapPress Pro"
102
  msgstr ""
103
 
104
- #: mappress.php:336
105
  msgid "MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this."
106
  msgstr ""
107
 
108
- #: mappress.php:341
109
  msgid "WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade before using MapPress."
110
  msgstr ""
111
 
112
- #: mappress.php:346
113
  msgid "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
114
  msgstr ""
115
 
116
- #: mappress.php:356
117
- msgid "API Key"
118
  msgstr ""
119
 
120
- #: mappress.php:357
 
 
 
 
121
  msgid "MapPress Settings"
122
  msgstr ""
123
 
124
- #: mappress.php:527 templates/map_directions.php:6
125
  msgid "Bicycling"
126
  msgstr ""
127
 
128
- #: mappress.php:528
129
  msgid "Bike"
130
  msgstr ""
131
 
132
- #: mappress.php:529
133
  msgid "One of the addresses could not be found."
134
  msgstr ""
135
 
136
- #: mappress.php:530
137
  msgid "Google cannot return directions between those addresses. There is no route between them or the routing information is not available."
138
  msgstr ""
139
 
140
- #: mappress.php:531
141
  msgid "Unknown error, unable to return directions. Status code = "
142
  msgstr ""
143
 
144
- #: mappress.php:532 mappress_poi.php:232 mappress_settings.php:134
145
  #: pro/mappress_widget.php:106
146
  msgid "Directions"
147
  msgstr ""
148
 
149
- #: mappress.php:533
150
  msgid "Error reading KML file"
151
  msgstr ""
152
 
153
- #: mappress.php:534
154
  msgid "Loading..."
155
  msgstr ""
156
 
157
- #: mappress.php:535
158
  msgid "No matching address"
159
  msgstr ""
160
 
161
- #: mappress.php:536
162
  msgid "Unable to get your location"
163
  msgstr ""
164
 
165
- #: mappress.php:537 mappress_settings.php:323
166
  msgid "Traffic"
167
  msgstr ""
168
 
169
- #: mappress.php:538
170
  msgid "Transit"
171
  msgstr ""
172
 
173
- #: mappress.php:539 mappress_poi.php:281 mappress_settings.php:318
174
- #: mappress_settings.php:406 pro/mappress_widget.php:122
175
  msgid "Zoom"
176
  msgstr ""
177
 
178
- #: mappress.php:544 mappress_controls.php:156
179
  msgid "Add"
180
  msgstr ""
181
 
182
- #: mappress.php:545
183
  msgid "Click & drag to move"
184
  msgstr ""
185
 
186
- #: mappress.php:546
187
  msgid "Click to change"
188
  msgstr ""
189
 
190
- #: mappress.php:547 mappress_controls.php:141 mappress_map.php:483
191
  msgid "Delete"
192
  msgstr ""
193
 
194
- #: mappress.php:548
195
  msgid "Delete this POI?"
196
  msgstr ""
197
 
198
- #: mappress.php:549
199
  msgid "Delete this map?"
200
  msgstr ""
201
 
202
- #: mappress.php:550
203
  msgid "Please save the map first"
204
  msgstr ""
205
 
206
- #: mappress.php:551
207
  msgid "Shape"
208
  msgstr ""
209
 
210
- #: mappress.php:552
211
  msgid "Untitled"
212
  msgstr ""
213
 
@@ -219,31 +223,31 @@ msgstr ""
219
  msgid "Map not found"
220
  msgstr ""
221
 
222
- #: mappress_map.php:481
223
  msgid "Edit"
224
  msgstr ""
225
 
226
- #: mappress_map.php:508
227
  msgid "Show map"
228
  msgstr ""
229
 
230
- #: mappress_map.php:529 mappress_settings.php:399
231
  msgid "Reset map"
232
  msgstr ""
233
 
234
- #: mappress_map.php:538 mappress_settings.php:397
235
  msgid "Bigger map"
236
  msgstr ""
237
 
238
- #: mappress_map.php:539
239
  msgid "Smaller map"
240
  msgstr ""
241
 
242
- #: mappress_poi.php:197 mappress_settings.php:407
243
  msgid "Directions to"
244
  msgstr ""
245
 
246
- #: mappress_poi.php:199 mappress_settings.php:408
247
  msgid "Directions from"
248
  msgstr ""
249
 
@@ -260,369 +264,373 @@ msgid "Automatic map display"
260
  msgstr ""
261
 
262
  #: mappress_settings.php:136
 
 
 
 
 
 
 
 
263
  msgid "Map Controls"
264
  msgstr ""
265
 
266
- #: mappress_settings.php:137
267
  msgid "Draggable"
268
  msgstr ""
269
 
270
- #: mappress_settings.php:138
271
  msgid "Keyboard shortcuts"
272
  msgstr ""
273
 
274
- #: mappress_settings.php:139
275
  msgid "Scroll wheel zoom"
276
  msgstr ""
277
 
278
- #: mappress_settings.php:140
279
  msgid "Map Types"
280
  msgstr ""
281
 
282
- #: mappress_settings.php:141
283
  msgid "Map controls"
284
  msgstr ""
285
 
286
- #: mappress_settings.php:143
287
  msgid "Map Settings"
288
  msgstr ""
289
 
290
- #: mappress_settings.php:144
291
  msgid "Map links"
292
  msgstr ""
293
 
294
- #: mappress_settings.php:145
295
  msgid "Map alignment"
296
  msgstr ""
297
 
298
- #: mappress_settings.php:146
299
  msgid "Open first POI"
300
  msgstr ""
301
 
302
- #: mappress_settings.php:148
303
  msgid "POI Settings"
304
  msgstr ""
305
 
306
- #: mappress_settings.php:149
307
  msgid "POI links"
308
  msgstr ""
309
 
310
- #: mappress_settings.php:150
311
  msgid "Tooltips"
312
  msgstr ""
313
 
314
- #: mappress_settings.php:151
315
  msgid "Default zoom"
316
  msgstr ""
317
 
318
- #: mappress_settings.php:154
319
  msgid "Mashups"
320
  msgstr ""
321
 
322
- #: mappress_settings.php:155
323
  msgid "Icons"
324
  msgstr ""
325
 
326
- #: mappress_settings.php:156
327
  msgid "Styled Maps"
328
  msgstr ""
329
 
330
- #: mappress_settings.php:157
331
  msgid "Geocoding"
332
  msgstr ""
333
 
334
- #: mappress_settings.php:160
335
  msgid "Localization"
336
  msgstr ""
337
 
338
- #: mappress_settings.php:161
339
  msgid "Language"
340
  msgstr ""
341
 
342
- #: mappress_settings.php:162
343
  msgid "Country"
344
  msgstr ""
345
 
346
- #: mappress_settings.php:163
347
  msgid "Directions server"
348
  msgstr ""
349
 
350
- #: mappress_settings.php:164
351
  msgid "Directions units"
352
  msgstr ""
353
 
354
- #: mappress_settings.php:166
355
  msgid "Miscellaneous"
356
  msgstr ""
357
 
358
- #: mappress_settings.php:167
359
- msgid "Google API key"
360
- msgstr ""
361
-
362
- #: mappress_settings.php:168
363
  msgid "Map sizes"
364
  msgstr ""
365
 
366
- #: mappress_settings.php:169
367
  msgid "Adaptive display"
368
  msgstr ""
369
 
370
- #: mappress_settings.php:170
371
  msgid "CSS"
372
  msgstr ""
373
 
374
- #: mappress_settings.php:220
375
  msgid "Use the settings below to automatically create maps from custom fields."
376
  msgstr ""
377
 
378
- #: mappress_settings.php:225
379
  msgid "Recenter maps when window is resized"
380
  msgstr ""
381
 
382
- #: mappress_settings.php:230
383
  msgid "more info"
384
  msgstr ""
385
 
386
- #: mappress_settings.php:231
387
- msgid "A Google Maps API key is required for public servers %s"
388
  msgstr ""
389
 
390
- #: mappress_settings.php:242
391
  msgid "country code"
392
  msgstr ""
393
 
394
- #: mappress_settings.php:244
395
  msgid "Enter a %s to use when searching (leave blank for USA)"
396
  msgstr ""
397
 
398
- #: mappress_settings.php:251
399
  msgid "Enter a google server URL for directions/printing"
400
  msgstr ""
401
 
402
- #: mappress_settings.php:256
403
  msgid "(Default)"
404
  msgstr ""
405
 
406
- #: mappress_settings.php:256
407
  msgid "Metric (kilometers)"
408
  msgstr ""
409
 
410
- #: mappress_settings.php:256
411
  msgid "Imperial (miles)"
412
  msgstr ""
413
 
414
- #: mappress_settings.php:261
415
  msgid "Enable map dragging with the mouse"
416
  msgstr ""
417
 
418
- #: mappress_settings.php:265
419
  msgid "Enable zoom with the mouse scroll wheel"
420
  msgstr ""
421
 
422
- #: mappress_settings.php:269
423
  msgid "Enable keyboard panning and zooming"
424
  msgstr ""
425
 
426
- #: mappress_settings.php:275
427
  msgid "language"
428
  msgstr ""
429
 
430
- #: mappress_settings.php:277
431
  msgid "Use a specific %s for map controls and geocoding"
432
  msgstr ""
433
 
434
- #: mappress_settings.php:285 mappress_settings.php:291
435
- #: mappress_settings.php:385 mappress_settings.php:435
436
  msgid "Default"
437
  msgstr ""
438
 
439
- #: mappress_settings.php:286
440
  msgid "Horizontal"
441
  msgstr ""
442
 
443
- #: mappress_settings.php:287
444
  msgid "Dropdown"
445
  msgstr ""
446
 
447
- #: mappress_settings.php:292
448
  msgid "Small"
449
  msgstr ""
450
 
451
- #: mappress_settings.php:293
452
  msgid "Large"
453
  msgstr ""
454
 
455
- #: mappress_settings.php:294
456
  msgid "Android"
457
  msgstr ""
458
 
459
- #: mappress_settings.php:305
460
  msgid "Open initially"
461
  msgstr ""
462
 
463
- #: mappress_settings.php:307 mappress_settings.php:309
464
- #: mappress_settings.php:311
465
  msgid "Checked initially"
466
  msgstr ""
467
 
468
- #: mappress_settings.php:313
469
  msgid "Control"
470
  msgstr ""
471
 
472
- #: mappress_settings.php:313
473
  msgid "Enable"
474
  msgstr ""
475
 
476
- #: mappress_settings.php:313
477
  msgid "Style"
478
  msgstr ""
479
 
480
- #: mappress_settings.php:316
481
  msgid "Map types"
482
  msgstr ""
483
 
484
- #: mappress_settings.php:317
485
  msgid "Pan"
486
  msgstr ""
487
 
488
- #: mappress_settings.php:319
489
  msgid "Street view"
490
  msgstr ""
491
 
492
- #: mappress_settings.php:320
493
  msgid "Scale"
494
  msgstr ""
495
 
496
- #: mappress_settings.php:321
497
  msgid "Overview map"
498
  msgstr ""
499
 
500
- #: mappress_settings.php:322
501
  msgid "Public transit"
502
  msgstr ""
503
 
504
- #: mappress_settings.php:324
505
  msgid "Bike routes"
506
  msgstr ""
507
 
508
- #: mappress_settings.php:331
509
  msgid "Road map"
510
  msgstr ""
511
 
512
- #: mappress_settings.php:332 pro/mappress_widget.php:140
513
  msgid "Satellite"
514
  msgstr ""
515
 
516
- #: mappress_settings.php:333 pro/mappress_widget.php:141
517
  msgid "Terrain"
518
  msgstr ""
519
 
520
- #: mappress_settings.php:334 pro/mappress_widget.php:139
521
  msgid "Hybrid"
522
  msgstr ""
523
 
524
- #: mappress_settings.php:347 pro/mappress_pro_settings.php:259
525
  #: pro/mappress_widget.php:108
526
  msgid "Google"
527
  msgstr ""
528
 
529
- #: mappress_settings.php:348 pro/mappress_widget.php:107
530
  msgid "Inline"
531
  msgstr ""
532
 
533
- #: mappress_settings.php:349 pro/mappress_widget.php:109
534
  msgid "None"
535
  msgstr ""
536
 
537
- #: mappress_settings.php:356
538
  msgid "Automatically open the first POI when a map is displayed"
539
  msgstr ""
540
 
541
- #: mappress_settings.php:361 mappress_settings.php:370
542
  msgid "Show control"
543
  msgstr ""
544
 
545
- #: mappress_settings.php:365 mappress_settings.php:374
546
  msgid "Enabled by default"
547
  msgstr ""
548
 
549
- #: mappress_settings.php:378
550
  msgid "Show POI titles as a \"tooltip\" on mouse-over"
551
  msgstr ""
552
 
553
- #: mappress_settings.php:386 pro/mappress_widget.php:114
554
  msgid "Center"
555
  msgstr ""
556
 
557
- #: mappress_settings.php:387
558
  msgid "Left"
559
  msgstr ""
560
 
561
- #: mappress_settings.php:388
562
  msgid "Right"
563
  msgstr ""
564
 
565
- #: mappress_settings.php:416
566
  msgid "Default zoom for POIs entered by lat/lng"
567
  msgstr ""
568
 
569
- #: mappress_settings.php:422
570
  msgid "Top of post"
571
  msgstr ""
572
 
573
- #: mappress_settings.php:423
574
  msgid "Bottom of post"
575
  msgstr ""
576
 
577
- #: mappress_settings.php:424
578
  msgid "No automatic display"
579
  msgstr ""
580
 
581
- #: mappress_settings.php:431
582
  msgid "Load %s"
583
  msgstr ""
584
 
585
- #: mappress_settings.php:435
586
  msgid "Width"
587
  msgstr ""
588
 
589
- #: mappress_settings.php:435
590
  msgid "Height"
591
  msgstr ""
592
 
593
- #: mappress_settings.php:446
594
  msgid "Enter sizes in px or %"
595
  msgstr ""
596
 
597
- #: mappress_settings.php:456
598
  msgid "Rate it 5 Stars"
599
  msgstr ""
600
 
601
- #: mappress_settings.php:458
602
  msgid "%s on WordPress.org"
603
  msgstr ""
604
 
605
- #: mappress_settings.php:459
606
  msgid "Thanks for your support!"
607
  msgstr ""
608
 
609
- #: mappress_settings.php:487
610
  msgid "Easy Google Maps"
611
  msgstr ""
612
 
613
- #: mappress_settings.php:536
614
  msgid "Like this plugin?"
615
  msgstr ""
616
 
617
- #: mappress_settings.php:538
618
  msgid "Sample Map"
619
  msgstr ""
620
 
621
- #: mappress_settings.php:557
622
  msgid "Save Changes"
623
  msgstr ""
624
 
625
- #: mappress_settings.php:558
626
  msgid "Reset Defaults"
627
  msgstr ""
628
 
@@ -642,15 +650,19 @@ msgstr ""
642
  msgid "No results, check that a geocoder is configured"
643
  msgstr ""
644
 
645
- #: pro/mappress_geocoders.php:81
 
 
 
 
646
  msgid "Invalid status: %s, address: %s"
647
  msgstr ""
648
 
649
- #: pro/mappress_geocoders.php:90 pro/mappress_geocoders.php:155
650
  msgid "No results for address: %s"
651
  msgstr ""
652
 
653
- #: pro/mappress_geocoders.php:151
654
  msgid "Error: %s %s"
655
  msgstr ""
656
 
@@ -658,7 +670,7 @@ msgstr ""
658
  msgid "Use default icon"
659
  msgstr ""
660
 
661
- #: pro/mappress_pro.php:162
662
  msgid "Automatic"
663
  msgstr ""
664
 
@@ -730,171 +742,175 @@ msgstr ""
730
  msgid "Force resize"
731
  msgstr ""
732
 
733
- #: pro/mappress_pro_settings.php:131
 
 
 
 
734
  msgid "Post type"
735
  msgstr ""
736
 
737
- #: pro/mappress_pro_settings.php:148
738
  msgid "Key"
739
  msgstr ""
740
 
741
- #: pro/mappress_pro_settings.php:148
742
  msgid "Value"
743
  msgstr ""
744
 
745
- #: pro/mappress_pro_settings.php:148 pro/mappress_pro_settings.php:280
746
  msgid "Icon"
747
  msgstr ""
748
 
749
- #: pro/mappress_pro_settings.php:153
750
  msgid "Show a list of POIs under each map"
751
  msgstr ""
752
 
753
- #: pro/mappress_pro_settings.php:158
754
  msgid "Show the POI list as a sortable %s"
755
  msgstr ""
756
 
757
- #: pro/mappress_pro_settings.php:162
758
  msgid "POI title"
759
  msgstr ""
760
 
761
- #: pro/mappress_pro_settings.php:162
762
  msgid "Post title"
763
  msgstr ""
764
 
765
- #: pro/mappress_pro_settings.php:167
766
  msgid "POI body"
767
  msgstr ""
768
 
769
- #: pro/mappress_pro_settings.php:167
770
  msgid "Address"
771
  msgstr ""
772
 
773
- #: pro/mappress_pro_settings.php:167
774
  msgid "Post excerpt"
775
  msgstr ""
776
 
777
- #: pro/mappress_pro_settings.php:172
778
  msgid "Link POI titles to the underlying post"
779
  msgstr ""
780
 
781
- #: pro/mappress_pro_settings.php:176
782
  msgid "Open the POI"
783
  msgstr ""
784
 
785
- #: pro/mappress_pro_settings.php:176
786
  msgid "Go directly to the post"
787
  msgstr ""
788
 
789
- #: pro/mappress_pro_settings.php:191
790
  msgid "Google InfoWindow"
791
  msgstr ""
792
 
793
- #: pro/mappress_pro_settings.php:192
794
  msgid "InfoBox"
795
  msgstr ""
796
 
797
- #: pro/mappress_pro_settings.php:198
798
  msgid "Show featured image thumbnails in mashup POIs"
799
  msgstr ""
800
 
801
- #: pro/mappress_pro_settings.php:206
802
  msgid "Use existing size: "
803
  msgstr ""
804
 
805
- #: pro/mappress_pro_settings.php:209
806
  msgid "or resize to (px): "
807
  msgstr ""
808
 
809
- #: pro/mappress_pro_settings.php:223
810
  msgid "styled maps"
811
  msgstr ""
812
 
813
- #: pro/mappress_pro_settings.php:224
814
  msgid "styled maps wizard"
815
  msgstr ""
816
 
817
- #: pro/mappress_pro_settings.php:226
818
  msgid "Enter JSON for %s from Google's %s"
819
  msgstr ""
820
 
821
- #: pro/mappress_pro_settings.php:235
822
  msgid "Style name"
823
  msgstr ""
824
 
825
- #: pro/mappress_pro_settings.php:249
826
  msgid "No styles have been defined yet"
827
  msgstr ""
828
 
829
- #: pro/mappress_pro_settings.php:260
830
  msgid "Nominatim"
831
  msgstr ""
832
 
833
- #: pro/mappress_pro_settings.php:272
834
  msgid "Address Line 1"
835
  msgstr ""
836
 
837
- #: pro/mappress_pro_settings.php:273
838
  msgid "Address Line 2"
839
  msgstr ""
840
 
841
- #: pro/mappress_pro_settings.php:274
842
  msgid "Address Line 3"
843
  msgstr ""
844
 
845
- #: pro/mappress_pro_settings.php:275
846
  msgid "Address Line 4"
847
  msgstr ""
848
 
849
- #: pro/mappress_pro_settings.php:276
850
  msgid "Address Line 5"
851
  msgstr ""
852
 
853
- #: pro/mappress_pro_settings.php:277
854
  msgid "Address Line 6"
855
  msgstr ""
856
 
857
- #: pro/mappress_pro_settings.php:278
858
  msgid "Latitude"
859
  msgstr ""
860
 
861
- #: pro/mappress_pro_settings.php:279
862
  msgid "Longitude"
863
  msgstr ""
864
 
865
- #: pro/mappress_pro_settings.php:281
866
  msgid "Title"
867
  msgstr ""
868
 
869
- #: pro/mappress_pro_settings.php:282
870
  msgid "Body"
871
  msgstr ""
872
 
873
- #: pro/mappress_pro_settings.php:283
874
  msgid "Map Zoom"
875
  msgstr ""
876
 
877
- #: pro/mappress_pro_settings.php:286 pro/mappress_widget.php:138
878
  msgid "Map"
879
  msgstr ""
880
 
881
- #: pro/mappress_pro_settings.php:286
882
  msgid "Custom Field"
883
  msgstr ""
884
 
885
- #: pro/mappress_pro_settings.php:295
886
  msgid "Overwrite existing maps when updating"
887
  msgstr ""
888
 
889
- #: pro/mappress_pro_settings.php:303
890
  msgid "Permanently resize existing maps"
891
  msgstr ""
892
 
893
- #: pro/mappress_pro_settings.php:305
894
  msgid "from %s to %s"
895
  msgstr ""
896
 
897
- #: pro/mappress_pro_settings.php:306
898
  msgid "Force Resize"
899
  msgstr ""
900
 
2
  # This file is distributed under the same license as the MapPress Easy Google Maps package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: MapPress Easy Google Maps 2.43.9\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
+ "POT-Creation-Date: 2016-07-06 20:32:17+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
20
  msgid "My location"
21
  msgstr ""
22
 
23
+ #: forms/map_editor.php:25 mappress_map.php:523 mappress_settings.php:407
24
  msgid "Center map"
25
  msgstr ""
26
 
81
  msgid "Size"
82
  msgstr ""
83
 
84
+ #: forms/map_media.php:48 mappress_map.php:485
85
  msgid "Insert into post"
86
  msgstr ""
87
 
88
+ #: mappress.php:120
89
  msgid "Version"
90
  msgstr ""
91
 
92
+ #: mappress.php:128
93
  msgid "Documentation"
94
  msgstr ""
95
 
96
+ #: mappress.php:129
97
  msgid "Support"
98
  msgstr ""
99
 
100
+ #: mappress.php:132
101
  msgid "Upgrade to MapPress Pro"
102
  msgstr ""
103
 
104
+ #: mappress.php:338
105
  msgid "MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this."
106
  msgstr ""
107
 
108
+ #: mappress.php:343
109
  msgid "WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade before using MapPress."
110
  msgstr ""
111
 
112
+ #: mappress.php:348
113
  msgid "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
114
  msgstr ""
115
 
116
+ #: mappress.php:355
117
+ msgid "A Google Maps API key is required"
118
  msgstr ""
119
 
120
+ #: mappress.php:355
121
+ msgid "Please update your"
122
+ msgstr ""
123
+
124
+ #: mappress.php:355
125
  msgid "MapPress Settings"
126
  msgstr ""
127
 
128
+ #: mappress.php:522 templates/map_directions.php:6
129
  msgid "Bicycling"
130
  msgstr ""
131
 
132
+ #: mappress.php:523
133
  msgid "Bike"
134
  msgstr ""
135
 
136
+ #: mappress.php:524
137
  msgid "One of the addresses could not be found."
138
  msgstr ""
139
 
140
+ #: mappress.php:525
141
  msgid "Google cannot return directions between those addresses. There is no route between them or the routing information is not available."
142
  msgstr ""
143
 
144
+ #: mappress.php:526
145
  msgid "Unknown error, unable to return directions. Status code = "
146
  msgstr ""
147
 
148
+ #: mappress.php:527 mappress_poi.php:232 mappress_settings.php:134
149
  #: pro/mappress_widget.php:106
150
  msgid "Directions"
151
  msgstr ""
152
 
153
+ #: mappress.php:528
154
  msgid "Error reading KML file"
155
  msgstr ""
156
 
157
+ #: mappress.php:529
158
  msgid "Loading..."
159
  msgstr ""
160
 
161
+ #: mappress.php:530
162
  msgid "No matching address"
163
  msgstr ""
164
 
165
+ #: mappress.php:531
166
  msgid "Unable to get your location"
167
  msgstr ""
168
 
169
+ #: mappress.php:532 mappress_settings.php:332
170
  msgid "Traffic"
171
  msgstr ""
172
 
173
+ #: mappress.php:533
174
  msgid "Transit"
175
  msgstr ""
176
 
177
+ #: mappress.php:534 mappress_poi.php:281 mappress_settings.php:327
178
+ #: mappress_settings.php:415 pro/mappress_widget.php:122
179
  msgid "Zoom"
180
  msgstr ""
181
 
182
+ #: mappress.php:539 mappress_controls.php:156
183
  msgid "Add"
184
  msgstr ""
185
 
186
+ #: mappress.php:540
187
  msgid "Click & drag to move"
188
  msgstr ""
189
 
190
+ #: mappress.php:541
191
  msgid "Click to change"
192
  msgstr ""
193
 
194
+ #: mappress.php:542 mappress_controls.php:141 mappress_map.php:486
195
  msgid "Delete"
196
  msgstr ""
197
 
198
+ #: mappress.php:543
199
  msgid "Delete this POI?"
200
  msgstr ""
201
 
202
+ #: mappress.php:544
203
  msgid "Delete this map?"
204
  msgstr ""
205
 
206
+ #: mappress.php:545
207
  msgid "Please save the map first"
208
  msgstr ""
209
 
210
+ #: mappress.php:546
211
  msgid "Shape"
212
  msgstr ""
213
 
214
+ #: mappress.php:547
215
  msgid "Untitled"
216
  msgstr ""
217
 
223
  msgid "Map not found"
224
  msgstr ""
225
 
226
+ #: mappress_map.php:484
227
  msgid "Edit"
228
  msgstr ""
229
 
230
+ #: mappress_map.php:511
231
  msgid "Show map"
232
  msgstr ""
233
 
234
+ #: mappress_map.php:532 mappress_settings.php:408
235
  msgid "Reset map"
236
  msgstr ""
237
 
238
+ #: mappress_map.php:541 mappress_settings.php:406
239
  msgid "Bigger map"
240
  msgstr ""
241
 
242
+ #: mappress_map.php:542
243
  msgid "Smaller map"
244
  msgstr ""
245
 
246
+ #: mappress_poi.php:197 mappress_settings.php:416
247
  msgid "Directions to"
248
  msgstr ""
249
 
250
+ #: mappress_poi.php:199 mappress_settings.php:417
251
  msgid "Directions from"
252
  msgstr ""
253
 
264
  msgstr ""
265
 
266
  #: mappress_settings.php:136
267
+ msgid "Browser API key"
268
+ msgstr ""
269
+
270
+ #: mappress_settings.php:139
271
+ msgid "Server API key"
272
+ msgstr ""
273
+
274
+ #: mappress_settings.php:141
275
  msgid "Map Controls"
276
  msgstr ""
277
 
278
+ #: mappress_settings.php:142
279
  msgid "Draggable"
280
  msgstr ""
281
 
282
+ #: mappress_settings.php:143
283
  msgid "Keyboard shortcuts"
284
  msgstr ""
285
 
286
+ #: mappress_settings.php:144
287
  msgid "Scroll wheel zoom"
288
  msgstr ""
289
 
290
+ #: mappress_settings.php:145
291
  msgid "Map Types"
292
  msgstr ""
293
 
294
+ #: mappress_settings.php:146
295
  msgid "Map controls"
296
  msgstr ""
297
 
298
+ #: mappress_settings.php:148
299
  msgid "Map Settings"
300
  msgstr ""
301
 
302
+ #: mappress_settings.php:149
303
  msgid "Map links"
304
  msgstr ""
305
 
306
+ #: mappress_settings.php:150
307
  msgid "Map alignment"
308
  msgstr ""
309
 
310
+ #: mappress_settings.php:151
311
  msgid "Open first POI"
312
  msgstr ""
313
 
314
+ #: mappress_settings.php:153
315
  msgid "POI Settings"
316
  msgstr ""
317
 
318
+ #: mappress_settings.php:154
319
  msgid "POI links"
320
  msgstr ""
321
 
322
+ #: mappress_settings.php:155
323
  msgid "Tooltips"
324
  msgstr ""
325
 
326
+ #: mappress_settings.php:156
327
  msgid "Default zoom"
328
  msgstr ""
329
 
330
+ #: mappress_settings.php:159
331
  msgid "Mashups"
332
  msgstr ""
333
 
334
+ #: mappress_settings.php:160
335
  msgid "Icons"
336
  msgstr ""
337
 
338
+ #: mappress_settings.php:161
339
  msgid "Styled Maps"
340
  msgstr ""
341
 
342
+ #: mappress_settings.php:162
343
  msgid "Geocoding"
344
  msgstr ""
345
 
346
+ #: mappress_settings.php:165
347
  msgid "Localization"
348
  msgstr ""
349
 
350
+ #: mappress_settings.php:166
351
  msgid "Language"
352
  msgstr ""
353
 
354
+ #: mappress_settings.php:167
355
  msgid "Country"
356
  msgstr ""
357
 
358
+ #: mappress_settings.php:168
359
  msgid "Directions server"
360
  msgstr ""
361
 
362
+ #: mappress_settings.php:169
363
  msgid "Directions units"
364
  msgstr ""
365
 
366
+ #: mappress_settings.php:171
367
  msgid "Miscellaneous"
368
  msgstr ""
369
 
370
+ #: mappress_settings.php:173
 
 
 
 
371
  msgid "Map sizes"
372
  msgstr ""
373
 
374
+ #: mappress_settings.php:174
375
  msgid "Adaptive display"
376
  msgstr ""
377
 
378
+ #: mappress_settings.php:175
379
  msgid "CSS"
380
  msgstr ""
381
 
382
+ #: mappress_settings.php:229
383
  msgid "Use the settings below to automatically create maps from custom fields."
384
  msgstr ""
385
 
386
+ #: mappress_settings.php:234
387
  msgid "Recenter maps when window is resized"
388
  msgstr ""
389
 
390
+ #: mappress_settings.php:239
391
  msgid "more info"
392
  msgstr ""
393
 
394
+ #: mappress_settings.php:240
395
+ msgid "Required to display maps"
396
  msgstr ""
397
 
398
+ #: mappress_settings.php:251
399
  msgid "country code"
400
  msgstr ""
401
 
402
+ #: mappress_settings.php:253
403
  msgid "Enter a %s to use when searching (leave blank for USA)"
404
  msgstr ""
405
 
406
+ #: mappress_settings.php:260
407
  msgid "Enter a google server URL for directions/printing"
408
  msgstr ""
409
 
410
+ #: mappress_settings.php:265
411
  msgid "(Default)"
412
  msgstr ""
413
 
414
+ #: mappress_settings.php:265
415
  msgid "Metric (kilometers)"
416
  msgstr ""
417
 
418
+ #: mappress_settings.php:265
419
  msgid "Imperial (miles)"
420
  msgstr ""
421
 
422
+ #: mappress_settings.php:270
423
  msgid "Enable map dragging with the mouse"
424
  msgstr ""
425
 
426
+ #: mappress_settings.php:274
427
  msgid "Enable zoom with the mouse scroll wheel"
428
  msgstr ""
429
 
430
+ #: mappress_settings.php:278
431
  msgid "Enable keyboard panning and zooming"
432
  msgstr ""
433
 
434
+ #: mappress_settings.php:284
435
  msgid "language"
436
  msgstr ""
437
 
438
+ #: mappress_settings.php:286
439
  msgid "Use a specific %s for map controls and geocoding"
440
  msgstr ""
441
 
442
+ #: mappress_settings.php:294 mappress_settings.php:300
443
+ #: mappress_settings.php:394 mappress_settings.php:444
444
  msgid "Default"
445
  msgstr ""
446
 
447
+ #: mappress_settings.php:295
448
  msgid "Horizontal"
449
  msgstr ""
450
 
451
+ #: mappress_settings.php:296
452
  msgid "Dropdown"
453
  msgstr ""
454
 
455
+ #: mappress_settings.php:301
456
  msgid "Small"
457
  msgstr ""
458
 
459
+ #: mappress_settings.php:302
460
  msgid "Large"
461
  msgstr ""
462
 
463
+ #: mappress_settings.php:303
464
  msgid "Android"
465
  msgstr ""
466
 
467
+ #: mappress_settings.php:314
468
  msgid "Open initially"
469
  msgstr ""
470
 
471
+ #: mappress_settings.php:316 mappress_settings.php:318
472
+ #: mappress_settings.php:320
473
  msgid "Checked initially"
474
  msgstr ""
475
 
476
+ #: mappress_settings.php:322
477
  msgid "Control"
478
  msgstr ""
479
 
480
+ #: mappress_settings.php:322
481
  msgid "Enable"
482
  msgstr ""
483
 
484
+ #: mappress_settings.php:322
485
  msgid "Style"
486
  msgstr ""
487
 
488
+ #: mappress_settings.php:325
489
  msgid "Map types"
490
  msgstr ""
491
 
492
+ #: mappress_settings.php:326
493
  msgid "Pan"
494
  msgstr ""
495
 
496
+ #: mappress_settings.php:328
497
  msgid "Street view"
498
  msgstr ""
499
 
500
+ #: mappress_settings.php:329
501
  msgid "Scale"
502
  msgstr ""
503
 
504
+ #: mappress_settings.php:330
505
  msgid "Overview map"
506
  msgstr ""
507
 
508
+ #: mappress_settings.php:331
509
  msgid "Public transit"
510
  msgstr ""
511
 
512
+ #: mappress_settings.php:333
513
  msgid "Bike routes"
514
  msgstr ""
515
 
516
+ #: mappress_settings.php:340
517
  msgid "Road map"
518
  msgstr ""
519
 
520
+ #: mappress_settings.php:341 pro/mappress_widget.php:140
521
  msgid "Satellite"
522
  msgstr ""
523
 
524
+ #: mappress_settings.php:342 pro/mappress_widget.php:141
525
  msgid "Terrain"
526
  msgstr ""
527
 
528
+ #: mappress_settings.php:343 pro/mappress_widget.php:139
529
  msgid "Hybrid"
530
  msgstr ""
531
 
532
+ #: mappress_settings.php:356 pro/mappress_pro_settings.php:263
533
  #: pro/mappress_widget.php:108
534
  msgid "Google"
535
  msgstr ""
536
 
537
+ #: mappress_settings.php:357 pro/mappress_widget.php:107
538
  msgid "Inline"
539
  msgstr ""
540
 
541
+ #: mappress_settings.php:358 pro/mappress_widget.php:109
542
  msgid "None"
543
  msgstr ""
544
 
545
+ #: mappress_settings.php:365
546
  msgid "Automatically open the first POI when a map is displayed"
547
  msgstr ""
548
 
549
+ #: mappress_settings.php:370 mappress_settings.php:379
550
  msgid "Show control"
551
  msgstr ""
552
 
553
+ #: mappress_settings.php:374 mappress_settings.php:383
554
  msgid "Enabled by default"
555
  msgstr ""
556
 
557
+ #: mappress_settings.php:387
558
  msgid "Show POI titles as a \"tooltip\" on mouse-over"
559
  msgstr ""
560
 
561
+ #: mappress_settings.php:395 pro/mappress_widget.php:114
562
  msgid "Center"
563
  msgstr ""
564
 
565
+ #: mappress_settings.php:396
566
  msgid "Left"
567
  msgstr ""
568
 
569
+ #: mappress_settings.php:397
570
  msgid "Right"
571
  msgstr ""
572
 
573
+ #: mappress_settings.php:425
574
  msgid "Default zoom for POIs entered by lat/lng"
575
  msgstr ""
576
 
577
+ #: mappress_settings.php:431
578
  msgid "Top of post"
579
  msgstr ""
580
 
581
+ #: mappress_settings.php:432
582
  msgid "Bottom of post"
583
  msgstr ""
584
 
585
+ #: mappress_settings.php:433
586
  msgid "No automatic display"
587
  msgstr ""
588
 
589
+ #: mappress_settings.php:440
590
  msgid "Load %s"
591
  msgstr ""
592
 
593
+ #: mappress_settings.php:444
594
  msgid "Width"
595
  msgstr ""
596
 
597
+ #: mappress_settings.php:444
598
  msgid "Height"
599
  msgstr ""
600
 
601
+ #: mappress_settings.php:455
602
  msgid "Enter sizes in px or %"
603
  msgstr ""
604
 
605
+ #: mappress_settings.php:465
606
  msgid "Rate it 5 Stars"
607
  msgstr ""
608
 
609
+ #: mappress_settings.php:467
610
  msgid "%s on WordPress.org"
611
  msgstr ""
612
 
613
+ #: mappress_settings.php:468
614
  msgid "Thanks for your support!"
615
  msgstr ""
616
 
617
+ #: mappress_settings.php:496
618
  msgid "Easy Google Maps"
619
  msgstr ""
620
 
621
+ #: mappress_settings.php:545
622
  msgid "Like this plugin?"
623
  msgstr ""
624
 
625
+ #: mappress_settings.php:547
626
  msgid "Sample Map"
627
  msgstr ""
628
 
629
+ #: mappress_settings.php:566
630
  msgid "Save Changes"
631
  msgstr ""
632
 
633
+ #: mappress_settings.php:567
634
  msgid "Reset Defaults"
635
  msgstr ""
636
 
650
  msgid "No results, check that a geocoder is configured"
651
  msgstr ""
652
 
653
+ #: pro/mappress_geocoders.php:57
654
+ msgid "Server API Key is missing - see MapPress Settings"
655
+ msgstr ""
656
+
657
+ #: pro/mappress_geocoders.php:82
658
  msgid "Invalid status: %s, address: %s"
659
  msgstr ""
660
 
661
+ #: pro/mappress_geocoders.php:91 pro/mappress_geocoders.php:156
662
  msgid "No results for address: %s"
663
  msgstr ""
664
 
665
+ #: pro/mappress_geocoders.php:152
666
  msgid "Error: %s %s"
667
  msgstr ""
668
 
670
  msgid "Use default icon"
671
  msgstr ""
672
 
673
+ #: pro/mappress_pro.php:161
674
  msgid "Automatic"
675
  msgstr ""
676
 
742
  msgid "Force resize"
743
  msgstr ""
744
 
745
+ #: pro/mappress_pro_settings.php:130
746
+ msgid "Optional - for geocoding only"
747
+ msgstr ""
748
+
749
+ #: pro/mappress_pro_settings.php:135
750
  msgid "Post type"
751
  msgstr ""
752
 
753
+ #: pro/mappress_pro_settings.php:152
754
  msgid "Key"
755
  msgstr ""
756
 
757
+ #: pro/mappress_pro_settings.php:152
758
  msgid "Value"
759
  msgstr ""
760
 
761
+ #: pro/mappress_pro_settings.php:152 pro/mappress_pro_settings.php:284
762
  msgid "Icon"
763
  msgstr ""
764
 
765
+ #: pro/mappress_pro_settings.php:157
766
  msgid "Show a list of POIs under each map"
767
  msgstr ""
768
 
769
+ #: pro/mappress_pro_settings.php:162
770
  msgid "Show the POI list as a sortable %s"
771
  msgstr ""
772
 
773
+ #: pro/mappress_pro_settings.php:166
774
  msgid "POI title"
775
  msgstr ""
776
 
777
+ #: pro/mappress_pro_settings.php:166
778
  msgid "Post title"
779
  msgstr ""
780
 
781
+ #: pro/mappress_pro_settings.php:171
782
  msgid "POI body"
783
  msgstr ""
784
 
785
+ #: pro/mappress_pro_settings.php:171
786
  msgid "Address"
787
  msgstr ""
788
 
789
+ #: pro/mappress_pro_settings.php:171
790
  msgid "Post excerpt"
791
  msgstr ""
792
 
793
+ #: pro/mappress_pro_settings.php:176
794
  msgid "Link POI titles to the underlying post"
795
  msgstr ""
796
 
797
+ #: pro/mappress_pro_settings.php:180
798
  msgid "Open the POI"
799
  msgstr ""
800
 
801
+ #: pro/mappress_pro_settings.php:180
802
  msgid "Go directly to the post"
803
  msgstr ""
804
 
805
+ #: pro/mappress_pro_settings.php:195
806
  msgid "Google InfoWindow"
807
  msgstr ""
808
 
809
+ #: pro/mappress_pro_settings.php:196
810
  msgid "InfoBox"
811
  msgstr ""
812
 
813
+ #: pro/mappress_pro_settings.php:202
814
  msgid "Show featured image thumbnails in mashup POIs"
815
  msgstr ""
816
 
817
+ #: pro/mappress_pro_settings.php:210
818
  msgid "Use existing size: "
819
  msgstr ""
820
 
821
+ #: pro/mappress_pro_settings.php:213
822
  msgid "or resize to (px): "
823
  msgstr ""
824
 
825
+ #: pro/mappress_pro_settings.php:227
826
  msgid "styled maps"
827
  msgstr ""
828
 
829
+ #: pro/mappress_pro_settings.php:228
830
  msgid "styled maps wizard"
831
  msgstr ""
832
 
833
+ #: pro/mappress_pro_settings.php:230
834
  msgid "Enter JSON for %s from Google's %s"
835
  msgstr ""
836
 
837
+ #: pro/mappress_pro_settings.php:239
838
  msgid "Style name"
839
  msgstr ""
840
 
841
+ #: pro/mappress_pro_settings.php:253
842
  msgid "No styles have been defined yet"
843
  msgstr ""
844
 
845
+ #: pro/mappress_pro_settings.php:264
846
  msgid "Nominatim"
847
  msgstr ""
848
 
849
+ #: pro/mappress_pro_settings.php:276
850
  msgid "Address Line 1"
851
  msgstr ""
852
 
853
+ #: pro/mappress_pro_settings.php:277
854
  msgid "Address Line 2"
855
  msgstr ""
856
 
857
+ #: pro/mappress_pro_settings.php:278
858
  msgid "Address Line 3"
859
  msgstr ""
860
 
861
+ #: pro/mappress_pro_settings.php:279
862
  msgid "Address Line 4"
863
  msgstr ""
864
 
865
+ #: pro/mappress_pro_settings.php:280
866
  msgid "Address Line 5"
867
  msgstr ""
868
 
869
+ #: pro/mappress_pro_settings.php:281
870
  msgid "Address Line 6"
871
  msgstr ""
872
 
873
+ #: pro/mappress_pro_settings.php:282
874
  msgid "Latitude"
875
  msgstr ""
876
 
877
+ #: pro/mappress_pro_settings.php:283
878
  msgid "Longitude"
879
  msgstr ""
880
 
881
+ #: pro/mappress_pro_settings.php:285
882
  msgid "Title"
883
  msgstr ""
884
 
885
+ #: pro/mappress_pro_settings.php:286
886
  msgid "Body"
887
  msgstr ""
888
 
889
+ #: pro/mappress_pro_settings.php:287
890
  msgid "Map Zoom"
891
  msgstr ""
892
 
893
+ #: pro/mappress_pro_settings.php:290 pro/mappress_widget.php:138
894
  msgid "Map"
895
  msgstr ""
896
 
897
+ #: pro/mappress_pro_settings.php:290
898
  msgid "Custom Field"
899
  msgstr ""
900
 
901
+ #: pro/mappress_pro_settings.php:299
902
  msgid "Overwrite existing maps when updating"
903
  msgstr ""
904
 
905
+ #: pro/mappress_pro_settings.php:307
906
  msgid "Permanently resize existing maps"
907
  msgstr ""
908
 
909
+ #: pro/mappress_pro_settings.php:309
910
  msgid "from %s to %s"
911
  msgstr ""
912
 
913
+ #: pro/mappress_pro_settings.php:310
914
  msgid "Force Resize"
915
  msgstr ""
916
 
languages/texts.php CHANGED
@@ -24,7 +24,8 @@ __("Upgrade to MapPress Pro");
24
  __("MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this.");
25
  __("WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade before using MapPress.");
26
  __("WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress.");
27
- __("API Key");
 
28
  __("MapPress Settings");
29
  __("Bicycling");
30
  __("Bike");
@@ -60,6 +61,8 @@ __("Directions from");
60
  __("Basic Settings");
61
  __("Post types");
62
  __("Automatic map display");
 
 
63
  __("Map Controls");
64
  __("Draggable");
65
  __("Keyboard shortcuts");
@@ -84,14 +87,13 @@ __("Country");
84
  __("Directions server");
85
  __("Directions units");
86
  __("Miscellaneous");
87
- __("Google API key");
88
  __("Map sizes");
89
  __("Adaptive display");
90
  __("CSS");
91
  __("Use the settings below to automatically create maps from custom fields.");
92
  __("Recenter maps when window is resized");
93
  __("more info");
94
- __("A Google Maps API key is required for public servers %s");
95
  __("country code");
96
  __("Enter a %s to use when searching (leave blank for USA)");
97
  __("Enter a google server URL for directions/printing");
@@ -155,6 +157,7 @@ __("Settings");
155
  __("download it now");
156
  __("A PRO Version update is available for manual installation: %s");
157
  __("No results, check that a geocoder is configured");
 
158
  __("Invalid status: %s, address: %s");
159
  __("No results for address: %s");
160
  __("Error: %s %s");
@@ -177,6 +180,7 @@ __("Default style");
177
  __("Geocoder(s)");
178
  __("Geocoding fields");
179
  __("Force resize");
 
180
  __("Post type");
181
  __("Key");
182
  __("Value");
24
  __("MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this.");
25
  __("WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade before using MapPress.");
26
  __("WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress.");
27
+ __("A Google Maps API key is required");
28
+ __("Please update your");
29
  __("MapPress Settings");
30
  __("Bicycling");
31
  __("Bike");
61
  __("Basic Settings");
62
  __("Post types");
63
  __("Automatic map display");
64
+ __("Browser API key");
65
+ __("Server API key");
66
  __("Map Controls");
67
  __("Draggable");
68
  __("Keyboard shortcuts");
87
  __("Directions server");
88
  __("Directions units");
89
  __("Miscellaneous");
 
90
  __("Map sizes");
91
  __("Adaptive display");
92
  __("CSS");
93
  __("Use the settings below to automatically create maps from custom fields.");
94
  __("Recenter maps when window is resized");
95
  __("more info");
96
+ __("Required to display maps");
97
  __("country code");
98
  __("Enter a %s to use when searching (leave blank for USA)");
99
  __("Enter a google server URL for directions/printing");
157
  __("download it now");
158
  __("A PRO Version update is available for manual installation: %s");
159
  __("No results, check that a geocoder is configured");
160
+ __("Server API Key is missing - see MapPress Settings");
161
  __("Invalid status: %s, address: %s");
162
  __("No results for address: %s");
163
  __("Error: %s %s");
180
  __("Geocoder(s)");
181
  __("Geocoding fields");
182
  __("Force resize");
183
+ __("Optional - for geocoding only");
184
  __("Post type");
185
  __("Key");
186
  __("Value");
mappress.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: MapPress Easy Google Maps
4
  Plugin URI: http://www.wphostreviews.com/mappress
5
  Author URI: http://www.wphostreviews.com/mappress
6
  Description: MapPress makes it easy to insert Google Maps in WordPress posts and pages.
7
- Version: 2.43.8
8
  Author: Chris Richardson
9
  Text Domain: mappress-google-maps-for-wordpress
10
  Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
@@ -32,7 +32,7 @@ if (file_exists(dirname( __FILE__ ) . '/pro/mappress_pro.php')) {
32
  include_once dirname( __FILE__ ) . '/pro/mappress_widget.php';
33
  }
34
  class Mappress {
35
- const VERSION = '2.43.8';
36
 
37
  static
38
  $baseurl,
@@ -98,6 +98,8 @@ class Mappress {
98
 
99
  if (isset($_GET['mp_info'])) {
100
  echo "<b>Plugin version</b> " . $this->get_version_string();
 
 
101
  die();
102
  }
103
 
@@ -347,22 +349,13 @@ class Mappress {
347
  return;
348
  }
349
 
350
- // Dismissable notices
351
  $notices = array();
352
- $dismissed = get_option('mappress-dismissed');
353
-
354
- // API Keys
355
- if (!self::$options->apiKey) {
356
- $apiurl = sprintf("<a href='%s' target='_blank'>%s</a>", 'https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update', __('API Key', 'mappress-google-maps-for-wordpress'));
357
- $settings = sprintf("<a href='%s'>%s</a>", admin_url('admin.php?page=mappress'), __('MapPress Settings', 'mappress-google-maps-for-wordpress'));
358
- $notices['apikey'] = sprintf("Google Maps requires an %s on public sites. Please update your %s", $apiurl, $settings);
359
- }
360
 
361
- foreach($notices as $notice => $msg) {
362
- if (is_array($dismissed) && in_array($notice, $dismissed))
363
- continue;
364
  echo "<div class='notice error is-dismissible'><p>$msg</p></div>";
365
- }
366
  }
367
 
368
  static function dismiss($notice) {
@@ -487,7 +480,9 @@ class Mappress {
487
  $loaded = true;
488
 
489
  $version = self::VERSION;
490
- $dev = (defined('MAPPRESS_DEV')) ? MAPPRESS_DEV : isset($_REQUEST['mp_dev']);
 
 
491
 
492
  $apiversion = ($dev) ? 'v=3.exp' : 'v=3';
493
  $apikey = (!empty(self::$options->apiKey)) ? "&key=" . self::$options->apiKey : '';
4
  Plugin URI: http://www.wphostreviews.com/mappress
5
  Author URI: http://www.wphostreviews.com/mappress
6
  Description: MapPress makes it easy to insert Google Maps in WordPress posts and pages.
7
+ Version: 2.43.9
8
  Author: Chris Richardson
9
  Text Domain: mappress-google-maps-for-wordpress
10
  Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
32
  include_once dirname( __FILE__ ) . '/pro/mappress_widget.php';
33
  }
34
  class Mappress {
35
+ const VERSION = '2.43.9';
36
 
37
  static
38
  $baseurl,
98
 
99
  if (isset($_GET['mp_info'])) {
100
  echo "<b>Plugin version</b> " . $this->get_version_string();
101
+ foreach(array('version', 'language', 'wpurl', 'url') as $info)
102
+ printf("<br/>%s : %s", $info, get_bloginfo($info));
103
  die();
104
  }
105
 
349
  return;
350
  }
351
 
352
+ // Dismissible notices
353
  $notices = array();
354
+ if (!self::$options->apiKey)
355
+ $notices['apikey'] = sprintf("%s. %s <a href='%s'>%s</a>.", __("A Google Maps API key is required", 'mappress-google-maps-for-wordpress'), __("Please update your", 'mappress-google-maps-for-wordpress'), admin_url('admin.php?page=mappress'), __('MapPress Settings', 'mappress-google-maps-for-wordpress'));
 
 
 
 
 
 
356
 
357
+ foreach($notices as $notice => $msg)
 
 
358
  echo "<div class='notice error is-dismissible'><p>$msg</p></div>";
 
359
  }
360
 
361
  static function dismiss($notice) {
480
  $loaded = true;
481
 
482
  $version = self::VERSION;
483
+ $dev = (defined('MAPPRESS_DEV')) ? MAPPRESS_DEV : '';
484
+ $dev = (isset($_REQUEST['mp_dev'])) ? $_REQUEST['mp_dev'] : $dev;
485
+ $dev = (is_bool($dev)) ? 'dev' : $dev;
486
 
487
  $apiversion = ($dev) ? 'v=3.exp' : 'v=3';
488
  $apikey = (!empty(self::$options->apiKey)) ? "&key=" . self::$options->apiKey : '';
mappress_map.php CHANGED
@@ -356,10 +356,13 @@ class Mappress_Map extends Mappress_Obj {
356
  if (empty($this->query))
357
  $this->prepare();
358
 
359
- $html .= Mappress::script(array(
360
- "mapp.data.push( " . json_encode($this) . " );",
361
- "if (typeof mapp.load != 'undefined') { mapp.load(); };"
362
- ));
 
 
 
363
 
364
  if ($this->options->directions == 'inline') {
365
  $html .= "<div id='{$this->name}_directions_' style='display:none'>";
356
  if (empty($this->query))
357
  $this->prepare();
358
 
359
+ $script = "mapp.data.push( " . json_encode($this) . " ); if (typeof mapp.load != 'undefined') { mapp.load(); };";
360
+
361
+ // WP 4.5: queue maps for XHTML compatibility
362
+ if (function_exists('wp_add_inline_script') && (!defined('DOING_AJAX') || !DOING_AJAX))
363
+ wp_add_inline_script('mappress', "//<![CDATA[\r\n" . $script . "\r\n//]]>");
364
+ else
365
+ $html .= Mappress::script($script);
366
 
367
  if ($this->options->directions == 'inline') {
368
  $html .= "<div id='{$this->name}_directions_' style='display:none'>";
mappress_settings.php CHANGED
@@ -7,6 +7,7 @@ class Mappress_Options extends Mappress_Obj {
7
  $alignment,
8
  $autoicons,
9
  $apiKey,
 
10
  $autodisplay = 'top',
11
  $bicycling = false,
12
  $bigWidth = '100%',
@@ -18,7 +19,6 @@ class Mappress_Options extends Mappress_Obj {
18
  $directions = 'google', // inline | google | none
19
  $directionsServer = 'https://maps.google.com',
20
  $directionsUnits = '',
21
- $dismissed = array(),
22
  $draggable = true,
23
  $editable = false,
24
  $footer = true,
@@ -133,6 +133,11 @@ class Mappress_Settings {
133
  add_settings_field('autodisplay', __('Automatic map display', 'mappress-google-maps-for-wordpress'), array($this, 'set_autodisplay'), 'mappress', 'basic_settings');
134
  add_settings_field('directions', __('Directions', 'mappress-google-maps-for-wordpress'), array($this, 'set_directions'), 'mappress', 'basic_settings');
135
 
 
 
 
 
 
136
  add_settings_section('controls_settings', __('Map Controls', 'mappress-google-maps-for-wordpress'), array($this, 'section_settings'), 'mappress');
137
  add_settings_field('draggable', __('Draggable', 'mappress-google-maps-for-wordpress'), array($this, 'set_draggable'), 'mappress', 'controls_settings');
138
  add_settings_field('keyboard', __('Keyboard shortcuts', 'mappress-google-maps-for-wordpress'), array($this, 'set_keyboard_shortcuts'), 'mappress', 'controls_settings');
@@ -164,7 +169,7 @@ class Mappress_Settings {
164
  add_settings_field('directionsUnits', __('Directions units', 'mappress-google-maps-for-wordpress'), array($this, 'set_directions_units'), 'mappress', 'localization_settings');
165
 
166
  add_settings_section('misc_settings', __('Miscellaneous', 'mappress-google-maps-for-wordpress'), array($this, 'section_settings'), 'mappress');
167
- add_settings_field('api_key', __('Google API key', 'mappress-google-maps-for-wordpress'), array($this, 'set_api_key'), 'mappress', 'misc_settings');
168
  add_settings_field('sizes', __('Map sizes', 'mappress-google-maps-for-wordpress'), array($this, 'set_sizes'), 'mappress', 'misc_settings');
169
  add_settings_field('adaptive', __('Adaptive display', 'mappress-google-maps-for-wordpress'), array($this, 'set_adaptive'), 'mappress', 'misc_settings');
170
  add_settings_field('css', __('CSS', 'mappress-google-maps-for-wordpress'), array($this, 'set_css'), 'mappress', 'misc_settings');
@@ -179,6 +184,10 @@ class Mappress_Settings {
179
  return get_object_vars($this);
180
  }
181
 
 
 
 
 
182
  // Sizes
183
  foreach( $input['sizes'] as &$size ) {
184
  // Strip 'px' from value but allow '%'. also, % min/max = 5%/100%, px min/max = 200/2048
@@ -228,7 +237,7 @@ class Mappress_Settings {
228
  function set_api_key() {
229
  echo "<input type='text' size='50' name='mappress_options[apiKey]' value='{$this->options->apiKey}' />";
230
  $helpurl = "<a href='http://wphostreviews.com/mappress-faq' target='_blank'>" . __('more info', 'mappress-google-maps-for-wordpress') . "</a>";
231
- echo "<br/><i>" . sprintf(__("A Google Maps API key is required for public servers %s", 'mappress-google-maps-for-wordpress'), $helpurl) . "</i>";
232
  }
233
 
234
  function set_post_types() {
7
  $alignment,
8
  $autoicons,
9
  $apiKey,
10
+ $apiKeyServer,
11
  $autodisplay = 'top',
12
  $bicycling = false,
13
  $bigWidth = '100%',
19
  $directions = 'google', // inline | google | none
20
  $directionsServer = 'https://maps.google.com',
21
  $directionsUnits = '',
 
22
  $draggable = true,
23
  $editable = false,
24
  $footer = true,
133
  add_settings_field('autodisplay', __('Automatic map display', 'mappress-google-maps-for-wordpress'), array($this, 'set_autodisplay'), 'mappress', 'basic_settings');
134
  add_settings_field('directions', __('Directions', 'mappress-google-maps-for-wordpress'), array($this, 'set_directions'), 'mappress', 'basic_settings');
135
 
136
+ add_settings_field('api_key', __('Browser API key', 'mappress-google-maps-for-wordpress'), array($this, 'set_api_key'), 'mappress', 'basic_settings');
137
+
138
+ if (class_exists('Mappress_Pro'))
139
+ add_settings_field('api_key_server', __('Server API key', 'mappress-google-maps-for-wordpress'), array($this, 'set_api_key_server'), 'mappress', 'basic_settings');
140
+
141
  add_settings_section('controls_settings', __('Map Controls', 'mappress-google-maps-for-wordpress'), array($this, 'section_settings'), 'mappress');
142
  add_settings_field('draggable', __('Draggable', 'mappress-google-maps-for-wordpress'), array($this, 'set_draggable'), 'mappress', 'controls_settings');
143
  add_settings_field('keyboard', __('Keyboard shortcuts', 'mappress-google-maps-for-wordpress'), array($this, 'set_keyboard_shortcuts'), 'mappress', 'controls_settings');
169
  add_settings_field('directionsUnits', __('Directions units', 'mappress-google-maps-for-wordpress'), array($this, 'set_directions_units'), 'mappress', 'localization_settings');
170
 
171
  add_settings_section('misc_settings', __('Miscellaneous', 'mappress-google-maps-for-wordpress'), array($this, 'section_settings'), 'mappress');
172
+
173
  add_settings_field('sizes', __('Map sizes', 'mappress-google-maps-for-wordpress'), array($this, 'set_sizes'), 'mappress', 'misc_settings');
174
  add_settings_field('adaptive', __('Adaptive display', 'mappress-google-maps-for-wordpress'), array($this, 'set_adaptive'), 'mappress', 'misc_settings');
175
  add_settings_field('css', __('CSS', 'mappress-google-maps-for-wordpress'), array($this, 'set_css'), 'mappress', 'misc_settings');
184
  return get_object_vars($this);
185
  }
186
 
187
+ // Trim the api keys
188
+ $input['apiKey'] = (isset($input['apiKey'])) ? trim($input['apiKey']) : '';
189
+ $input['apiKeyServer'] = (isset($input['apiKeyServer'])) ? trim($input['apiKeyServer']) : '';
190
+
191
  // Sizes
192
  foreach( $input['sizes'] as &$size ) {
193
  // Strip 'px' from value but allow '%'. also, % min/max = 5%/100%, px min/max = 200/2048
237
  function set_api_key() {
238
  echo "<input type='text' size='50' name='mappress_options[apiKey]' value='{$this->options->apiKey}' />";
239
  $helpurl = "<a href='http://wphostreviews.com/mappress-faq' target='_blank'>" . __('more info', 'mappress-google-maps-for-wordpress') . "</a>";
240
+ printf("<br/><i>%s (%s)</i>", __("Required to display maps", 'mappress-google-maps-for-wordpress'), $helpurl);
241
  }
242
 
243
  function set_post_types() {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: google maps,google,map,maps,easy,poi,mapping,mapper,gps,lat,lon,latitude,longitude,geocoder,geocoding,georss,geo rss,geo,v3,marker,mashup,mash,api,v3,buddypress,mashup,geo,wp-geo,geo mashup,simplemap,simple,wpml
5
  Requires at least: 3.5
6
  Tested up to: 4.9
7
- Stable tag: 2.43.8
8
 
9
  MapPress is the most popular and easiest way to create great-looking Google Maps and driving directions in your blog.
10
 
@@ -95,6 +95,13 @@ See full [installation intructions and Documentation](http://www.wphostreviews.c
95
 
96
  == Changelog ==
97
 
 
 
 
 
 
 
 
98
  2.43.8
99
  =
100
  * Added: API key checks updated to support Google policy change on 6/22/2016
4
  Tags: google maps,google,map,maps,easy,poi,mapping,mapper,gps,lat,lon,latitude,longitude,geocoder,geocoding,georss,geo rss,geo,v3,marker,mashup,mash,api,v3,buddypress,mashup,geo,wp-geo,geo mashup,simplemap,simple,wpml
5
  Requires at least: 3.5
6
  Tested up to: 4.9
7
+ Stable tag: 2.43.9
8
 
9
  MapPress is the most popular and easiest way to create great-looking Google Maps and driving directions in your blog.
10
 
95
 
96
  == Changelog ==
97
 
98
+ 2.43.9
99
+ * Added: support for XHTML sites (must be running WP 4.5 or higher)
100
+ * Added: server API key for geocoding
101
+ * Fixed: debugging functions
102
+ * Fixed: removed extra code for api key in geocoder
103
+ * Fixed: removed anonymous functions to support hosts still running PHP 5.2
104
+
105
  2.43.8
106
  =
107
  * Added: API key checks updated to support Google policy change on 6/22/2016