MapPress Easy Google Maps - Version 2.40.4

Version Description

Download this release

Release Info

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

Code changes from version 2.40.3 to 2.40.4

css/mappress.css CHANGED
@@ -91,7 +91,7 @@
91
/* Map tiles */
92
.mapp-canvas img {
93
background-color: transparent !important;
94
- max-width: none !important; /* Some themes have max-width/max-height set */
95
max-height: none !important;
96
visibility: inherit !important;
97
padding: 0px !important;
@@ -111,6 +111,7 @@
111
*/
112
113
.mapp-iw {
114
padding: 0px ;
115
margin: 0px ;
116
color: black ;
@@ -159,7 +160,7 @@
159
-webkit-box-shadow: 5px 5px 5px #888;
160
box-shadow: 5px 5px 5px #888;
161
display: none;
162
- max-width: 450px;
163
min-width: 200px;
164
overflow: auto;
165
padding: 15px;
@@ -211,7 +212,7 @@
211
.mapp-poi-list table {
212
margin-top: 10px ;
213
width: 100% ;
214
- line-height: normal ;
215
border-collapse: collapse ;
216
}
217
91
/* Map tiles */
92
.mapp-canvas img {
93
background-color: transparent !important;
94
+ max-width: 99999px !important; /* Some themes have max-width/max-height set, and some phones can't accept max-width: auto. */
95
max-height: none !important;
96
visibility: inherit !important;
97
padding: 0px !important;
111
*/
112
113
.mapp-iw {
114
+ font-size: 14px; /* Google may apply scrollbars - best size seems to be 12px */
115
padding: 0px ;
116
margin: 0px ;
117
color: black ;
160
-webkit-box-shadow: 5px 5px 5px #888;
161
box-shadow: 5px 5px 5px #888;
162
display: none;
163
+ max-width: 450px;
164
min-width: 200px;
165
overflow: auto;
166
padding: 15px;
212
.mapp-poi-list table {
213
margin-top: 10px ;
214
width: 100% ;
215
+ line-height: normal !important; /* 2012 sets to 2 */
216
border-collapse: collapse ;
217
}
218
css/mappress_admin.css CHANGED
@@ -52,17 +52,18 @@ table.mapp-e-editor {
52
53
.mapp-e-top-toolbar {
54
font-size: 12px;
55
}
56
57
.mapp-e-canvas {
58
- max-width: 100%;
59
- min-height: 200px; /* Used only if a % height is applied */
60
border: 1px solid lightgray;
61
}
62
63
.mapp-e-poi-list {
64
- border-left: 1px solid lightgray;
65
cursor: move;
66
overflow: auto;
67
}
68
52
53
.mapp-e-top-toolbar {
54
font-size: 12px;
55
+ height: 20px;
56
}
57
58
.mapp-e-canvas {
59
+ width: 100%;
60
+ min-height: 200px;
61
border: 1px solid lightgray;
62
}
63
64
.mapp-e-poi-list {
65
cursor: move;
66
+ height: 370px;
67
overflow: auto;
68
}
69
forms/map_editor.php CHANGED
@@ -9,10 +9,10 @@
9
<div class='mapp-e-edit-panel'>
10
<table class='mapp-e-editor'>
11
<tr>
12
- <td style='width: 25%;'>
13
<div id='mapp_e_poi_list' class='mapp-e-poi-list'></div>
14
</td>
15
- <td style='width: 75%;'>
16
<div id='mapp_e_top_toolbar' class='mapp-e-top-toolbar'>
17
<a href='#' id='mapp_e_recenter'><?php _e('Center map', 'mappress'); ?></a> |
18
<?php _e('Click map for lat/lng: ', 'mappress'); ?><span id='mapp_e_latlng'>0,0</span>
9
<div class='mapp-e-edit-panel'>
10
<table class='mapp-e-editor'>
11
<tr>
12
+ <td style='width: 25%'>
13
<div id='mapp_e_poi_list' class='mapp-e-poi-list'></div>
14
</td>
15
+ <td style='width: 75%'>
16
<div id='mapp_e_top_toolbar' class='mapp-e-top-toolbar'>
17
<a href='#' id='mapp_e_recenter'><?php _e('Center map', 'mappress'); ?></a> |
18
<?php _e('Click map for lat/lng: ', 'mappress'); ?><span id='mapp_e_latlng'>0,0</span>
forms/map_media.php CHANGED
@@ -24,7 +24,7 @@
24
</tr>
25
26
<tr>
27
- <td><?php _e('Map Title');?>:</td>
28
<td><input id='mapp_m_title' type='text' size='40' /></td>
29
</tr>
30
@@ -33,7 +33,7 @@
33
<td>
34
<?php
35
$sizes = array();
36
- foreach(Mappress::$options->mapSizes as $i => $size)
37
$sizes[] = "<a href='#' class='mapp-m-size' data-width='{$size['width']}' data-height='{$size['height']}'>" . $size['width'] . 'x' . $size['height'] . "</a>";
38
echo implode(' | ', $sizes);
39
?>
24
</tr>
25
26
<tr>
27
+ <td><?php _e('Map Title', 'mappress');?>:</td>
28
<td><input id='mapp_m_title' type='text' size='40' /></td>
29
</tr>
30
33
<td>
34
<?php
35
$sizes = array();
36
+ foreach(Mappress::$options->sizes as $i => $size)
37
$sizes[] = "<a href='#' class='mapp-m-size' data-width='{$size['width']}' data-height='{$size['height']}'>" . $size['width'] . 'x' . $size['height'] . "</a>";
38
echo implode(' | ', $sizes);
39
?>
js/mappress.min.js CHANGED
@@ -1 +1 @@
1
- var 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 f,u,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&&(f=new google.maps.LatLng(n.viewport.sw.lat,n.viewport.sw.lng),u=new google.maps.LatLng(n.viewport.ne.lat,n.viewport.ne.lng),this.viewport=f.lat()==0&&f.lng()==0&&u.lat()==0&&u.lng()==0?null:new google.maps.LatLngBounds(f,u)),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()},i=this.overlay.getDefaultViewport(),n.viewport={sw:{lat:i.getSouthWest().lat(),lng:i.getSouthWest().lng()},ne:{lat:i.getNorthEast().lat(),lng:i.getNorthEast().lng()}}),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)})}}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.setZIndex(0),this.setTooltip(),google.maps.event.addListener(this.overlay,"click",function(n){t.open(n)})},setEditable:function(n){var t=this;if(this.isPoly()){t.overlay.setEditable(n),n&&(google.maps.event.addListener(this.overlay,"click",function(){t.overlay.setEditable(!0)}),google.maps.event.addListener(this.overlay,"mouseover",function(){t.overlay.setEditable(!0)}));return}this.type!="kml"&&(this.overlay.setDraggable(n),n?(this.setTooltip(mappl10n.click_and_drag),google.maps.event.addListener(this.overlay,"dragstart",function(){t.map.closeInfoWindow()}),google.maps.event.addListener(this.overlay,"dragend",function(n){t.viewport=null,t.address=null,t.map.openPoi(t),google.maps.event.trigger(t.map,"dragend",t,n)})):this.setTooltip())},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){if(!this.type){this.overlay.setIcon(null),this.overlay.setShadow(null);var t=mapp.Icons.get(n);t&&(t.anchor?(this.overlay.setIcon(new google.maps.MarkerImage(t.url,null,null,t.anchor,null)),this.overlay.setShadow(new google.maps.MarkerImage(t.shadowUrl,null,null,t.anchor,null))):(this.overlay.setIcon(t.url),this.overlay.setShadow(t.shadowUrl)))}},getImage:function(n){var t=mapp.Icons.getUrl(this.iconid);return n=n?n:"","<img class='"+n+"' src='"+t+"' />"},setVisible:function(n){typeof this.overlay.setVisible!="undefined"&&this.overlay.setVisible(n)},setColors:function(n){var r={strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""},i={},t;for(t in r)n&&typeof n[t]!="undefined"&&(i[t]=n[t]);this.overlay.setOptions(i)},getColors:function(){var i={strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""},t={},n;for(n in i)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();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")}};var mapp=window.mapp||{};mapp.Map=function(n){function ht(){var f,h,n;if(!o&&(o=["roadmap","satellite","terrain","hybrid"],mapp.Styles))for(f in mapp.Styles)o.push(f);for(h={backgroundColor:"transparent",center:c,draggable:bt,keyboardShortcuts:at,mapTypeControl:di,mapTypeControlOptions:{style:ki,mapTypeIds:o},maxZoom:nr,minZoom:ii,overviewMapControl:yi,overviewMapControlOptions:{opened:vi},panControl:pi,rotateControl:wi,scaleControl:ir,scrollwheel:hr,streetViewControl:ar,tilt:ur,zoom:v?v:0,zoomControl:er,zoomControlOptions:{style:ai}},i=new google.maps.Map(a,h),n=0;n<t.length;n++)t[n].setMap(r);ri(),r.setMapTypeId(fi),ei(),s=="ib"?(mapp.InfoBox.prototype=new google.maps.OverlayView,u=new mapp.InfoBox):u=new google.maps.InfoWindow,s=="ib"&&(at=!1),ft=new mapp.Geocoder(r,gi,hi),vt!="none"&&(e=new mapp.Directions(r,vt,ft,dt,wt)),r.initCenter(),oi&&jQuery(window).resize(function(){r.resize()})}function ri(){var n,t,r;for(n in mapp.Styles)t=mapp.Styles[n],r=new google.maps.StyledMapType(t,{name:n}),i.mapTypes.set(n,r),lr==n&&i.setOptions({styles:t})}function ei(){fr&&ut("traffic",mappl10n.traffic,ni),ci&&ut("bicycling",mappl10n.bike,kt),or&&ut("transit",mappl10n.transit,gt)}function ut(n,t,r){var e=f+"_"+n,s=r?"checked='checked'":"",o="<div class='gmnoprint mapp-control'><input type='checkbox' id='"+e+"' "+s+" /> "+t+"<\/div>",u=jQuery(o).get(0);i.controls[google.maps.ControlPosition.TOP_RIGHT].push(u),r&&st(n),google.maps.event.clearListeners(u,"click"),google.maps.event.addDomListener(u,"click",function(){st(n)})}function st(n){var r=f+"_"+n,t;switch(n){case"transit":w=w?w:new google.maps.TransitLayer,t=w;break;case"traffic":k=k?k:new google.maps.TrafficLayer,t=k;break;case"bicycling":b=b?b:new google.maps.BicyclingLayer,t=b}t.getMap()?(jQuery("#"+r).prop("checked",!1),t.setMap(null)):(jQuery("#"+r).prop("checked",!0),t.setMap(i))}var c=n.center?new google.maps.LatLng(n.center.lat,n.center.lng):new google.maps.LatLng(0,0),tt=n.height,h=n.mapid,fi=n.mapTypeId?n.mapTypeId:"roadmap",ui=n.metaKey,f=n.name,lt=n.options,yt=n.query,it=n.title,rt=n.width,v=parseInt(n.zoom,10),oi=n.options.adaptive,ci=n.options.bicycling,li=n.options.bigHeight,si=n.options.bigWidth,hi=n.options.country,et=n.options.dataTables,vt=n.options.directions,dt=n.options.directionsServer,wt=n.options.directionsUnits,bt=n.options.draggable,ti=n.options.editable,kt=n.options.initialBicycling,nt=n.options.initialOpenDirections,g=n.options.initialOpenInfo,ni=n.options.initialTraffic,gt=n.options.initialTransit,s=n.options.iwType,pt=n.options.iwDisableAutoPan,at=n.options.keyboardShortcuts,gi=n.options.language,di=n.options.mapTypeControl,ki=parseInt(n.options.mapTypeControlStyle,10),o=n.options.mapTypeIds,tr=n.options.mashupClick,nr=parseInt(n.options.maxZoom),ii=parseInt(n.options.minZoom),yi=n.options.overviewMapControl,vi=n.options.overviewMapControlOpened,pi=n.options.panControl,bi=n.options.poiZoom,wi=n.options.rotateControl,ir=n.options.scaleControl,hr=n.options.scrollwheel,sr=n.height,cr=n.width,ar=n.options.streetViewControl,lr=n.options.style,ur=parseInt(n.options.tilt),rr=n.options.tooltips,fr=n.options.traffic,or=n.options.transit,er=n.options.zoomControl,ai=parseInt(n.options.zoomControlStyle,10),r=this,b,k,w,e=null,y,ot,p,a,l,ft=null,i=null,u=null,t=[],ct=!1,d=0;this.display=function(){if(y=jQuery("#"+f+"_dialog"),ot=jQuery("#"+f+"_directions"),p=jQuery("#"+f+"_layout"),a=document.getElementById(f),l=jQuery("#"+f+"_poi_list"),!a){typeof console!="undefined"&&console.log("MapPress: Missing map name or container for map: "+f);return}if(typeof google=="undefined"){typeof console!="undefined"&&console.log("MapPress: Google API not loaded");return}if(ot.append(jQuery("#"+f+"_directions_").contents()),l.append(jQuery("#"+f+"_poi_list_").contents()),this.setDataTables(),yt){this.ajaxQuery(function(){ht()});return}r.setPois(n.pois,!1),ht()},this.ajaxQuery=function(n,t){e&&e.close(),u&&r.closeInfoWindow(),r.setDialog(),t=t?t:1;var i={action:"mapp_query",name:f,query:yt,options:lt};mapp.Ajax("POST",i,function(t){t.status=="OK"&&(r.hideDialog(),r.setPois(t.data.pois,!0),r.setPoiList(t.data.poiList),n&&n())})},this.setDialog=function(n){n=n?n:'<span class="mapp-spinner"><\/span> Loading...',n='<div class="mapp-dialog-inner">'+n+"<\/div>",jQuery(y).html(n),jQuery(y).show()},this.hideDialog=function(){jQuery(y).hide()},this.setPoiList=function(n){typeof n=="string"?l.html(n):l.append(n),this.setDataTables()},this.setDataTables=function(){if(et&&typeof jQuery.fn.dataTable!="undefined"){var n=et==!0?{bFilter:!1,bPaginate:!1}:et;jQuery("table",l).dataTable(n)}},this.getOptions=function(){return lt},this.getResized=function(){return ct},this.show=function(){p.show(),this.display()},this.closeInfoWindow=function(){u.close()},this.openDirections=function(n,t,i){var u,r;typeof n=="object"?(u=n.address?n.address:n.getPosition().toUrlValue(),n.open()):u=n,typeof t=="object"?(r=t.address?t.address:t.getPosition().toUrlValue(),t.open()):r=t,e.open(u,r,i)},this.setMapTypeId=function(n){n=n&&jQuery.inArray(n,o)!=-1?n:o[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(bi)},this.poiToFront=function(n){if(d++,d>google.maps.Marker.MAX_ZINDEX){d=1;for(var i=0;i<t.length;i++)t[i].setZIndex(0)}n.setZIndex(d)},this.getMap=function(){return i},this.getGeocoder=function(){return ft},this.getName=function(){return f},this.setName=function(n){f=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 rt},this.getHeight=function(){return tt},this.getInfoWindow=function(){return u},this.getEditable=function(){return ti},this.getTooltips=function(){return rr},this.getPoi=function(n){return typeof n=="string"&&(n=parseInt(n,10)),t[n]},this.getPoiById=function(n){for(var i=0;i<t.length;i++)if(t[i].postid==n)return t[i];return null},this.getPois=function(){return t},this.insertPoi=function(n){t.unshift(n),n.setMap(this)},this.addPoi=function(n){t.push(n),n.setMap(this)},this.removePoi=function(n){var i=jQuery.inArray(n,t);i!=-1&&(t[i].setMap(null),t.splice(i,1))},this.setPois=function(n,i){for(var u,r=0;r<t.length;r++)t[r].setMap(null);for(t=[],r=0;r<n.length;r++)u=new mapp.Poi,u.fromJSON(n[r]),t.push(u),i&&u.setMap(this)},this.showPois=function(){for(var n=0;n<t.length;n++)t[n].setVisible(!0)},this.hidePois=function(){for(var n=0;n<t.length;n++)t[n].setVisible(!1)},this.sortPois=function(n){for(var u=Array(),r,i=0;i<n.length;i++){if(r=parseInt(n[i]),isNaN(r))return!1;u.push(t[r])}return u.length!=t.length?!1:(t=u,!0)},this.openPoi=function(n,t){var u,i;if(s&&s!="none"){if(tr=="post"&&n.url){window.location.assign(n.url);return}i={html:null},google.maps.event.trigger(r,"poicontent",n,i),u=i.content?i.content:t&&typeof t.featureData!="undefined"?t.featureData.infoWindowHtml:n.html,this.openInfoWindow(n,u,t)}},this.openInfoWindow=function(n,t,f){if(e&&e.close(),s&&s!="none"){if(this.poiToFront(n),u.close(),u.setContent(t),google.maps.event.addListenerOnce(u,"domready",function(){google.maps.event.trigger(r,"poidomready",n)}),pt){u.setOptions({disableAutoPan:pt});var o=i.getBounds();o.contains(n.getPosition())||n.center()}n.type=="kml"&&f?(u.setOptions({pixelOffset:f.pixelOffset,position:f.latLng}),u.open(i)):n.type?(u.setOptions({position:n.getPosition()}),u.open(i)):u.open(i,n.overlay)}},this.closeInfoWindow=function(){u.close()},this.resize=function(n,t){var r=i.getCenter();n&&t&&(jQuery(a).width(n),jQuery(a).height(t),rt=n,tt=t),google.maps.event.trigger(i,"resize"),i.setCenter(r),ct=!0;return},this.initCenter=function(){if(this.closeInfoWindow(),google.maps.event.addListenerOnce(i,"idle",function(){r.initWindows()}),c&&c.lat()&&c.lng())i.setCenter(c),i.setZoom(v);else{var n=v?v:!0;r.autoCenter(n)}},this.initWindows=function(){var n;e&&nt?(n=isNaN(parseInt(nt))?r.getPoi(0):r.getPoi(parseInt(nt)),n&&(n.center(!1),r.openDirections("",n,!1))):g&&(n=isNaN(parseInt(g))?r.getPoi(0):r.getPoi(parseInt(g)),n&&n.open())},this.autoCenter=function(n){var r,u,f;if(t.length==0){this.setCenter(0,0),typeof n=="number"?i.setZoom(n):i.setZoom(1);return}if(t.length==1){t[0].center(n);return}for(r=new google.maps.LatLngBounds,u=0;u<t.length;u++)f=t[u].getBounds(),r=f?r.union(f):r.extend(t[u].getPosition());if(n===!1){i.setCenter(r.getCenter());return}if(typeof n=="number"){i.setCenter(r.getCenter()),i.setZoom(n);return}i.fitBounds(r)},this.reset=function(){this.initCenter()},this.bigger=function(n,t,i){e&&e.close(),this.closeInfoWindow(),jQuery(n).text()==t?(jQuery(n).text(i),jQuery(p).width(si),this.resize("100%",li)):(jQuery(n).text(t),jQuery(p).width(cr),this.resize("100%",sr))},this.toJSON=function(){return{center:{lat:i.getCenter().lat(),lng:i.getCenter().lng()},height:tt,mapid:h,mapTypeId:i.getMapTypeId(),metaKey:ui,pois:t,title:it,width:rt,zoom:i.getZoom()}},this.ajaxSave=function(n){var t,i;t=typeof Prototype!="undefined"&&typeof Object.toJSON!="undefined"?Object.toJSON(r):t=JSON.stringify(r),i={action:"mapp_save",map:t,postid:mappl10n.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){var r={action:"mapp_create"};mapp.Ajax("GET",r,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.ajaxurl,data:t,success:function(n){if(n.output&&mappl10n.ajaxErrors&&alert("AJAX Error\r\n"+n.output),n.status=="OK"){i(n);return}mappl10n.ajaxErrors&&(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)}})},mapp.on=function(n,t,i,r){if(jQuery.fn.on)jQuery(n).on(t,i,r);else i?jQuery(n+" "+i).live(t,r):jQuery(n).live(t,r)};mapp.on("body","tabsshow",null,function(n,t){t&&t.panel&&jQuery(".mapp-canvas",t.panel).each(function(){var t=jQuery(this).attr("id"),n;t&&(n=window[t],n.getResized()||(n.resize(),n.initCenter()))})});this.JSON||(this.JSON={}),function(){function i(n){return n<10?"0"+n:n}function o(n){return f.lastIndex=0,f.test(n)?'"'+n.replace(f,function(n){var t=s[n];return typeof t=="string"?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function u(i,f){var h,l,c,a,v=n,s,e=f[i];e&&typeof e=="object"&&typeof e.toJSON=="function"&&(e=e.toJSON(i)),typeof t=="function"&&(e=t.call(f,i,e));switch(typeof e){case"string":return o(e);case"number":return isFinite(e)?String(e):"null";case"boolean":case"null":return String(e);case"object":if(!e)return"null";if(n+=r,s=[],Object.prototype.toString.apply(e)==="[object Array]"){for(a=e.length,h=0;h<a;h+=1)s[h]=u(h,e)||"null";return c=s.length===0?"[]":n?"[\n"+n+s.join(",\n"+n)+"\n"+v+"]":"["+s.join(",")+"]",n=v,c}if(t&&typeof t=="object")for(a=t.length,h=0;h<a;h+=1)l=t[h],typeof l=="string"&&(c=u(l,e))&&s.push(o(l)+(n?": ":":")+c);else for(l in e)Object.hasOwnProperty.call(e,l)&&(c=u(l,e))&&s.push(o(l)+(n?": ":":")+c);return c=s.length===0?"{}":n?"{\n"+n+s.join(",\n"+n)+"\n"+v+"}":"{"+s.join(",")+"}",n=v,c}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,r,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t;typeof JSON.stringify!="function"&&(JSON.stringify=function(i,f,e){var o;if(r=n="",typeof e=="number")for(o=0;o<e;o+=1)r+=" ";else typeof e=="string"&&(r=e);if((t=f)&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw Error("JSON.stringify");return u("",{"":i})}),typeof JSON.parse!="function"&&(JSON.parse=function(n,t){function r(n,i){var f,e,u=n[i];if(u&&typeof u=="object")for(f in u)Object.hasOwnProperty.call(u,f)&&(e=r(u,f),e!==undefined?u[f]=e:delete u[f]);return t.call(n,i,u)}var i;if(n=String(n),e.lastIndex=0,e.test(n)&&(n=n.replace(e,function(n){return"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*#x2F;.test(n.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return i=eval("("+n+")"),typeof t=="function"?r({"":i},""):i;throw new SyntaxError("JSON.parse");})}();(function(){jQuery.fn.mappColorpicker=function(n){var u={colors:["800000","FF0000","FFA500","FFFF00","808000","800080","FF00FF","FFFFFF","00FF00","008000","000080","0000FF","00FFFF","008080","000000","808080","C0C0C0",]};n=jQuery.extend(u,n);var r=function(n){var r=n.substr(1,2),i=n.substr(3,2),t=n.substr(5,2);return.212671*r+.71516*i+.072169*t<.5?"ffffff":"000000"},i=function(n){var t=n.val();n.css({"background-color":t,color:"#"+r(t)})},t=jQuery("#mapp_colorpicker");return t.length||(t=jQuery('<div id="mapp_colorpicker"><\/div>').appendTo(document.body).hide()),jQuery(document).click(function(n){jQuery(n.target).is("#mapp_colorpicker")||jQuery(n.target).parents("#mapp_colorpicker").length||t.hide()}),this.each(function(){var r=jQuery(this),u;i(r),u="",jQuery.each(n.colors,function(n,t){u+='<li><a href="#" style="background-color: #'+t+';">'+t+"<\/a><\/li>"}),r.keydown(function(n){n.keyCode===9&&t.hide()}),r.click(function(){var n=r.offset();return t.html("<ul>"+u+"<\/ul>").css({position:"absolute",left:n.left,top:n.top+r.outerHeight()}).show(),jQuery("a",t).click(function(){var n=jQuery(this).text();return r.val("#"+n),r.change(),t.hide(),!1}),!1}),r.change(function(){i(r)})})}})();var mapp=window.mapp||{};mapp.Directions=function(n,t,i,r,u){function y(){jQuery(".mapp-dir-swap",f).click(function(){var t=jQuery(".mapp-dir-daddr",f).val(),n=jQuery(".mapp-dir-saddr",f).val();return jQuery(".mapp-dir-saddr",f).val(t),jQuery(".mapp-dir-daddr",f).val(n),jQuery(".mapp-dir-get",f).click(),!1}),jQuery(".mapp-dir-get",f).click(function(){return o.getDirections(),!1}),jQuery(".mapp-dir-print",f).click(function(){o.printDirections()}),jQuery(".mapp-dir-close",f).click(function(){return o.close(),!1}),jQuery(".mapp-travelmode",f).click(function(){return jQuery(".mapp-travelmode",f).removeClass("mapp-travelmode-on"),jQuery(this).addClass("mapp-travelmode-on"),o.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 v(n,t,i){var r;r=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=null,s={travelMode:r,transitOptions:{departureTime:o},provideRouteAlternatives:!0,origin:n,destination:t,unitSystem:w},u=jQuery(".mapp-dir-renderer",f).get(0);jQuery(".mapp-dir-renderer",f).empty(),l||(l=new google.maps.DirectionsService),l.route(s,function(n,t){switch(t){case google.maps.DirectionsStatus.OK:h.hidePois(),e?(e.setDirections(n),e.setMap(a),e.setPanel(u)):e=new google.maps.DirectionsRenderer({map:a,panel:u,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,p=t,c=i,s=r,w=u,f=jQuery("#"+n.getName()+"_directions"),e,l,a=n.getMap(),o=this;s.toLowerCase().indexOf("http")==-1&&(s="https://"+s),y(),this.open=function(n,t,i){if(p=="google"){this.openGoogle(n,t,0);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 i=jQuery(".mapp-dir-saddr",f),r=jQuery(".mapp-dir-daddr",f),n=jQuery(".mapp-dir-saddr-err",f),t=jQuery(".mapp-dir-daddr-err",f);c.geocodeField(i,n,function(n){c.geocodeField(r,t,function(t){n&&t?v(n,t,function(){jQuery(".mapp-spinner",f).hide();return}):jQuery(".mapp-spinner",f).hide()})})},this.printDirections=function(){var n;jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-walk")?n="w":jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-bike")&&(n="b"),this.openGoogle(jQuery(".mapp-dir-saddr",f).val(),jQuery(".mapp-dir-daddr",f).val(),3,n)},this.openGoogle=function(n,t,i,r){var u=s;u+="?saddr="+encodeURIComponent(n),u+="&daddr="+encodeURIComponent(t),u+="&pw="+i,u+=r?"&dirflg="+r:"",window.open(u)}};var mapp=window.mapp||{};mapp.Geocoder=function(n,t,i){function u(n,t){jQuery(n).removeClass("mapp-error"),jQuery(t).hide()}function f(n,t,i){jQuery(n).addClass("mapp-error"),jQuery(t).html(i),jQuery(t).show()}var o,e,s,c,h,r;o=i,c=t,h=n,s=h.getMap(),r=this,this.geocode=function(n,t){var i=n instanceof google.maps.LatLng?{latLng:n}:{address:n,region:o,language:c};i.bounds=s.getBounds(),e||(e=new google.maps.Geocoder),e.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 r=n.split(",",2),i=Number(r[0]),t=Number(r[1]);return isNaN(i)||isNaN(t)?!1:new google.maps.LatLng(i,t)},this.geocodeField=function(n,t,i){u(n,t),checkAddress(n,t,jQuery(n).val(),function(r){if(!r){f(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,e,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(e).click(function(){return u(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 f(n,t,mappl10n.no_geolocate);return}),!1})},checkAddress=function(n,t,i,e){if(u(n,t),i=jQuery.trim(i),i==""){e(null);return}var o=r.stringToLatLng(i);if(o){e(o);return}if(i.substring(0,4)=="http"){e(i);return}r.geocode(i,function(i,r){if(!i||r!=google.maps.GeocoderStatus.OK){f(n,t,mappl10n.no_address),e(null);return}e(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)}};var mapp=window.mapp||{};mapp.Icons={},mapp.Icons.StandardIcons=["blue-dot","ltblue-dot","green-dot","pink-dot","purple-dot","red-dot","yellow-dot","blue","green","lightblue","pink","purple","red","yellow","blue-pushpin","grn-pushpin","ltblu-pushpin","pink-pushpin","purple-pushpin","red-pushpin","ylw-pushpin","bar","coffeehouse","man","wheel_chair_accessible","woman","restaurant","snack_bar","parkinglot","bus","cabs","ferry","helicopter","plane","rail","subway","tram","truck","info","info_circle","rainy","sailing","ski","snowflake_simple","swimming","water","fishing","flag","marina","campfire","campground","cycling","golfer","hiker","horsebackriding","motorcycling","picnic","POI","rangerstation","sportvenue","toilets","trail","tree","arts","conveniencestore","dollar","electronics","euro","gas","grocerystore","homegardenbusiness","mechanic","movies","realestate","salon","shopping","yen","caution","earthquake","fallingrocks","firedept","hospitals","lodging","phone","partly_cloudy","police","postoffice-us","sunny","volcano","camera","webcam","iimm1-blue","iimm1-green","iimm1-orange","iimm1-red","iimm2-blue","iimm2-green","iimm2-orange","iimm2-red","kml","poly"],mapp.Icons.get=function(n){var t,r,i;if(n=n?n:mappl10n.defaultIcon,n&&n!=""&&typeof n!="undefined"&&typeof mappl10n.standardIconsUrl!="undefined"){if(typeof mappl10n.icons!="undefined"&&typeof mappl10n.icons[n]!="undefined")r=mappl10n.iconsUrl+n,i=mappl10n.icons[n].shadow?mappl10n.iconsUrl+mappl10n.icons[n].shadow:null,t=mappl10n.icons[n].anchor;else if(jQuery.inArray(n,mapp.Icons.StandardIcons)>=0)r=mappl10n.standardIconsUrl+n+".png",i=n.indexOf("Marker")!=-1?"msmarker.shadow.png":n+".shadow.png",i=mappl10n.standardIconsUrl+i,t=[16,32];else return;return t=t?new google.maps.Point(t[0],t[1]):null,{url:r,shadowUrl:i,anchor:t}}},mapp.Icons.getUrl=function(n){var t=mapp.Icons.get(n);return t?t.url:"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"},function(){jQuery.fn.mappIconPicker=function(n){var t={open:null,close:null,dialog:null};if(typeof mappl10n.id!="undefined"&&jQuery(".mapp-icon-picker").length!=0)return n=jQuery.extend(t,n),this.each(function(){var i=jQuery(this),r,t;i.after("<img class='mapp-icon' src='"+mapp.Icons.getUrl(i.val())+"' title='"+mappl10n.click_to_change+"' />"),r=i.next(),r.click(function(){function e(n){var i=jQuery(n.target);jQuery(t).has(i).length||u()}function u(u){jQuery(document).off("click",e),typeof u!="undefined"&&(i.attr("name")=="mappress_options[defaultIcon]"&&(mappl10n.defaultIcon=u),i.val(u),jQuery(r).attr("src",mapp.Icons.getUrl(u))),n.close&&n.close(u),n.dialog?t.empty():t.remove()}if(t=n.dialog?n.dialog:jQuery('<div id="mapp_icon_picker_dialog"><\/div>').appendTo(document.body).hide(),t.append(jQuery("#mapp_icon_picker").contents().clone()),t.show(),!n.dialog){var f=r.offset();t.css({left:f.left-parseInt(t.outerWidth()/2)+16,top:f.top+r.outerHeight()})}return jQuery(".mapp-icon-picker-cancel",t).click(function(){return u(),!1}),jQuery(".mapp-icon-picker-default",t).click(function(){return u(null),!1}),jQuery("li",t).click(function(){return u(jQuery(this).attr("data-iconid")),!1}),n.dialog||jQuery(document).click(e),n.open&&n.open(),!1})})}}();var 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(),google.maps.event.trigger(this,"domready")},this.draw=function(){var u=r.getProjection().fromLatLngToContainerPixel(i),e,o,s;if(u.x=parseInt(u.x),u.y=parseInt(u.y),e=jQuery(this.getMap().getDiv()),u.x>e.width()||u.x<0||u.y>e.height()||u.y<0){jQuery(n).hide(),jQuery(t).hide();return}jQuery(n).show(),jQuery(t).show(),o=e.offset().left+u.x,s=e.offset().top+u.y-32,jQuery(t).offset({top:s-t.outerHeight()-2,left:o-parseInt(t.outerWidth()/2)});var f=o-parseInt(n.outerWidth()/2),c=s-n.outerHeight()-t.outerHeight(),h=jQuery(document).width();f+n.outerWidth()>h&&(f=Math.max(h-n.outerWidth(),o-n.outerWidth()+parseInt(t.outerWidth()/2))),f<0&&(f=0),jQuery(n).offset({top:c,left:f})},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)}}
1
+ var 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 f,u,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&&(f=new google.maps.LatLng(n.viewport.sw.lat,n.viewport.sw.lng),u=new google.maps.LatLng(n.viewport.ne.lat,n.viewport.ne.lng),this.viewport=f.lat()==0&&f.lng()==0&&u.lat()==0&&u.lng()==0?null:new google.maps.LatLngBounds(f,u)),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()},i=this.overlay.getDefaultViewport(),n.viewport={sw:{lat:i.getSouthWest().lat(),lng:i.getSouthWest().lng()},ne:{lat:i.getNorthEast().lat(),lng:i.getNorthEast().lng()}}),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)})}}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.setZIndex(0),this.setTooltip(),google.maps.event.addListener(this.overlay,"click",function(n){t.open(n)})},setEditable:function(n){var t=this;if(this.isPoly()){t.overlay.setEditable(n),n&&(google.maps.event.addListener(this.overlay,"click",function(){t.overlay.setEditable(!0)}),google.maps.event.addListener(this.overlay,"mouseover",function(){t.overlay.setEditable(!0)}));return}this.type!="kml"&&(this.overlay.setDraggable(n),n?(this.setTooltip(mappl10n.click_and_drag),google.maps.event.addListener(this.overlay,"dragstart",function(){t.map.closeInfoWindow()}),google.maps.event.addListener(this.overlay,"dragend",function(n){t.viewport=null,t.address=null,t.map.openPoi(t),google.maps.event.trigger(t.map,"dragend",t,n)})):this.setTooltip())},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){if(!this.type){this.overlay.setIcon(null),this.overlay.setShadow(null);var t=mapp.Icons.get(n);t&&(t.anchor?(this.overlay.setIcon(new google.maps.MarkerImage(t.url,null,null,t.anchor,null)),this.overlay.setShadow(new google.maps.MarkerImage(t.shadowUrl,null,null,t.anchor,null))):(this.overlay.setIcon(t.url),this.overlay.setShadow(t.shadowUrl)))}},getImage:function(n){var t=mapp.Icons.getUrl(this.iconid);return n=n?n:"","<img class='"+n+"' src='"+t+"' />"},setVisible:function(n){typeof this.overlay.setVisible!="undefined"&&this.overlay.setVisible(n)},setColors:function(n){var r={strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""},i={},t;for(t in r)n&&typeof n[t]!="undefined"&&(i[t]=n[t]);this.overlay.setOptions(i)},getColors:function(){var i={strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""},t={},n;for(n in i)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();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")}};var mapp=window.mapp||{};mapp.Map=function(n){function ht(){var c,l,f;if(!s&&(s=["roadmap","satellite","terrain","hybrid"],mapp.Styles))for(c in mapp.Styles)s.push(c);for(o=o?new google.maps.LatLng(n.center.lat,n.center.lng):new google.maps.LatLng(0,0),l={backgroundColor:"transparent",center:o,draggable:bt,keyboardShortcuts:at,mapTypeControl:di,mapTypeControlOptions:{style:ki,mapTypeIds:s},maxZoom:nr,minZoom:ii,overviewMapControl:yi,overviewMapControlOptions:{opened:vi},panControl:pi,rotateControl:wi,scaleControl:ir,scrollwheel:hr,streetViewControl:ar,tilt:ur,zoom:v?v:0,zoomControl:er,zoomControlOptions:{style:ai}},i=new google.maps.Map(a,l),f=0;f<t.length;f++)t[f].setMap(r);ri(),r.setMapTypeId(fi),ei(),h=="ib"?(mapp.InfoBox.prototype=new google.maps.OverlayView,u=new mapp.InfoBox):u=new google.maps.InfoWindow,h=="ib"&&(at=!1),et=new mapp.Geocoder(r,gi,hi),vt!="none"&&(e=new mapp.Directions(r,vt,et,dt,wt)),r.initCenter(),oi&&jQuery(window).resize(function(){r.resize()})}function ri(){var n,t,r;for(n in mapp.Styles)t=mapp.Styles[n],r=new google.maps.StyledMapType(t,{name:n}),i.mapTypes.set(n,r),lr==n&&i.setOptions({styles:t})}function ei(){fr&&ft("traffic",mappl10n.traffic,ni),ci&&ft("bicycling",mappl10n.bike,kt),or&&ft("transit",mappl10n.transit,gt)}function ft(n,t,r){var e=f+"_"+n,s=r?"checked='checked'":"",o="<div class='gmnoprint mapp-control'><input type='checkbox' id='"+e+"' "+s+" /> "+t+"<\/div>",u=jQuery(o).get(0);i.controls[google.maps.ControlPosition.TOP_RIGHT].push(u),r&&st(n),google.maps.event.clearListeners(u,"click"),google.maps.event.addDomListener(u,"click",function(){st(n)})}function st(n){var r=f+"_"+n,t;switch(n){case"transit":y=y?y:new google.maps.TransitLayer,t=y;break;case"traffic":b=b?b:new google.maps.TrafficLayer,t=b;break;case"bicycling":nt=nt?nt:new google.maps.BicyclingLayer,t=nt}t.getMap()?(jQuery("#"+r).prop("checked",!1),t.setMap(null)):(jQuery("#"+r).prop("checked",!0),t.setMap(i))}var o=n.center,k=n.height,c=n.mapid,fi=n.mapTypeId?n.mapTypeId:"roadmap",ui=n.metaKey,f=n.name,lt=n.options,yt=n.query,ut=n.title,g=n.width,v=parseInt(n.zoom,10),oi=n.options.adaptive,ci=n.options.bicycling,li=n.options.bigHeight,si=n.options.bigWidth,hi=n.options.country,rt=n.options.dataTables,vt=n.options.directions,dt=n.options.directionsServer,wt=n.options.directionsUnits,bt=n.options.draggable,ti=n.options.editable,kt=n.options.initialBicycling,it=n.options.initialOpenDirections,tt=n.options.initialOpenInfo,ni=n.options.initialTraffic,gt=n.options.initialTransit,h=n.options.iwType,pt=n.options.iwDisableAutoPan,at=n.options.keyboardShortcuts,gi=n.options.language,di=n.options.mapTypeControl,ki=parseInt(n.options.mapTypeControlStyle,10),s=n.options.mapTypeIds,tr=n.options.mashupClick,nr=parseInt(n.options.maxZoom),ii=parseInt(n.options.minZoom),yi=n.options.overviewMapControl,vi=n.options.overviewMapControlOpened,pi=n.options.panControl,bi=n.options.poiZoom,wi=n.options.rotateControl,ir=n.options.scaleControl,hr=n.options.scrollwheel,sr=n.height,cr=n.width,ar=n.options.streetViewControl,lr=n.options.style,ur=parseInt(n.options.tilt),rr=n.options.tooltips,fr=n.options.traffic,or=n.options.transit,er=n.options.zoomControl,ai=parseInt(n.options.zoomControlStyle,10),r=this,nt,b,y,e=null,w,ot,p,a,l,et=null,i=null,u=null,t=[],ct=!1,d=0;this.display=function(){if(w=jQuery("#"+f+"_dialog"),ot=jQuery("#"+f+"_directions"),p=jQuery("#"+f+"_layout"),a=document.getElementById(f),l=jQuery("#"+f+"_poi_list"),!a){typeof console!="undefined"&&console.log("MapPress: Missing map name or container for map: "+f);return}if(typeof google=="undefined"){typeof console!="undefined"&&console.log("MapPress: Google API not loaded");return}if(ot.append(jQuery("#"+f+"_directions_").contents()),l.append(jQuery("#"+f+"_poi_list_").contents()),this.setDataTables(),yt){this.ajaxQuery(function(){ht()});return}r.setPois(n.pois,!1),ht()},this.ajaxQuery=function(n,t){e&&e.close(),u&&r.closeInfoWindow(),r.setDialog(),t=t?t:1;var i={action:"mapp_query",name:f,query:yt,options:lt};mapp.Ajax("POST",i,function(t){t.status=="OK"&&(r.hideDialog(),r.setPois(t.data.pois,!0),r.setPoiList(t.data.poiList),n&&n())})},this.setDialog=function(n){n=n?n:'<span class="mapp-spinner"><\/span>'+mappl10n.loading,n='<div class="mapp-dialog-inner">'+n+"<\/div>",jQuery(w).html(n),jQuery(w).show()},this.hideDialog=function(){jQuery(w).hide()},this.setPoiList=function(n){typeof n=="string"?l.html(n):l.append(n),this.setDataTables()},this.setDataTables=function(){if(rt&&typeof jQuery.fn.dataTable!="undefined"){var n=rt==!0?{bFilter:!1,bPaginate:!1}:rt;jQuery("table",l).dataTable(n)}},this.getOptions=function(){return lt},this.getResized=function(){return ct},this.show=function(){p.show(),this.display()},this.closeInfoWindow=function(){u.close()},this.openDirections=function(n,t,i){var u,r;typeof n=="object"?(u=n.address?n.address:n.getPosition().toUrlValue(),n.open()):u=n,typeof t=="object"?(r=t.address?t.address:t.getPosition().toUrlValue(),t.open()):r=t,e.open(u,r,i)},this.setMapTypeId=function(n){n=n&&jQuery.inArray(n,s)!=-1?n:s[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(bi)},this.poiToFront=function(n){if(d++,d>google.maps.Marker.MAX_ZINDEX){d=1;for(var i=0;i<t.length;i++)t[i].setZIndex(0)}n.setZIndex(d)},this.getMap=function(){return i},this.getGeocoder=function(){return et},this.getName=function(){return f},this.setName=function(n){f=n},this.getMapid=function(){return c},this.setMapid=function(n){c=n},this.getTitle=function(){return ut},this.setTitle=function(n){ut=n},this.getWidth=function(){return g},this.setWidth=function(n){g=n},this.getHeight=function(){return k},this.setHeight=function(n){k=n},this.getInfoWindow=function(){return u},this.getEditable=function(){return ti},this.getTooltips=function(){return rr},this.getPoi=function(n){return typeof n=="string"&&(n=parseInt(n,10)),t[n]},this.getPoiById=function(n){for(var i=0;i<t.length;i++)if(t[i].postid==n)return t[i];return null},this.getPois=function(){return t},this.insertPoi=function(n){t.unshift(n),n.setMap(this)},this.addPoi=function(n){t.push(n),n.setMap(this)},this.removePoi=function(n){var i=jQuery.inArray(n,t);i!=-1&&(t[i].setMap(null),t.splice(i,1))},this.setPois=function(n,i){for(var u,r=0;r<t.length;r++)t[r].setMap(null);for(t=[],r=0;r<n.length;r++)u=new mapp.Poi,u.fromJSON(n[r]),t.push(u),i&&u.setMap(this)},this.showPois=function(){for(var n=0;n<t.length;n++)t[n].setVisible(!0)},this.hidePois=function(){for(var n=0;n<t.length;n++)t[n].setVisible(!1)},this.sortPois=function(n){for(var u=Array(),r,i=0;i<n.length;i++){if(r=parseInt(n[i]),isNaN(r))return!1;u.push(t[r])}return u.length!=t.length?!1:(t=u,!0)},this.openPoi=function(n,t){var u,i;if(h&&h!="none"){if(tr=="post"&&n.url){window.location.assign(n.url);return}i={html:null},google.maps.event.trigger(r,"poicontent",n,i),u=i.content?i.content:t&&typeof t.featureData!="undefined"?t.featureData.infoWindowHtml:n.html,this.openInfoWindow(n,u,t)}},this.openInfoWindow=function(n,t,f){if(e&&e.close(),h&&h!="none"){if(this.poiToFront(n),u.close(),u.setContent(t),google.maps.event.addListenerOnce(u,"domready",function(){google.maps.event.trigger(r,"poidomready",n)}),pt){u.setOptions({disableAutoPan:pt});var o=i.getBounds();o.contains(n.getPosition())||n.center()}n.type=="kml"&&f?(u.setOptions({pixelOffset:f.pixelOffset,position:f.latLng}),u.open(i)):n.type?(u.setOptions({position:n.getPosition()}),u.open(i)):u.open(i,n.overlay)}},this.closeInfoWindow=function(){u.close()},this.resize=function(n,t){var r=i.getCenter();n&&t&&(jQuery(a).width(n),jQuery(a).height(t),g=n,k=t),google.maps.event.trigger(i,"resize"),i.setCenter(r),ct=!0;return},this.initCenter=function(){if(this.closeInfoWindow(),google.maps.event.addListenerOnce(i,"idle",function(){r.initWindows()}),o&&o.lat()&&o.lng())i.setCenter(o),i.setZoom(v);else{var n=v?v:!0;r.autoCenter(n)}},this.initWindows=function(){var n;e&&it?(n=isNaN(parseInt(it))?r.getPoi(0):r.getPoi(parseInt(it)),n&&(n.center(!1),r.openDirections("",n,!1))):tt&&(n=isNaN(parseInt(tt))?r.getPoi(0):r.getPoi(parseInt(tt)),n&&n.open())},this.autoCenter=function(n){var r,u,f;if(t.length==0){this.setCenter(0,0),typeof n=="number"?i.setZoom(n):i.setZoom(1);return}if(t.length==1){t[0].center(n);return}for(r=new google.maps.LatLngBounds,u=0;u<t.length;u++)f=t[u].getBounds(),r=f?r.union(f):r.extend(t[u].getPosition());if(n===!1){i.setCenter(r.getCenter());return}if(typeof n=="number"){i.setCenter(r.getCenter()),i.setZoom(n);return}i.fitBounds(r)},this.reset=function(){this.initCenter()},this.bigger=function(n,t,i){e&&e.close(),this.closeInfoWindow(),jQuery(n).text()==t?(jQuery(n).text(i),jQuery(p).width(si),this.resize("100%",li)):(jQuery(n).text(t),jQuery(p).width(cr),this.resize("100%",sr))},this.toJSON=function(){return{center:{lat:i.getCenter().lat(),lng:i.getCenter().lng()},height:k,mapid:c,mapTypeId:i.getMapTypeId(),metaKey:ui,pois:t,title:ut,width:g,zoom:i.getZoom()}},this.ajaxSave=function(n){var t,i;t=typeof Prototype!="undefined"&&typeof Object.toJSON!="undefined"?Object.toJSON(r):t=JSON.stringify(r),i={action:"mapp_save",map:t,postid:mappl10n.postid},mapp.Ajax("POST",i,function(t){t.status=="OK"&&(c=t.data.mapid,n(t.data))})},this.ajaxDelete=function(n){c||n();var t={action:"mapp_delete",mapid:c};mapp.Ajax("POST",t,function(t){t.status=="OK"&&n()})}},mapp.Map.ajaxCreate=function(n,t,i){var r={action:"mapp_create"};mapp.Ajax("GET",r,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.ajaxurl,data:t,success:function(n){if(n.output&&mappl10n.ajaxErrors&&alert("AJAX Error\r\n"+n.output),n.status=="OK"){i(n);return}mappl10n.ajaxErrors&&(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)}})},mapp.on=function(n,t,i,r){if(jQuery.fn.on)jQuery(n).on(t,i,r);else i?jQuery(n+" "+i).live(t,r):jQuery(n).live(t,r)};mapp.on("body","tabsshow",null,function(n,t){t&&t.panel&&jQuery(".mapp-canvas",t.panel).each(function(){var t=jQuery(this).attr("id"),n;t&&(n=window[t],n.getResized()||(n.resize(),n.initCenter()))})});mapp.on("body","tabsactivate",null,function(n,t){t&&t.newPanel&&jQuery(".mapp-canvas",t.newPanel).each(function(){var t=jQuery(this).attr("id"),n;t&&(n=window[t],n.getResized()||(n.resize(),n.initCenter()))})});this.JSON||(this.JSON={}),function(){function i(n){return n<10?"0"+n:n}function o(n){return f.lastIndex=0,f.test(n)?'"'+n.replace(f,function(n){var t=s[n];return typeof t=="string"?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function u(i,f){var h,l,c,a,v=n,s,e=f[i];e&&typeof e=="object"&&typeof e.toJSON=="function"&&(e=e.toJSON(i)),typeof t=="function"&&(e=t.call(f,i,e));switch(typeof e){case"string":return o(e);case"number":return isFinite(e)?String(e):"null";case"boolean":case"null":return String(e);case"object":if(!e)return"null";if(n+=r,s=[],Object.prototype.toString.apply(e)==="[object Array]"){for(a=e.length,h=0;h<a;h+=1)s[h]=u(h,e)||"null";return c=s.length===0?"[]":n?"[\n"+n+s.join(",\n"+n)+"\n"+v+"]":"["+s.join(",")+"]",n=v,c}if(t&&typeof t=="object")for(a=t.length,h=0;h<a;h+=1)l=t[h],typeof l=="string"&&(c=u(l,e))&&s.push(o(l)+(n?": ":":")+c);else for(l in e)Object.hasOwnProperty.call(e,l)&&(c=u(l,e))&&s.push(o(l)+(n?": ":":")+c);return c=s.length===0?"{}":n?"{\n"+n+s.join(",\n"+n)+"\n"+v+"}":"{"+s.join(",")+"}",n=v,c}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,r,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t;typeof JSON.stringify!="function"&&(JSON.stringify=function(i,f,e){var o;if(r=n="",typeof e=="number")for(o=0;o<e;o+=1)r+=" ";else typeof e=="string"&&(r=e);if((t=f)&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw Error("JSON.stringify");return u("",{"":i})}),typeof JSON.parse!="function"&&(JSON.parse=function(n,t){function r(n,i){var f,e,u=n[i];if(u&&typeof u=="object")for(f in u)Object.hasOwnProperty.call(u,f)&&(e=r(u,f),e!==undefined?u[f]=e:delete u[f]);return t.call(n,i,u)}var i;if(n=String(n),e.lastIndex=0,e.test(n)&&(n=n.replace(e,function(n){return"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*#x2F;.test(n.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return i=eval("("+n+")"),typeof t=="function"?r({"":i},""):i;throw new SyntaxError("JSON.parse");})}();(function(){jQuery.fn.mappColorpicker=function(n){var u={colors:["800000","FF0000","FFA500","FFFF00","808000","800080","FF00FF","FFFFFF","00FF00","008000","000080","0000FF","00FFFF","008080","000000","808080","C0C0C0",]};n=jQuery.extend(u,n);var r=function(n){var r=n.substr(1,2),i=n.substr(3,2),t=n.substr(5,2);return.212671*r+.71516*i+.072169*t<.5?"ffffff":"000000"},i=function(n){var t=n.val();n.css({"background-color":t,color:"#"+r(t)})},t=jQuery("#mapp_colorpicker");return t.length||(t=jQuery('<div id="mapp_colorpicker"><\/div>').appendTo(document.body).hide()),jQuery(document).click(function(n){jQuery(n.target).is("#mapp_colorpicker")||jQuery(n.target).parents("#mapp_colorpicker").length||t.hide()}),this.each(function(){var r=jQuery(this),u;i(r),u="",jQuery.each(n.colors,function(n,t){u+='<li><a href="#" style="background-color: #'+t+';">'+t+"<\/a><\/li>"}),r.keydown(function(n){n.keyCode===9&&t.hide()}),r.click(function(){var n=r.offset();return t.html("<ul>"+u+"<\/ul>").css({position:"absolute",left:n.left,top:n.top+r.outerHeight()}).show(),jQuery("a",t).click(function(){var n=jQuery(this).text();return r.val("#"+n),r.change(),t.hide(),!1}),!1}),r.change(function(){i(r)})})}})();var mapp=window.mapp||{};mapp.Directions=function(n,t,i,r,u){function y(){jQuery(".mapp-dir-swap",f).click(function(){var t=jQuery(".mapp-dir-daddr",f).val(),n=jQuery(".mapp-dir-saddr",f).val();return jQuery(".mapp-dir-saddr",f).val(t),jQuery(".mapp-dir-daddr",f).val(n),jQuery(".mapp-dir-get",f).click(),!1}),jQuery(".mapp-dir-get",f).click(function(){return o.getDirections(),!1}),jQuery(".mapp-dir-print",f).click(function(){o.printDirections()}),jQuery(".mapp-dir-close",f).click(function(){return o.close(),!1}),jQuery(".mapp-travelmode",f).click(function(){return jQuery(".mapp-travelmode",f).removeClass("mapp-travelmode-on"),jQuery(this).addClass("mapp-travelmode-on"),o.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 v(n,t,i){var r;r=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=null,s={travelMode:r,transitOptions:{departureTime:o},provideRouteAlternatives:!0,origin:n,destination:t,unitSystem:w},u=jQuery(".mapp-dir-renderer",f).get(0);jQuery(".mapp-dir-renderer",f).empty(),l||(l=new google.maps.DirectionsService),l.route(s,function(n,t){switch(t){case google.maps.DirectionsStatus.OK:h.hidePois(),e?(e.setDirections(n),e.setMap(a),e.setPanel(u)):e=new google.maps.DirectionsRenderer({map:a,panel:u,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,p=t,c=i,s=r,w=u,f=jQuery("#"+n.getName()+"_directions"),e,l,a=n.getMap(),o=this;s.toLowerCase().indexOf("http")==-1&&(s="https://"+s),y(),this.open=function(n,t,i){if(p=="google"){this.openGoogle(n,t,0);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 i=jQuery(".mapp-dir-saddr",f),r=jQuery(".mapp-dir-daddr",f),n=jQuery(".mapp-dir-saddr-err",f),t=jQuery(".mapp-dir-daddr-err",f);c.geocodeField(i,n,function(n){c.geocodeField(r,t,function(t){n&&t?v(n,t,function(){jQuery(".mapp-spinner",f).hide();return}):jQuery(".mapp-spinner",f).hide()})})},this.printDirections=function(){var n;jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-walk")?n="w":jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-bike")&&(n="b"),this.openGoogle(jQuery(".mapp-dir-saddr",f).val(),jQuery(".mapp-dir-daddr",f).val(),3,n)},this.openGoogle=function(n,t,i,r){var u=s;u+="?saddr="+encodeURIComponent(n),u+="&daddr="+encodeURIComponent(t),u+="&pw="+i,u+=r?"&dirflg="+r:"",window.open(u)}};var mapp=window.mapp||{};mapp.Geocoder=function(n,t,i){function u(n,t){jQuery(n).removeClass("mapp-error"),jQuery(t).hide()}function f(n,t,i){jQuery(n).addClass("mapp-error"),jQuery(t).html(i),jQuery(t).show()}var o,e,s,c,h,r;o=i,c=t,h=n,s=h.getMap(),r=this,this.geocode=function(n,t){var i=n instanceof google.maps.LatLng?{latLng:n}:{address:n,region:o,language:c};i.bounds=s.getBounds(),e||(e=new google.maps.Geocoder),e.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 r=n.split(",",2),i=Number(r[0]),t=Number(r[1]);return isNaN(i)||isNaN(t)?!1:new google.maps.LatLng(i,t)},this.geocodeField=function(n,t,i){u(n,t),checkAddress(n,t,jQuery(n).val(),function(r){if(!r){f(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,e,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(e).click(function(){return u(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 f(n,t,mappl10n.no_geolocate);return}),!1})},checkAddress=function(n,t,i,e){if(u(n,t),i=jQuery.trim(i),i==""){e(null);return}var o=r.stringToLatLng(i);if(o){e(o);return}if(i.substring(0,4)=="http"){e(i);return}r.geocode(i,function(i,r){if(!i||r!=google.maps.GeocoderStatus.OK){f(n,t,mappl10n.no_address),e(null);return}e(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)}};var mapp=window.mapp||{};mapp.Icons={},mapp.Icons.StandardIcons=["blue-dot","ltblue-dot","green-dot","pink-dot","purple-dot","red-dot","yellow-dot","blue","green","lightblue","pink","purple","red","yellow","blue-pushpin","grn-pushpin","ltblu-pushpin","pink-pushpin","purple-pushpin","red-pushpin","ylw-pushpin","bar","coffeehouse","man","wheel_chair_accessible","woman","restaurant","snack_bar","parkinglot","bus","cabs","ferry","helicopter","plane","rail","subway","tram","truck","info","info_circle","rainy","sailing","ski","snowflake_simple","swimming","water","fishing","flag","marina","campfire","campground","cycling","golfer","hiker","horsebackriding","motorcycling","picnic","POI","rangerstation","sportvenue","toilets","trail","tree","arts","conveniencestore","dollar","electronics","euro","gas","grocerystore","homegardenbusiness","mechanic","movies","realestate","salon","shopping","yen","caution","earthquake","fallingrocks","firedept","hospitals","lodging","phone","partly_cloudy","police","postoffice-us","sunny","volcano","camera","webcam","iimm1-blue","iimm1-green","iimm1-orange","iimm1-red","iimm2-blue","iimm2-green","iimm2-orange","iimm2-red","kml","poly"],mapp.Icons.get=function(n){var t,r,i;if(n=n?n:mappl10n.defaultIcon,n&&n!=""&&typeof n!="undefined"&&typeof mappl10n.standardIconsUrl!="undefined"){if(typeof mappl10n.icons!="undefined"&&typeof mappl10n.icons[n]!="undefined")r=mappl10n.iconsUrl+n,i=mappl10n.icons[n].shadow?mappl10n.iconsUrl+mappl10n.icons[n].shadow:null,t=mappl10n.icons[n].anchor;else if(jQuery.inArray(n,mapp.Icons.StandardIcons)>=0)r=mappl10n.standardIconsUrl+n+".png",i=n.indexOf("Marker")!=-1?"msmarker.shadow.png":n+".shadow.png",i=mappl10n.standardIconsUrl+i,t=[16,32];else return;return t=t?new google.maps.Point(t[0],t[1]):null,{url:r,shadowUrl:i,anchor:t}}},mapp.Icons.getUrl=function(n){var t=mapp.Icons.get(n);return t?t.url:"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"},function(){jQuery.fn.mappIconPicker=function(n){var t={open:null,close:null,dialog:null};if(typeof mappl10n.id!="undefined"&&jQuery(".mapp-icon-picker").length!=0)return n=jQuery.extend(t,n),this.each(function(){var i=jQuery(this),r,t;i.after("<img class='mapp-icon' src='"+mapp.Icons.getUrl(i.val())+"' title='"+mappl10n.click_to_change+"' />"),r=i.next(),r.click(function(){function e(n){var i=jQuery(n.target);jQuery(t).has(i).length||u()}function u(u){jQuery(document).off("click",e),typeof u!="undefined"&&(i.attr("name")=="mappress_options[defaultIcon]"&&(mappl10n.defaultIcon=u),i.val(u),jQuery(r).attr("src",mapp.Icons.getUrl(u))),n.close&&n.close(u),n.dialog?t.empty():t.remove()}if(t=n.dialog?n.dialog:jQuery('<div id="mapp_icon_picker_dialog"><\/div>').appendTo(document.body).hide(),t.append(jQuery("#mapp_icon_picker").contents().clone()),t.show(),!n.dialog){var f=r.offset();t.css({left:f.left-parseInt(t.outerWidth()/2)+16,top:f.top+r.outerHeight()})}return jQuery(".mapp-icon-picker-cancel",t).click(function(){return u(),!1}),jQuery(".mapp-icon-picker-default",t).click(function(){return u(null),!1}),jQuery("li",t).click(function(){return u(jQuery(this).attr("data-iconid")),!1}),n.dialog||jQuery(document).click(e),n.open&&n.open(),!1})})}}();var 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(),google.maps.event.trigger(this,"domready")},this.draw=function(){var u=r.getProjection().fromLatLngToContainerPixel(i),e,o,s;if(u.x=parseInt(u.x),u.y=parseInt(u.y),e=jQuery(this.getMap().getDiv()),u.x>e.width()||u.x<0||u.y>e.height()||u.y<0){jQuery(n).hide(),jQuery(t).hide();return}jQuery(n).show(),jQuery(t).show(),o=e.offset().left+u.x,s=e.offset().top+u.y-32,jQuery(t).offset({top:s-t.outerHeight()-2,left:o-parseInt(t.outerWidth()/2)});var f=o-parseInt(n.outerWidth()/2),c=s-n.outerHeight()-t.outerHeight(),h=jQuery(document).width();f+n.outerWidth()>h&&(f=Math.max(h-n.outerWidth(),o-n.outerWidth()+parseInt(t.outerWidth()/2))),f<0&&(f=0),jQuery(n).offset({top:c,left:f})},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)}}
js/mappress_editor.min.js CHANGED
@@ -1 +1 @@
1
- var mapp=window.mapp||{};mapp.Media=function(){function f(i){n=i,jQuery("#mapp_m_editor").empty(),jQuery("#mapp_m_editor").append(e.clone());var r=n.getMapid();r?jQuery("#mapp_m_mapid").text(r):jQuery("#mapp_m_mapid").text(""),jQuery("#mapp_m_title").val(n.getTitle()),jQuery("#mapp_m_width").val(n.getWidth()),jQuery("#mapp_m_height").val(n.getHeight()),jQuery("#mapp_m_edit_panel").show(),jQuery("#mapp_m_list_panel").hide(),t=new mapp.Editor(n)}function u(){t.close(),n=null,t=null,jQuery("#mapp_m_edit_panel").hide(),jQuery("#mapp_m_list_panel").show()}function c(){mapp.Map.ajaxCreate("mapp_edit",i,function(n){f(n)})}function h(n){mapp.Map.ajaxGet(n,"mapp_edit",i,function(n){f(n)})}function o(n){var t='[mappress mapid="'+n+'"]';send_to_editor(t)}function r(){if(n){var t=jQuery.trim(jQuery("#mapp_m_title").val());t=t!=""?t:mappl10n.untitled,n.setTitle(t),n.ajaxSave(function(n){n.list&&jQuery("#mapp_m_maplist").html(n.list),u()})}}function s(n){confirm(mappl10n.delete_map_prompt)&&(jQuery("#mapp_m_maplist tr[data-mapid='"+n+"']").remove(),mapp.Map.ajaxDelete(n))}var t,n,e,l=this,i;e=jQuery("#mapp_m_editor").contents().detach(),i={bicycling:!1,directions:"none",editable:!0,initialOpenInfo:!1,iwDisableAutoPan:!1,iwType:"ib",mapTypeControl:!0,mapTypeControlStyle:2,mapTypeIds:null,navigationControlOptions:{style:0},overviewMapControl:!1,overviewMapControlOptions:{opened:!1},streetViewControl:!1,traffic:!1,transit:!1},jQuery("#mapp_m_list_panel").show(),jQuery("#mapp_m_add_map").click(function(){return c(),!1});jQuery("#mapp_m_maplist").on("click","tr",function(n){var t=jQuery(this).attr("data-mapid");return jQuery(n.target).hasClass("mapp-maplist-edit")?(h(t),!1):jQuery(n.target).hasClass("mapp-maplist-delete")?(s(t),!1):jQuery(n.target).hasClass("mapp-maplist-insert")?(o(t),!1):void 0});jQuery(".mapp-m-size").click(function(){var i=jQuery(this).data("width"),n=jQuery(this).data("height");return jQuery("#mapp_m_width").val(i),jQuery("#mapp_m_height").val(n),t.resize(i,n),!1}),jQuery("#mapp_m_width, #mapp_m_height").change(function(){return jQuery(this).val()<200&&jQuery(this).val(200),t.resize(jQuery("#mapp_m_width").val(),jQuery("#mapp_m_height").val()),!1}),jQuery("#publish, #post-preview").click(function(){r()}),jQuery("#mapp_m_save").click(function(){return r(),!1}),jQuery("#mapp_m_title").keypress(function(n){if(n.which==13)return n.preventDefault(),jQuery("#mapp_m_save").click(),!1}),jQuery("#mapp_m_cancel").click(function(){return u(),!1}),jQuery("#mapp_m_insert").click(function(){var i=n.getMapid(),t='[mappress mapid="'+n.getMapid()+'"]';return i?send_to_editor(t):alert(mappl10n.save_first),!1})},mapp.Editor=function(n){function y(){s=jQuery("#mapp_e_infobox").detach(),t=n,t.display(),this.resize(t.getWidth(),t.getHeight()),i(),typeof mappl10n.id!="undefined"&&(u=new google.maps.drawing.DrawingManager({circleOptions:r,drawingControlOptions:{drawingModes:[google.maps.drawing.OverlayType.MARKER,google.maps.drawing.OverlayType.POLYGON,google.maps.drawing.OverlayType.POLYLINE,google.maps.drawing.OverlayType.RECTANGLE,google.maps.drawing.OverlayType.CIRCLE]},polygonOptions:r,polylineOptions:r,rectangleOptions:r}),u.setMap(t.getMap()),google.maps.event.addListener(u,"overlaycomplete",function(n){c(n)})),t.getGeocoder().autocompleteField("#mapp_e_saddr","#mapp_e_saddr_err","#mapp_e_search","#mapp_e_myloc",b),google.maps.event.addListener(t,"poicontent",v),google.maps.event.addListener(t,"poidomready",p),jQuery("#mapp_e_recenter").click(function(){return t.closeInfoWindow(),t.autoCenter(!0),!1}),google.maps.event.addListener(t.getMap(),"click",function(n){jQuery("#mapp_e_latlng").text(n.latLng.toUrlValue())})}function i(){for(var r=t.getPois(),u="<table>",n=0;n<r.length;n++){var o=r[n].title.replace(/\'/g,"&rsquo;"),e=r[n].getImage("mapp-e-icon"),f=r[n].address;u+="<tr id='"+n+"'><td>"+e+"<\/td><td style='width:100%'><a href='#' title='"+f+"'><b>"+o+"<\/b><\/a><div class='mapp-e-actions'><a href='#' class='mapp-e-poi-list-zoom' data-idx='"+n+"'>"+mappl10n.zoom+"<\/a> | <a href='#' class='mapp-e-poi-list-delete' data-idx='"+n+"'>"+mappl10n.del+"<\/a><\/div><\/td><\/tr>"}u+="<\/table>",jQuery("#mapp_e_poi_list").html(u),jQuery("#mapp_e_poi_list tbody").sortable({axis:"y",placeholder:"mapp-e-sortable-placeholder",forcePlaceholderSize:!0,delay:200,update:function(){var n=jQuery("#mapp_e_poi_list tbody").sortable("toArray");t.sortPois(n),i()}}),jQuery("#mapp_e_poi_list tr").click(function(n){var r=jQuery(this).attr("id"),i;return jQuery(n.target).hasClass("mapp-e-poi-list-zoom")?(i=t.getPoi(r),i&&i.zoomIn(),!1):jQuery(n.target).hasClass("mapp-e-poi-list-delete")?(i=t.getPoi(r),i&&l(i),!1):(t.getPoi(r).click(),!1)})}function v(n,t){var i=jQuery(s).clone(),r;jQuery("#mapp_e_poi_title",i).val(n.title),jQuery("#mapp_e_poi_body",i).val(n.body),jQuery("#mapp_e_poi_iconid",i).val(n.iconid),n.isPoly()&&(n.type=="polyline"?jQuery("#mapp_e_poi_polyline_fields",i).show():jQuery("#mapp_e_poi_polyline_fields, #mapp_e_poi_polygon_fields",i).show(),r=n.getColors(),jQuery("#mapp_stroke_color",i).val(r.strokeColor),jQuery("#mapp_stroke_weight",i).val(r.strokeWeight),jQuery("#mapp_stroke_opacity",i).val(parseInt(r.strokeOpacity*100)),jQuery("#mapp_fill_color",i).val(r.fillColor),jQuery("#mapp_fill_opacity",i).val(parseInt(r.fillOpacity*100))),n.type=="kml"&&(jQuery("#mapp_e_poi_kml_fields",i).show(),jQuery("#mapp_e_poi_kml_url",i).val(n.overlay.getUrl())),t.content=i}function p(n){var u={title:n.title,body:n.body,iconid:n.iconid,colors:n.getColors()};a(),jQuery("#mapp_e_poi_title").focus(),n.isPoly()?(jQuery("#mapp_stroke_color, #mapp_fill_color, #mapp_stroke_weight, #mapp_stroke_opacity, #mapp_fill_opacity").change(function(){var t={strokeColor:jQuery("#mapp_stroke_color").val(),strokeWeight:parseInt(jQuery("#mapp_stroke_weight").val()),strokeOpacity:jQuery("#mapp_stroke_opacity").val()/100};n.type!="polyline"&&(t.fillColor=jQuery("#mapp_fill_color").val(),t.fillOpacity=jQuery("#mapp_fill_opacity").val()/100),n.setColors(t),r=t}),jQuery("#mapp_stroke_color, #mapp_fill_color").mappColorpicker({})):jQuery("#mapp_e_poi_iconid").mappIconPicker({dialog:jQuery("#mapp_e_poi_icon_picker"),open:function(){jQuery("#mapp_e_poi_fields").hide()},close:function(t){jQuery("#mapp_e_poi_fields").show(),typeof t!="undefined"&&(e=t,n.iconid=t,n.setIcon(t),i())}}),google.maps.event.addListenerOnce(t.getInfoWindow(),"closeclick",function(){jQuery("#mapp_colorpicker").hide(),n.title=jQuery("#mapp_e_poi_title").val(),n.body=jQuery("#mapp_e_poi_body").val(),i()}),jQuery("#mapp_e_save_poi").click(function(){return t.closeInfoWindow(),!1}),jQuery("#mapp_e_cancel_poi").click(function(){return t.closeInfoWindow(),n.title=u.title,n.body=u.body,n.iconid=u.iconid,n.setIcon(u.iconid),n.setColors(u.colors),i(),!1})}function b(n){if(n){if(n.geometry){var t=mapp.Geocoder.parseAddress(n.formatted_address),u=n.name?n.name:t.firstLine,r=n.name?t.firstLine+", "+t.secondLine:t.secondLine,i=new mapp.Poi({address:n.formatted_address,body:r,iconid:e,overlay:new google.maps.Marker({position:n.geometry.location}),title:u,type:null,viewport:n.geometry.viewport?n.geometry.viewport:null});f(i,!0);return}if(n instanceof google.maps.LatLng)return h(n);if(typeof n=="string"&&n.substring(0,4)=="http")return w(n);alert("Internal error, unable to add location")}}function w(n){var t=new mapp.Poi({iconid:e,overlay:new google.maps.KmlLayer(n,{suppressInfoWindows:!0}),title:"KML",type:"kml"});google.maps.event.addListener(t.overlay,"status_changed",function(){var r=t.overlay.getStatus(),n;r=="OK"?(n=t.overlay.getMetadata(),t.title=n.name,t.body=n.description,t.viewport=t.overlay.getDefaultViewport(),i()):alert(mappl10n.kml_error+":"+r)}),f(t,!0)}function h(n){poi=new mapp.Poi({body:"",iconid:e,overlay:new google.maps.Marker({position:n}),title:n.toUrlValue(4)}),f(poi,!0)}function c(n){var t;u.setDrawingMode(null);switch(n.type){case"polygon":case"polyline":case"circle":case"rectangle":t=new mapp.Poi({body:"",colors:r,iconid:"poly",overlay:n.overlay,title:mappl10n.shape,type:n.type});break;case"marker":default:t=new mapp.Poi({body:"",iconid:null,overlay:n.overlay,title:n.overlay.getPosition().toUrlValue(4),type:null})}f(t,!1)}function f(n,r){t.closeInfoWindow(),u&&u.setDrawingMode(null),t.insertPoi(n),r&&n.center(!0),i()}function a(){var i,n;typeof tinyMCE!="undefined"&&typeof tinyMCE.init!="undefined"&&(i="en",typeof window.tinyMCEPreInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit.content!="undefined"&&(n=window.tinyMCEPreInit.mceInit.content,i=typeof n.language!="undefined"?n.language:"en"),tinyMCE.init({mode:"none",height:"175px",convert_urls:!1,language:i,relative_urls:!1,remove_script_host:!1,theme:"advanced",theme_advanced_toolbar_location:"top",theme_advanced_buttons1:"formatselect, forecolor,|,bold,italic,|,justifyleft,justifycenter,justifyright,|,link,unlink,|,image,separator,undo,redo",theme_advanced_buttons2:"",theme_advanced_buttons3:"",setup:function(n){n.onInit.add(function(n){n.getBody().style.fontSize="12px"})}}),o&&setTimeout(function(){tinyMCE.execCommand("mceAddControl",!1,"mapp_e_poi_body")},2),jQuery("#mapp_e_visual").click(function(){tinyMCE.execCommand("mceAddControl",!1,"mapp_e_poi_body"),o=!0}),jQuery("#mapp_e_html").click(function(){tinyMCE.execCommand("mceRemoveControl",!1,"mapp_e_poi_body"),o=!1}),google.maps.event.addListenerOnce(t.getInfoWindow(),"closeclick",function(){tinyMCE.getInstanceById("mapp_e_poi_body")&&(tinyMCE.getInstanceById("mapp_e_poi_body").save(),tinyMCE.execCommand("mceRemoveControl",!1,"mapp_e_poi_body"))}))}function l(n){return t.closeInfoWindow(),confirm(mappl10n.delete_prompt)?(t.removePoi(n),i(),!0):!1}var u,s,e=null,r={fillColor:"#9FC6E7",fillOpacity:.5,strokeColor:"#0000FF",strokeOpacity:1,strokeWeight:2},o=!0,t=n;this.close=function(){t.closeInfoWindow()},this.resize=function(n,i){t.resize(n,i),t.closeInfoWindow();var u=jQuery("#mapp_e_top_toolbar").outerHeight(),r=jQuery("#mapp_edit").outerHeight();jQuery("#mapp_e_poi_list").height(u+r)},y.apply(this)}
1
+ var mapp=window.mapp||{};mapp.Media=function(){function f(i){n=i,jQuery("#mapp_m_editor").empty(),jQuery("#mapp_m_editor").append(e.clone());var r=n.getMapid();r?jQuery("#mapp_m_mapid").text(r):jQuery("#mapp_m_mapid").text(""),jQuery("#mapp_m_title").val(n.getTitle()),jQuery("#mapp_m_width").val(n.getWidth()),jQuery("#mapp_m_height").val(n.getHeight()),jQuery("#mapp_m_edit_panel").show(),jQuery("#mapp_m_list_panel").hide(),t=new mapp.Editor(n)}function u(){t.close(),n=null,t=null,jQuery("#mapp_m_edit_panel").hide(),jQuery("#mapp_m_list_panel").show()}function c(){mapp.Map.ajaxCreate("mapp_edit",i,function(n){f(n)})}function h(n){mapp.Map.ajaxGet(n,"mapp_edit",i,function(n){f(n)})}function o(n){var t='[mappress mapid="'+n+'"]';send_to_editor(t)}function r(){if(n){var t=jQuery.trim(jQuery("#mapp_m_title").val());t=t!=""?t:mappl10n.untitled,n.setTitle(t),n.ajaxSave(function(n){n.list&&jQuery("#mapp_m_maplist").html(n.list),u()})}}function s(n){confirm(mappl10n.delete_map_prompt)&&(jQuery("#mapp_m_maplist tr[data-mapid='"+n+"']").remove(),mapp.Map.ajaxDelete(n))}var t,n,e,l=this,i;e=jQuery("#mapp_m_editor").contents().detach(),i={bicycling:!1,directions:"none",editable:!0,initialOpenInfo:!1,iwDisableAutoPan:!1,iwType:"ib",mapTypeControl:!0,mapTypeControlStyle:2,mapTypeIds:null,navigationControlOptions:{style:0},overviewMapControl:!1,overviewMapControlOptions:{opened:!1},streetViewControl:!1,traffic:!1,transit:!1},jQuery("#mapp_m_list_panel").show(),jQuery("#mapp_m_add_map").click(function(){return c(),!1});jQuery("#mapp_m_maplist").on("click","tr",function(n){var t=jQuery(this).attr("data-mapid");return jQuery(n.target).hasClass("mapp-maplist-edit")?(h(t),!1):jQuery(n.target).hasClass("mapp-maplist-delete")?(s(t),!1):jQuery(n.target).hasClass("mapp-maplist-insert")?(o(t),!1):void 0});jQuery(".mapp-m-size").click(function(){var i=jQuery(this).data("width"),n=jQuery(this).data("height");return jQuery("#mapp_m_width").val(i),jQuery("#mapp_m_height").val(n),t.resize(i,n),!1}),jQuery("#mapp_m_width, #mapp_m_height").change(function(){var i=jQuery("#mapp_m_width").val(),n=jQuery("#mapp_m_height").val();return t.resize(i,n),!1}),jQuery("#publish, #post-preview").click(function(){r()}),jQuery("#mapp_m_save").click(function(){return r(),!1}),jQuery("#mapp_m_title").keypress(function(n){if(n.which==13)return n.preventDefault(),jQuery("#mapp_m_save").click(),!1}),jQuery("#mapp_m_cancel").click(function(){return u(),!1}),jQuery("#mapp_m_insert").click(function(){var i=n.getMapid(),t='[mappress mapid="'+n.getMapid()+'"]';return i?send_to_editor(t):alert(mappl10n.save_first),!1})},mapp.Editor=function(n){function y(){s=jQuery("#mapp_e_infobox").detach(),t=n,t.display(),this.resize(t.getWidth(),t.getHeight()),i(),typeof mappl10n.id!="undefined"&&(u=new google.maps.drawing.DrawingManager({circleOptions:r,drawingControlOptions:{drawingModes:[google.maps.drawing.OverlayType.MARKER,google.maps.drawing.OverlayType.POLYGON,google.maps.drawing.OverlayType.POLYLINE,google.maps.drawing.OverlayType.RECTANGLE,google.maps.drawing.OverlayType.CIRCLE]},polygonOptions:r,polylineOptions:r,rectangleOptions:r}),u.setMap(t.getMap()),google.maps.event.addListener(u,"overlaycomplete",function(n){c(n)})),t.getGeocoder().autocompleteField("#mapp_e_saddr","#mapp_e_saddr_err","#mapp_e_search","#mapp_e_myloc",b),google.maps.event.addListener(t,"poicontent",v),google.maps.event.addListener(t,"poidomready",p),jQuery("#mapp_e_recenter").click(function(){return t.closeInfoWindow(),t.autoCenter(!0),!1}),google.maps.event.addListener(t.getMap(),"click",function(n){jQuery("#mapp_e_latlng").text(n.latLng.toUrlValue())})}function i(){for(var r=t.getPois(),u="<table>",n=0;n<r.length;n++){var o=r[n].title.replace(/\'/g,"&rsquo;"),e=r[n].getImage("mapp-e-icon"),f=r[n].address;u+="<tr id='"+n+"'><td>"+e+"<\/td><td style='width:100%'><a href='#' title='"+f+"'><b>"+o+"<\/b><\/a><div class='mapp-e-actions'><a href='#' class='mapp-e-poi-list-zoom' data-idx='"+n+"'>"+mappl10n.zoom+"<\/a> | <a href='#' class='mapp-e-poi-list-delete' data-idx='"+n+"'>"+mappl10n.del+"<\/a><\/div><\/td><\/tr>"}u+="<\/table>",jQuery("#mapp_e_poi_list").html(u),jQuery("#mapp_e_poi_list tbody").sortable({axis:"y",placeholder:"mapp-e-sortable-placeholder",forcePlaceholderSize:!0,delay:200,update:function(){var n=jQuery("#mapp_e_poi_list tbody").sortable("toArray");t.sortPois(n),i()}}),jQuery("#mapp_e_poi_list tr").click(function(n){var r=jQuery(this).attr("id"),i;return jQuery(n.target).hasClass("mapp-e-poi-list-zoom")?(i=t.getPoi(r),i&&i.zoomIn(),!1):jQuery(n.target).hasClass("mapp-e-poi-list-delete")?(i=t.getPoi(r),i&&l(i),!1):(t.getPoi(r).click(),!1)})}function v(n,t){var i=jQuery(s).clone(),r;jQuery("#mapp_e_poi_title",i).val(n.title),jQuery("#mapp_e_poi_body",i).val(n.body),jQuery("#mapp_e_poi_iconid",i).val(n.iconid),n.isPoly()&&(n.type=="polyline"?jQuery("#mapp_e_poi_polyline_fields",i).show():jQuery("#mapp_e_poi_polyline_fields, #mapp_e_poi_polygon_fields",i).show(),r=n.getColors(),jQuery("#mapp_stroke_color",i).val(r.strokeColor),jQuery("#mapp_stroke_weight",i).val(r.strokeWeight),jQuery("#mapp_stroke_opacity",i).val(parseInt(r.strokeOpacity*100)),jQuery("#mapp_fill_color",i).val(r.fillColor),jQuery("#mapp_fill_opacity",i).val(parseInt(r.fillOpacity*100))),n.type=="kml"&&(jQuery("#mapp_e_poi_kml_fields",i).show(),jQuery("#mapp_e_poi_kml_url",i).val(n.overlay.getUrl())),t.content=i}function p(n){var u={title:n.title,body:n.body,iconid:n.iconid,colors:n.getColors()};a(),jQuery("#mapp_e_poi_title").focus(),n.isPoly()?(jQuery("#mapp_stroke_color, #mapp_fill_color, #mapp_stroke_weight, #mapp_stroke_opacity, #mapp_fill_opacity").change(function(){var t={strokeColor:jQuery("#mapp_stroke_color").val(),strokeWeight:parseInt(jQuery("#mapp_stroke_weight").val()),strokeOpacity:jQuery("#mapp_stroke_opacity").val()/100};n.type!="polyline"&&(t.fillColor=jQuery("#mapp_fill_color").val(),t.fillOpacity=jQuery("#mapp_fill_opacity").val()/100),n.setColors(t),r=t}),jQuery("#mapp_stroke_color, #mapp_fill_color").mappColorpicker({})):jQuery("#mapp_e_poi_iconid").mappIconPicker({dialog:jQuery("#mapp_e_poi_icon_picker"),open:function(){jQuery("#mapp_e_poi_fields").hide()},close:function(t){jQuery("#mapp_e_poi_fields").show(),typeof t!="undefined"&&(e=t,n.iconid=t,n.setIcon(t),i())}}),google.maps.event.addListenerOnce(t.getInfoWindow(),"closeclick",function(){jQuery("#mapp_colorpicker").hide(),n.title=jQuery("#mapp_e_poi_title").val(),n.body=jQuery("#mapp_e_poi_body").val(),i()}),jQuery("#mapp_e_save_poi").click(function(){return t.closeInfoWindow(),!1}),jQuery("#mapp_e_cancel_poi").click(function(){return t.closeInfoWindow(),n.title=u.title,n.body=u.body,n.iconid=u.iconid,n.setIcon(u.iconid),n.setColors(u.colors),i(),!1})}function b(n){if(n){if(n.geometry){var t=mapp.Geocoder.parseAddress(n.formatted_address),u=n.name?n.name:t.firstLine,r=n.name?t.firstLine+", "+t.secondLine:t.secondLine,i=new mapp.Poi({address:n.formatted_address,body:r,iconid:e,overlay:new google.maps.Marker({position:n.geometry.location}),title:u,type:null,viewport:n.geometry.viewport?n.geometry.viewport:null});f(i,!0);return}if(n instanceof google.maps.LatLng)return h(n);if(typeof n=="string"&&n.substring(0,4)=="http")return w(n);alert("Internal error, unable to add location")}}function w(n){var t=new mapp.Poi({iconid:e,overlay:new google.maps.KmlLayer(n,{suppressInfoWindows:!0}),title:"KML",type:"kml"});google.maps.event.addListener(t.overlay,"status_changed",function(){var r=t.overlay.getStatus(),n;r=="OK"?(n=t.overlay.getMetadata(),t.title=n.name,t.body=n.description,t.viewport=t.overlay.getDefaultViewport(),i()):alert(mappl10n.kml_error+":"+r)}),f(t,!0)}function h(n){poi=new mapp.Poi({body:"",iconid:e,overlay:new google.maps.Marker({position:n}),title:n.toUrlValue(4)}),f(poi,!0)}function c(n){var t;u.setDrawingMode(null);switch(n.type){case"polygon":case"polyline":case"circle":case"rectangle":t=new mapp.Poi({body:"",colors:r,iconid:"poly",overlay:n.overlay,title:mappl10n.shape,type:n.type});break;case"marker":default:t=new mapp.Poi({body:"",iconid:null,overlay:n.overlay,title:n.overlay.getPosition().toUrlValue(4),type:null})}f(t,!1)}function f(n,r){t.closeInfoWindow(),u&&u.setDrawingMode(null),t.insertPoi(n),r&&n.center(!0),i()}function a(){var i,n;typeof tinyMCE!="undefined"&&typeof tinyMCE.init!="undefined"&&(i="en",typeof window.tinyMCEPreInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit.content!="undefined"&&(n=window.tinyMCEPreInit.mceInit.content,i=typeof n.language!="undefined"?n.language:"en"),tinyMCE.init({mode:"none",height:"175px",convert_urls:!1,language:i,plugins:"paste",relative_urls:!1,remove_script_host:!1,theme:"advanced",theme_advanced_toolbar_location:"top",theme_advanced_buttons1:"formatselect, forecolor,|,bold,italic,|,justifyleft,justifycenter,justifyright,|,link,unlink,|,image,separator,undo,redo",theme_advanced_buttons2:"",theme_advanced_buttons3:"",setup:function(n){n.onInit.add(function(n){n.getBody().style.fontSize="12px"})}}),o&&setTimeout(function(){tinyMCE.execCommand("mceAddControl",!1,"mapp_e_poi_body")},2),jQuery("#mapp_e_visual").click(function(){tinyMCE.execCommand("mceAddControl",!1,"mapp_e_poi_body"),o=!0}),jQuery("#mapp_e_html").click(function(){tinyMCE.execCommand("mceRemoveControl",!1,"mapp_e_poi_body"),o=!1}),google.maps.event.addListenerOnce(t.getInfoWindow(),"closeclick",function(){tinyMCE.getInstanceById("mapp_e_poi_body")&&(tinyMCE.getInstanceById("mapp_e_poi_body").save(),tinyMCE.execCommand("mceRemoveControl",!1,"mapp_e_poi_body"))}))}function l(n){return t.closeInfoWindow(),confirm(mappl10n.delete_prompt)?(t.removePoi(n),i(),!0):!1}var u,s,e=null,r={fillColor:"#9FC6E7",fillOpacity:.5,strokeColor:"#0000FF",strokeOpacity:1,strokeWeight:2},o=!0,t=n;this.close=function(){t.closeInfoWindow()},this.resize=function(n,i){t.resize(n,i),t.closeInfoWindow();var u=jQuery("#mapp_e_top_toolbar").outerHeight(),r=jQuery("#mapp_edit").outerHeight();jQuery("#mapp_e_poi_list").height(u+r)},y.apply(this)}
languages/mappress-fi.mo ADDED
Binary file
languages/mappress-fi.po ADDED
@@ -0,0 +1,1477 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # This file is put in the public domain.
3
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Mappress\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2013-02-15 09:08-0800\n"
10
+ "PO-Revision-Date: 2013-03-16 00:25+0200\n"
11
+ "Last-Translator: Jaakko Kangosjärvi <jaakko@mediamonttu.fi>\n"
12
+ "Language-Team: Monttu <info@mediamonttu,fi>\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "X-Poedit-Language: Finnish\n"
17
+ "X-Poedit-Country: FINLAND\n"
18
+ "X-Poedit-KeywordsList: __;_e\n"
19
+ "X-Poedit-Basepath: .\n"
20
+ "X-Poedit-SearchPath-0: C:\\D\\Blogit\\plugins\\mappress-google-maps-for-wordpress\n"
21
+
22
+ #: ../mappress.php:122
23
+ msgid "Version"
24
+ msgstr "Versio"
25
+
26
+ #: ../mappress.php:130
27
+ msgid "Documentation"
28
+ msgstr "Tiedot"
29
+
30
+ #: ../mappress.php:131
31
+ msgid "Support"
32
+ msgstr "Support"
33
+
34
+ #: ../mappress.php:132
35
+ msgid "Contact"
36
+ msgstr "Yhteystiedot"
37
+
38
+ #: ../mappress.php:135
39
+ msgid "Upgrade to MapPress Pro"
40
+ msgstr "Päivitä versioon MapPress Pro"
41
+
42
+ #: ../mappress.php:330
43
+ msgid "MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this."
44
+ msgstr "MapPressin tietokantataulut puuttuvat. Korjaa ongelma poistamalla lisäosa käytöstä ja ottamalla se uudelleen käyttöön."
45
+
46
+ #: ../mappress.php:335
47
+ msgid "WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade before using MapPress."
48
+ msgstr "VAROITUS: MapPress vaatii vähintään WordPress 3.2 -version. Päivitä ennen kuin käytät MapPressiä."
49
+
50
+ #: ../mappress.php:340
51
+ msgid "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
52
+ msgstr "VAROITUS: MapPress ei töimi WP-Geo-lisäosan kanssa. Ota WP-Geo pois käytöstä tai poista se ennen kuin käytät MapPressiä. "
53
+
54
+ #: ../mappress.php:533
55
+ #: ../templates/map_directions.php:6
56
+ msgid "Bicycling"
57
+ msgstr "Pyöräillen"
58
+
59
+ #: ../mappress.php:534
60
+ msgid "Bike"
61
+ msgstr "Polkupyörä"
62
+
63
+ #: ../mappress.php:535
64
+ msgid "One of the addresses could not be found."
65
+ msgstr "Yhtä osoitteista ei löydy."
66
+
67
+ #: ../mappress.php:536
68
+ msgid "Google cannot return directions between those addresses. There is no route between them or the routing information is not available."
69
+ msgstr "Google ei pysty luomaan reittiä osoitteidesi välille. Tieyhteyttä ei ole tai ajo-ohjeita ei ole saatavilla."
70
+
71
+ #: ../mappress.php:537
72
+ msgid "Unknown error, unable to return directions. Status code = "
73
+ msgstr "Tuntematon virhe, ajo-ohjeita ei voi ladata. Tilatunnus ="
74
+
75
+ #: ../mappress.php:538
76
+ #: ../mappress_poi.php:282
77
+ #: ../mappress_settings.php:129
78
+ #: ../pro/mappress_widget.php:108
79
+ msgid "Directions"
80
+ msgstr "Ajo-ohjeet"
81
+
82
+ #: ../mappress.php:539
83
+ msgid "Error reading KML file"
84
+ msgstr "Virhe luettaessa KML-tiedostoa"
85
+
86
+ #: ../mappress.php:540
87
+ msgid "Loading..."
88
+ msgstr "Ladataan..."
89
+
90
+ #: ../mappress.php:541
91
+ msgid "No matching address"
92
+ msgstr "Osoitetta ei löydy"
93
+
94
+ #: ../mappress.php:542
95
+ msgid "Unable to get your location"
96
+ msgstr "Sijaintiasi ei löydy"
97
+
98
+ #: ../mappress.php:543
99
+ #: ../mappress_settings.php:321
100
+ msgid "Traffic"
101
+ msgstr "Liikennetiedot"
102
+
103
+ #: ../mappress.php:544
104
+ msgid "Transit"
105
+ msgstr "Siirto"
106
+
107
+ #: ../mappress.php:545
108
+ #: ../mappress_poi.php:331
109
+ #: ../mappress_settings.php:316
110
+ #: ../mappress_settings.php:455
111
+ #: ../pro/mappress_widget.php:124
112
+ msgid "Zoom"
113
+ msgstr "Lähennä"
114
+
115
+ #: ../mappress.php:550
116
+ msgid "Add"
117
+ msgstr "Lisää"
118
+
119
+ #: ../mappress.php:551
120
+ msgid "Click & drag to move"
121
+ msgstr "Klikkaa ja raahaa siirtääksesi merkitsintä "
122
+
123
+ #: ../mappress.php:552
124
+ msgid "Click to change"
125
+ msgstr "Muuta klikkaamalla"
126
+
127
+ #: ../mappress.php:553
128
+ #: ../mappress_map.php:428
129
+ msgid "Delete"
130
+ msgstr "Poista"
131
+
132
+ #: ../mappress.php:554
133
+ msgid "Delete this POI?"
134
+ msgstr "Poistetaanko tämä paikka?"
135
+
136
+ #: ../mappress.php:555
137
+ msgid "Delete this map?"
138
+ msgstr "Poistetaanko tämä kartta?"
139
+
140
+ #: ../mappress.php:556
141
+ msgid "Please save the map first"
142
+ msgstr "Tallenna kartta ensin"
143
+
144
+ #: ../mappress.php:557
145
+ msgid "Shape"
146
+ msgstr "Muoto"
147
+
148
+ #: ../mappress.php:558
149
+ msgid "Untitled"
150
+ msgstr "Ei otsikkoa"
151
+
152
+ #: ../mappress_map.php:106
153
+ msgid "Map not found"
154
+ msgstr "Karttaa ei löydy"
155
+
156
+ #: ../mappress_map.php:426
157
+ msgid "Edit"
158
+ msgstr "Muokkaa"
159
+
160
+ #: ../mappress_map.php:427
161
+ #: ../forms/map_media.php:48
162
+ msgid "Insert into post"
163
+ msgstr "Liitä merkintään"
164
+
165
+ #: ../mappress_map.php:467
166
+ msgid "Show map"
167
+ msgstr "Näytä kartta"
168
+
169
+ #: ../mappress_map.php:479
170
+ #: ../mappress_settings.php:447
171
+ #: ../forms/map_editor.php:17
172
+ msgid "Center map"
173
+ msgstr "Keskitä "
174
+
175
+ #: ../mappress_map.php:488
176
+ #: ../mappress_settings.php:448
177
+ msgid "Reset map"
178
+ msgstr "Tyhjennä"
179
+
180
+ #: ../mappress_map.php:497
181
+ #: ../mappress_settings.php:446
182
+ msgid "Bigger map"
183
+ msgstr "Suurempi kartta"
184
+
185
+ #: ../mappress_map.php:498
186
+ msgid "Smaller map"
187
+ msgstr "Pienempi kartta"
188
+
189
+ #: ../mappress_poi.php:247
190
+ #: ../mappress_settings.php:456
191
+ msgid "Directions to"
192
+ msgstr "Ajo-ohjeet kohteeseen"
193
+
194
+ #: ../mappress_poi.php:249
195
+ #: ../mappress_settings.php:457
196
+ msgid "Directions from"
197
+ msgstr "Ajo-ohjeet kohteesta"
198
+
199
+ #: ../mappress_settings.php:126
200
+ msgid "Basic Settings"
201
+ msgstr "Asetukset"
202
+
203
+ #: ../mappress_settings.php:127
204
+ msgid "Post types"
205
+ msgstr "Sisältötyypit"
206
+
207
+ #: ../mappress_settings.php:128
208
+ msgid "Automatic map display"
209
+ msgstr "Oletussijoittelu"
210
+
211
+ #: ../mappress_settings.php:131
212
+ msgid "Map Controls"
213
+ msgstr "Valitsimet"
214
+
215
+ #: ../mappress_settings.php:132
216
+ msgid "Draggable"
217
+ msgstr "Raahaus"
218
+
219
+ #: ../mappress_settings.php:133
220
+ msgid "Keyboard shortcuts"
221
+ msgstr "Näppäinoikotiet"
222
+
223
+ #: ../mappress_settings.php:134
224
+ msgid "Scroll wheel zoom"
225
+ msgstr "Rullazoom"
226
+
227
+ #: ../mappress_settings.php:135
228
+ msgid "Map Types"
229
+ msgstr "Karttatyypit "
230
+
231
+ #: ../mappress_settings.php:136
232
+ msgid "Map controls"
233
+ msgstr "Valitsimet"
234
+
235
+ #: ../mappress_settings.php:138
236
+ msgid "Map Settings"
237
+ msgstr "Asetukset "
238
+
239
+ #: ../mappress_settings.php:139
240
+ msgid "Map links"
241
+ msgstr "Linkit"
242
+
243
+ #: ../mappress_settings.php:140
244
+ msgid "Map alignment"
245
+ msgstr "Sijoittelu"
246
+
247
+ #: ../mappress_settings.php:141
248
+ msgid "Map border"
249
+ msgstr "Reunus"
250
+
251
+ #: ../mappress_settings.php:142
252
+ msgid "Map border color"
253
+ msgstr "Reunuksen väri"
254
+
255
+ #: ../mappress_settings.php:143
256
+ msgid "Open first POI"
257
+ msgstr "Avaa ensimmäinen paikka"
258
+
259
+ #: ../mappress_settings.php:145
260
+ msgid "POI Settings"
261
+ msgstr "Paikkojen asetukset"
262
+
263
+ #: ../mappress_settings.php:146
264
+ msgid "POI links"
265
+ msgstr "Paikkalinkit"
266
+
267
+ #: ../mappress_settings.php:147
268
+ msgid "Tooltips"
269
+ msgstr "Vihjeet"
270
+
271
+ #: ../mappress_settings.php:148
272
+ msgid "Default zoom"
273
+ msgstr "Oletus"
274
+
275
+ #: ../mappress_settings.php:151
276
+ msgid "Mashups"
277
+ msgstr "Koosteet"
278
+
279
+ #: ../mappress_settings.php:152
280
+ msgid "Icons"
281
+ msgstr "Kuvakkeet"
282
+
283
+ #: ../mappress_settings.php:153
284
+ msgid "Styled Maps"
285
+ msgstr "Muotoillut kartat"
286
+
287
+ #: ../mappress_settings.php:154
288
+ msgid "Geocoding"
289
+ msgstr "Geokoodaus"
290
+
291
+ #: ../mappress_settings.php:157
292
+ msgid "Localization"
293
+ msgstr "Paikallistaminen"
294
+
295
+ #: ../mappress_settings.php:158
296
+ msgid "Language"
297
+ msgstr "Kieli"
298
+
299
+ #: ../mappress_settings.php:159
300
+ msgid "Country"
301
+ msgstr "Maa"
302
+
303
+ #: ../mappress_settings.php:160
304
+ msgid "Directions server"
305
+ msgstr "Palvelin"
306
+
307
+ #: ../mappress_settings.php:161
308
+ msgid "Directions units"
309
+ msgstr "Yksiköt"
310
+
311
+ #: ../mappress_settings.php:163
312
+ msgid "Miscellaneous"
313
+ msgstr "Muu "
314
+
315
+ #: ../mappress_settings.php:164
316
+ msgid "Adaptive display"
317
+ msgstr "Automaattinen näyttö "
318
+
319
+ #: ../mappress_settings.php:165
320
+ msgid "Turn off CSS"
321
+ msgstr "Ota tyylitiedosto pois käytöstä"
322
+
323
+ #: ../mappress_settings.php:166
324
+ msgid "Load maps last"
325
+ msgstr "Lataa kartaa lopuksi"
326
+
327
+ #: ../mappress_settings.php:221
328
+ msgid "Use the settings below to automatically create maps from custom fields."
329
+ msgstr "Käytä alla olevia asetuksia ja luo kartta automaattisesti valinnaisen kentän tiedoista."
330
+
331
+ #: ../mappress_settings.php:227
332
+ msgid "Posts"
333
+ msgstr "Artikkelit"
334
+
335
+ #: ../mappress_settings.php:228
336
+ msgid "Pages"
337
+ msgstr "Sivut"
338
+
339
+ #: ../mappress_settings.php:240
340
+ msgid "country code"
341
+ msgstr "maatunnus"
342
+
343
+ #: ../mappress_settings.php:242
344
+ #, php-format
345
+ msgid "Enter a %s to use when searching (leave blank for USA)"
346
+ msgstr "Anna %s, jolla haetaan (jätä tyhjäksi, jos haetaan USA:ssa)"
347
+
348
+ #: ../mappress_settings.php:249
349
+ msgid "Enter a google server URL for directions/printing"
350
+ msgstr "Anna reittiohjeisiin ja tulostukseen käytettävä Google-palvelin (oletus maps.google.com) "
351
+
352
+ #: ../mappress_settings.php:254
353
+ msgid "(Default)"
354
+ msgstr "(Oletus)"
355
+
356
+ #: ../mappress_settings.php:254
357
+ msgid "Metric (kilometers)"
358
+ msgstr "Kilometri"
359
+
360
+ #: ../mappress_settings.php:254
361
+ msgid "Imperial (miles)"
362
+ msgstr "Maili"
363
+
364
+ #: ../mappress_settings.php:259
365
+ msgid "Enable map dragging with the mouse"
366
+ msgstr "Ota käyttöön raahaus hiiren avulla."
367
+
368
+ #: ../mappress_settings.php:263
369
+ msgid "Enable zoom with the mouse scroll wheel"
370
+ msgstr "Ota käyttöön loitonnus ja lähennys hiiren rullan avulla."
371
+
372
+ #: ../mappress_settings.php:267
373
+ msgid "Enable keyboard panning and zooming"
374
+ msgstr "Ota käyttöön panorointi ja zoomaus näppäimillä"
375
+
376
+ #: ../mappress_settings.php:273
377
+ msgid "language"
378
+ msgstr "kieli"
379
+
380
+ #: ../mappress_settings.php:275
381
+ #, php-format
382
+ msgid "Use a specific %s for map controls and geocoding"
383
+ msgstr "Valitse %s kartan valitsimiin ja geokoodaukseen"
384
+
385
+ #: ../mappress_settings.php:283
386
+ #: ../mappress_settings.php:289
387
+ #: ../mappress_settings.php:384
388
+ msgid "Default"
389
+ msgstr "Oletus"
390
+
391
+ #: ../mappress_settings.php:284
392
+ msgid "Horizontal"
393
+ msgstr "Horisontaalinen"
394
+
395
+ #: ../mappress_settings.php:285
396
+ msgid "Dropdown"
397
+ msgstr "Valintalista"
398
+
399
+ #: ../mappress_settings.php:290
400
+ msgid "Small"
401
+ msgstr "Pieni"
402
+
403
+ #: ../mappress_settings.php:291
404
+ msgid "Large"
405
+ msgstr "Suuri"
406
+
407
+ #: ../mappress_settings.php:292
408
+ msgid "Android"
409
+ msgstr "Android"
410
+
411
+ #: ../mappress_settings.php:303
412
+ msgid "Open initially"
413
+ msgstr "Avaa oletuksena"
414
+
415
+ #: ../mappress_settings.php:305
416
+ #: ../mappress_settings.php:307
417
+ #: ../mappress_settings.php:309
418
+ msgid "Checked initially"
419
+ msgstr "Valittu oletuksena"
420
+
421
+ #: ../mappress_settings.php:311
422
+ msgid "Control"
423
+ msgstr "Valitsin"
424
+
425
+ #: ../mappress_settings.php:311
426
+ msgid "Enable"
427
+ msgstr "Ota käyttöön"
428
+
429
+ #: ../mappress_settings.php:311
430
+ #: ../mappress_settings.php:409
431
+ msgid "Style"
432
+ msgstr "Tyylit"
433
+
434
+ #: ../mappress_settings.php:314
435
+ msgid "Map types"
436
+ msgstr "Karttatyypit"
437
+
438
+ #: ../mappress_settings.php:315
439
+ msgid "Pan"
440
+ msgstr "Panorointi"
441
+
442
+ #: ../mappress_settings.php:317
443
+ msgid "Street view"
444
+ msgstr "Katunäkymä"
445
+
446
+ #: ../mappress_settings.php:318
447
+ msgid "Scale"
448
+ msgstr "Asteikko"
449
+
450
+ #: ../mappress_settings.php:319
451
+ msgid "Overview map"
452
+ msgstr "Yleiskuvakartta"
453
+
454
+ #: ../mappress_settings.php:320
455
+ msgid "Public transit"
456
+ msgstr "Julkinen liikenne"
457
+
458
+ #: ../mappress_settings.php:322
459
+ msgid "Bike routes"
460
+ msgstr "Pyöräreitit"
461
+
462
+ #: ../mappress_settings.php:329
463
+ msgid "Road map"
464
+ msgstr "Tiekartta"
465
+
466
+ #: ../mappress_settings.php:330
467
+ #: ../pro/mappress_widget.php:142
468
+ msgid "Satellite"
469
+ msgstr "Satelliitti"
470
+
471
+ #: ../mappress_settings.php:331
472
+ #: ../pro/mappress_widget.php:143
473
+ msgid "Terrain"
474
+ msgstr "Maastokartta"
475
+
476
+ #: ../mappress_settings.php:332
477
+ #: ../pro/mappress_widget.php:141
478
+ msgid "Hybrid"
479
+ msgstr "Yhdistelmä"
480
+
481
+ #: ../mappress_settings.php:345
482
+ msgid "Inline (in your blog)"
483
+ msgstr "Sivulla (omassa blogissa)"
484
+
485
+ #: ../mappress_settings.php:346
486
+ #: ../pro/mappress_pro_settings.php:165
487
+ #: ../pro/mappress_widget.php:110
488
+ msgid "Google"
489
+ msgstr "Google"
490
+
491
+ #: ../mappress_settings.php:347
492
+ #: ../pro/mappress_widget.php:111
493
+ msgid "None"
494
+ msgstr "Ei"
495
+
496
+ #: ../mappress_settings.php:354
497
+ msgid "Automatically open the first POI when a map is displayed"
498
+ msgstr "Avaa ensimmäinen paikka karttaa avattaessa."
499
+
500
+ #: ../mappress_settings.php:359
501
+ #: ../mappress_settings.php:368
502
+ msgid "Show control"
503
+ msgstr "Näytä valitsin"
504
+
505
+ #: ../mappress_settings.php:363
506
+ #: ../mappress_settings.php:372
507
+ msgid "Enabled by default"
508
+ msgstr "Käytössä oletuksena"
509
+
510
+ #: ../mappress_settings.php:377
511
+ msgid "Show POI titles as a \"tooltip\" on mouse-over"
512
+ msgstr "Näytä paikkojen otsikot \"vihjeinä\", kun niitä osoitetaan hiirellä."
513
+
514
+ #: ../mappress_settings.php:385
515
+ #: ../pro/mappress_widget.php:116
516
+ msgid "Center"
517
+ msgstr "Keskitä"
518
+
519
+ #: ../mappress_settings.php:386
520
+ msgid "Left"
521
+ msgstr "Vasen"
522
+
523
+ #: ../mappress_settings.php:387
524
+ msgid "Right"
525
+ msgstr "Oikea"
526
+
527
+ #: ../mappress_settings.php:399
528
+ msgid "solid"
529
+ msgstr "solid"
530
+
531
+ #: ../mappress_settings.php:400
532
+ msgid "dashed"
533
+ msgstr "dashed"
534
+
535
+ #: ../mappress_settings.php:401
536
+ msgid "dotted"
537
+ msgstr "dotted"
538
+
539
+ #: ../mappress_settings.php:402
540
+ msgid "double"
541
+ msgstr "double"
542
+
543
+ #: ../mappress_settings.php:403
544
+ msgid "groove"
545
+ msgstr "groove"
546
+
547
+ #: ../mappress_settings.php:404
548
+ msgid "inset"
549
+ msgstr "inset"
550
+
551
+ #: ../mappress_settings.php:405
552
+ msgid "outset"
553
+ msgstr "outset"
554
+
555
+ #: ../mappress_settings.php:417
556
+ msgid "Width"
557
+ msgstr "Leveys "
558
+
559
+ #: ../mappress_settings.php:423
560
+ msgid "Corner radius"
561
+ msgstr "Kulman pyöreys"
562
+
563
+ #: ../mappress_settings.php:431
564
+ msgid "Color"
565
+ msgstr "Väri"
566
+
567
+ #: ../mappress_settings.php:441
568
+ msgid "Display shadow"
569
+ msgstr "Näytä varjo"
570
+
571
+ #: ../mappress_settings.php:465
572
+ msgid "Default zoom for POIs entered by lat/lng"
573
+ msgstr "Oletuszoomaus koordinaatein annetulle paikalle"
574
+
575
+ #: ../mappress_settings.php:471
576
+ msgid "Top of post"
577
+ msgstr "Artikkelin alussa"
578
+
579
+ #: ../mappress_settings.php:472
580
+ msgid "Bottom of post"
581
+ msgstr "Artikkelin lopussa"
582
+
583
+ #: ../mappress_settings.php:473
584
+ msgid "No automatic display"
585
+ msgstr "Ei automaattista sijoittelua"
586
+
587
+ #: ../mappress_settings.php:480
588
+ msgid "Recenter maps when window is resized"
589
+ msgstr "Keskitä uudelleen, kun ikkunan koko muuttuu"
590
+
591
+ #: ../mappress_settings.php:484
592
+ #, php-format
593
+ msgid "Don't load the %s stylesheet"
594
+ msgstr "Älä lataa tyylitiedostoa %s "
595
+
596
+ #: ../mappress_settings.php:488
597
+ msgid "Load maps in window 'load' event"
598
+ msgstr "Lataa kartat muodossa window 'load' event"
599
+
600
+ #: ../mappress_settings.php:496
601
+ msgid "Rate it 5 Stars"
602
+ msgstr "Anna 5 tähteä"
603
+
604
+ #: ../mappress_settings.php:498
605
+ #, php-format
606
+ msgid "%s on WordPress.org"
607
+ msgstr "%s sivustolla WordPress.org"
608
+
609
+ #: ../mappress_settings.php:499
610
+ msgid "Thanks for your support!"
611
+ msgstr "Kiitos tuestasi!"
612
+
613
+ #: ../mappress_settings.php:526
614
+ msgid "MapPress"
615
+ msgstr "MapPress"
616
+
617
+ #: ../mappress_settings.php:527
618
+ msgid "Easy Google Maps"
619
+ msgstr "Easy Google Maps"
620
+
621
+ #: ../mappress_settings.php:576
622
+ msgid "Like this plugin?"
623
+ msgstr "Pidätkö lisäosasta?"
624
+
625
+ #: ../mappress_settings.php:578
626
+ msgid "Sample Map"
627
+ msgstr "Esimerkki"
628
+
629
+ #: ../mappress_settings.php:597
630
+ msgid "Save Changes"
631
+ msgstr "Tallenna muutokset"
632
+
633
+ #: ../mappress_settings.php:598
634
+ msgid "Reset Defaults"
635
+ msgstr "Oletus"
636
+
637
+ #: ../mappress_updater.php:19
638
+ msgid "Settings"
639
+ msgstr "Asetukset "
640
+
641
+ #: ../mappress_updater.php:41
642
+ msgid "download it now"
643
+ msgstr "lataa se nyt"
644
+
645
+ #: ../mappress_updater.php:46
646
+ #, php-format
647
+ msgid "A PRO Version update is available for manual installation: %s"
648
+ msgstr "Päivitys PRO-versioon on asennettava paikallisesti: %s"
649
+
650
+ #: ../forms/map_editor.php:2
651
+ msgid "Add POI"
652
+ msgstr "Lisää paikka"
653
+
654
+ #: ../forms/map_editor.php:5
655
+ #: ../templates/map_directions.php:11
656
+ msgid "My location"
657
+ msgstr "Oma sijaintini"
658
+
659
+ #: ../forms/map_editor.php:18
660
+ msgid "Click map for lat/lng: "
661
+ msgstr "Klikkaa karttaa antaaksesi koordinaatit:"
662
+
663
+ #: ../forms/map_editor_infobox.php:22
664
+ msgid "Line: "
665
+ msgstr "Rivi:"
666
+
667
+ #: ../forms/map_editor_infobox.php:24
668
+ msgid "Weight"
669
+ msgstr "Paksuus"
670
+
671
+ #: ../forms/map_editor_infobox.php:25
672
+ #: ../forms/map_editor_infobox.php:31
673
+ msgid "Opacity"
674
+ msgstr "Läpinäkyvyys"
675
+
676
+ #: ../forms/map_editor_infobox.php:29
677
+ msgid "Fill: "
678
+ msgstr "Täyttö:"
679
+
680
+ #: ../forms/map_editor_infobox.php:40
681
+ msgid "Visual"
682
+ msgstr "Näkyvä"
683
+
684
+ #: ../forms/map_editor_infobox.php:40
685
+ msgid "HTML"
686
+ msgstr "HTML"
687
+
688
+ #: ../forms/map_editor_infobox.php:45
689
+ #: ../forms/map_media.php:46
690
+ msgid "Save"
691
+ msgstr "Tallenna"
692
+
693
+ #: ../forms/map_editor_infobox.php:46
694
+ #: ../forms/map_media.php:47
695
+ #: ../pro/mappress_icons.php:64
696
+ msgid "Cancel"
697
+ msgstr "Peru"
698
+
699
+ #: ../forms/map_media.php:11
700
+ msgid "Maps for This Post"
701
+ msgstr "Artikkelin kartat"
702
+
703
+ #: ../forms/map_media.php:12
704
+ msgid "New Map"
705
+ msgstr "Uusi kartta"
706
+
707
+ #: ../forms/map_media.php:22
708
+ msgid "Map ID"
709
+ msgstr "Kartan ID"
710
+
711
+ #: ../forms/map_media.php:27
712
+ msgid "Map Title"
713
+ msgstr "Kartan otsikko "
714
+
715
+ #: ../forms/map_media.php:32
716
+ msgid "Size"
717
+ msgstr "Koko"
718
+
719
+ #: ../pro/mappress_geocoders.php:53
720
+ msgid "No results, check that a geocoder is configured"
721
+ msgstr "Ei tuloksia, tarkista geokooderin asetukset"
722
+
723
+ #: ../pro/mappress_geocoders.php:76
724
+ #, php-format
725
+ msgid "Invalid status: %s, address: %s"
726
+ msgstr "Virheellinen asema: %s, osoite: %s"
727
+
728
+ #: ../pro/mappress_geocoders.php:85
729
+ #: ../pro/mappress_geocoders.php:149
730
+ #, php-format
731
+ msgid "No results for address: %s"
732
+ msgstr "Ei tulosta osoitteelle: %s"
733
+
734
+ #: ../pro/mappress_geocoders.php:145
735
+ #, php-format
736
+ msgid "Error: %s %s"
737
+ msgstr "Virhe: %s %s"
738
+
739
+ #: ../pro/mappress_icons.php:65
740
+ msgid "Use default icon"
741
+ msgstr "Käytä oletuskuvaketta"
742
+
743
+ #: ../pro/mappress_pro.php:151
744
+ msgid "Automatic"
745
+ msgstr "Automaattinen"
746
+
747
+ #: ../pro/mappress_pro_settings.php:10
748
+ msgid "POI list"
749
+ msgstr "Paikkaluettelo"
750
+
751
+ #: ../pro/mappress_pro_settings.php:11
752
+ msgid "Use DataTables"
753
+ msgstr "Käytä DataTable-ominaisuuksia"
754
+
755
+ #: ../pro/mappress_pro_settings.php:13
756
+ msgid "InfoWindow type"
757
+ msgstr "Tietoruudun tyyppi"
758
+
759
+ #: ../pro/mappress_pro_settings.php:14
760
+ msgid "InfoWindow panning"
761
+ msgstr "Tietoruudun panorointi"
762
+
763
+ #: ../pro/mappress_pro_settings.php:16
764
+ msgid "Default icon"
765
+ msgstr "Oletuskuvake"
766
+
767
+ #: ../pro/mappress_pro_settings.php:17
768
+ msgid "Custom icons directory"
769
+ msgstr "Valinnainen kuvakekansio"
770
+
771
+ #: ../pro/mappress_pro_settings.php:19
772
+ msgid "Mashup POI title"
773
+ msgstr "Koosteen paikan otsikko"
774
+
775
+ #: ../pro/mappress_pro_settings.php:20
776
+ msgid "Mashup POI body"
777
+ msgstr "Koosteen paikan teksti"
778
+
779
+ #: ../pro/mappress_pro_settings.php:21
780
+ msgid "Mashup POI click"
781
+ msgstr "Koosteen paikan klikkaus"
782
+
783
+ #: ../pro/mappress_pro_settings.php:22
784
+ msgid "Link title"
785
+ msgstr "Linkitä otsikko"
786
+
787
+ #: ../pro/mappress_pro_settings.php:23
788
+ msgid "Mashup Thumbnails"
789
+ msgstr "Koosteen pikkukuvat"
790
+
791
+ #: ../pro/mappress_pro_settings.php:24
792
+ msgid "Thumbnail Size"
793
+ msgstr "Pikkukuvan koko"
794
+
795
+ #: ../pro/mappress_pro_settings.php:26
796
+ msgid "Styled maps"
797
+ msgstr "Karttatyylit"
798
+
799
+ #: ../pro/mappress_pro_settings.php:27
800
+ msgid "Default style"
801
+ msgstr "Oletus"
802
+
803
+ #: ../pro/mappress_pro_settings.php:29
804
+ msgid "Geocoder(s)"
805
+ msgstr "Geokooderi(t)"
806
+
807
+ #: ../pro/mappress_pro_settings.php:30
808
+ msgid "Geocoding fields"
809
+ msgstr "Geokoodauskentät"
810
+
811
+ #: ../pro/mappress_pro_settings.php:32
812
+ msgid "API key (optional)"
813
+ msgstr "API-avain (valinnainen)"
814
+
815
+ #: ../pro/mappress_pro_settings.php:33
816
+ msgid "Map sizes"
817
+ msgstr "Karttakoot"
818
+
819
+ #: ../pro/mappress_pro_settings.php:34
820
+ msgid "Force resize"
821
+ msgstr "Koon massamuutos"
822
+
823
+ #: ../pro/mappress_pro_settings.php:63
824
+ msgid "Show a list of POIs under each map"
825
+ msgstr "Näytä paikkauettelo jokaisen kartan alapuolella"
826
+
827
+ #: ../pro/mappress_pro_settings.php:68
828
+ #, php-format
829
+ msgid "Show the POI list as a sortable %s"
830
+ msgstr "Näytä paikkaluettelo kuten lajiteltava %s"
831
+
832
+ #: ../pro/mappress_pro_settings.php:72
833
+ msgid "POI title"
834
+ msgstr "Paikan otsikko"
835
+
836
+ #: ../pro/mappress_pro_settings.php:72
837
+ msgid "Post title"
838
+ msgstr "Artikkelin otsikko"
839
+
840
+ #: ../pro/mappress_pro_settings.php:77
841
+ msgid "POI body"
842
+ msgstr "Paikan teksti"
843
+
844
+ #: ../pro/mappress_pro_settings.php:77
845
+ msgid "Address"
846
+ msgstr "Osoite"
847
+
848
+ #: ../pro/mappress_pro_settings.php:77
849
+ msgid "Post excerpt"
850
+ msgstr "Artikkelin ote"
851
+
852
+ #: ../pro/mappress_pro_settings.php:82
853
+ msgid "Link POI titles to the underlying post"
854
+ msgstr "Linkitä paikkojen otsikot artikkeleihin"
855
+
856
+ #: ../pro/mappress_pro_settings.php:86
857
+ msgid "Open the POI"
858
+ msgstr "Avaa paikka"
859
+
860
+ #: ../pro/mappress_pro_settings.php:86
861
+ msgid "Go directly to the post"
862
+ msgstr "Siirry suoraan artikkeliin"
863
+
864
+ #: ../pro/mappress_pro_settings.php:92
865
+ msgid "Google InfoWindow"
866
+ msgstr "Googlen tietoruutu"
867
+
868
+ #: ../pro/mappress_pro_settings.php:93
869
+ msgid "InfoBox (can be styled and extend outside the map)"
870
+ msgstr "Tietoruutu (ulkoasu muokattavissa ja sijoitettavissa myös kartan ulkopuolelle)"
871
+
872
+ #: ../pro/mappress_pro_settings.php:99
873
+ msgid "Disable map panning when infoWindow / infoBox is opened"
874
+ msgstr "Poista panorointi käytöstä, kun tietoruutu on avattu"
875
+
876
+ #: ../pro/mappress_pro_settings.php:103
877
+ msgid "Show featured image thumbnails in mashup POIs"
878
+ msgstr "Näytä suositellut pikkukuvat koosteen paikoissa"
879
+
880
+ #: ../pro/mappress_pro_settings.php:111
881
+ msgid "Use existing size: "
882
+ msgstr "Käytä kokoa: "
883
+
884
+ #: ../pro/mappress_pro_settings.php:114
885
+ msgid "or resize to (px): "
886
+ msgstr "tai muuta kokoon (px):"
887
+
888
+ #: ../pro/mappress_pro_settings.php:129
889
+ msgid "styled maps"
890
+ msgstr "ulkoasu"
891
+
892
+ #: ../pro/mappress_pro_settings.php:130
893
+ msgid "styled maps wizard"
894
+ msgstr "ulkoasuvelho"
895
+
896
+ #: ../pro/mappress_pro_settings.php:132
897
+ #, php-format
898
+ msgid "Enter JSON for %s from Google's %s"
899
+ msgstr "Anna JSON kohteelle %s Googlen palvelusta %s"
900
+
901
+ #: ../pro/mappress_pro_settings.php:141
902
+ msgid "Style name"
903
+ msgstr "Ulkoasun nimi"
904
+
905
+ #: ../pro/mappress_pro_settings.php:155
906
+ msgid "No styles have been defined yet"
907
+ msgstr "Yhtään "
908
+
909
+ #: ../pro/mappress_pro_settings.php:166
910
+ msgid "Nominatim"
911
+ msgstr "Nimitys"
912
+
913
+ #: ../pro/mappress_pro_settings.php:178
914
+ msgid "Address Line 1"
915
+ msgstr "Osoiterivi 1"
916
+
917
+ #: ../pro/mappress_pro_settings.php:179
918
+ msgid "Address Line 2"
919
+ msgstr "Osoiterivi 2"
920
+
921
+ #: ../pro/mappress_pro_settings.php:180
922
+ msgid "Address Line 3"
923
+ msgstr "Osoiterivi 3"
924
+
925
+ #: ../pro/mappress_pro_settings.php:181
926
+ msgid "Address Line 4"
927
+ msgstr "Osoiterivi 4"
928
+
929
+ #: ../pro/mappress_pro_settings.php:182
930
+ msgid "Latitude"
931
+ msgstr "Leveysaste"
932
+
933
+ #: ../pro/mappress_pro_settings.php:183
934
+ msgid "Longitude"
935
+ msgstr "Pituusaste"
936
+
937
+ #: ../pro/mappress_pro_settings.php:184
938
+ msgid "Icon"
939
+ msgstr "Kuvake"
940
+
941
+ #: ../pro/mappress_pro_settings.php:185
942
+ msgid "Title"
943
+ msgstr "Otsikko"
944
+
945
+ #: ../pro/mappress_pro_settings.php:186
946
+ msgid "Body"
947
+ msgstr "Teksti"
948
+
949
+ #: ../pro/mappress_pro_settings.php:187
950
+ msgid "Map Zoom"
951
+ msgstr "Zoomaus"
952
+
953
+ #: ../pro/mappress_pro_settings.php:190
954
+ #: ../pro/mappress_widget.php:140
955
+ msgid "Map"
956
+ msgstr "Kartta"
957
+
958
+ #: ../pro/mappress_pro_settings.php:190
959
+ msgid "Custom Field"
960
+ msgstr "Valinnainen kenttä "
961
+
962
+ #: ../pro/mappress_pro_settings.php:199
963
+ msgid "Overwrite existing maps when upating"
964
+ msgstr "Kirjoita nykyisten karttojen päälle päivitettäessä"
965
+
966
+ #: ../pro/mappress_pro_settings.php:204
967
+ msgid "usage tracking"
968
+ msgstr "käytön seuranta"
969
+
970
+ #: ../pro/mappress_pro_settings.php:205
971
+ #, php-format
972
+ msgid "API keys is needed only for premium services or %s"
973
+ msgstr "API-avaimia tarvitaan vain erityispalveluihin tai %s"
974
+
975
+ #: ../pro/mappress_pro_settings.php:209
976
+ msgid "Enter default map sizes"
977
+ msgstr "Anna kartan oletuskoot"
978
+
979
+ #: ../pro/mappress_pro_settings.php:213
980
+ msgid "Width(px)"
981
+ msgstr "Leveys (px)"
982
+
983
+ #: ../pro/mappress_pro_settings.php:213
984
+ msgid "Height(px)"
985
+ msgstr "Korkeus (px)"
986
+
987
+ #: ../pro/mappress_pro_settings.php:228
988
+ msgid "Permanently resize existing maps"
989
+ msgstr "Muuta pysyvästi kaikkien karttojen koko"
990
+
991
+ #: ../pro/mappress_pro_settings.php:230
992
+ #, php-format
993
+ msgid "from %s to %s"
994
+ msgstr "kohteesta %s kohteeseen %s"
995
+
996
+ #: ../pro/mappress_pro_settings.php:231
997
+ msgid "Force Resize"
998
+ msgstr "Koon pakkomuutos"
999
+
1000
+ #: ../pro/mappress_widget.php:78
1001
+ msgid "Widget title"
1002
+ msgstr "Vimpaimen otsikko"
1003
+
1004
+ #: ../pro/mappress_widget.php:83
1005
+ msgid "Map size"
1006
+ msgstr "Kartan koko"
1007
+
1008
+ #: ../pro/mappress_widget.php:89
1009
+ msgid "Show"
1010
+ msgstr "Näytä"
1011
+
1012
+ #: ../pro/mappress_widget.php:90
1013
+ msgid "Current posts"
1014
+ msgstr "Artikkelit"
1015
+
1016
+ #: ../pro/mappress_widget.php:91
1017
+ msgid "Hide if empty"
1018
+ msgstr "Piilota jos tyhjä"
1019
+
1020
+ #: ../pro/mappress_widget.php:93
1021
+ msgid "All posts"
1022
+ msgstr "Kaikki artikkelit"
1023
+
1024
+ #: ../pro/mappress_widget.php:94
1025
+ msgid "Custom query"
1026
+ msgstr "Kyselyt"
1027
+
1028
+ #: ../pro/mappress_widget.php:97
1029
+ msgid "Learn about queries"
1030
+ msgstr "Lue lisää kyselyistä"
1031
+
1032
+ #: ../pro/mappress_widget.php:102
1033
+ msgid "Show POI list"
1034
+ msgstr "Näytä paikkaluettelo"
1035
+
1036
+ #: ../pro/mappress_widget.php:104
1037
+ msgid "Link POIs to posts"
1038
+ msgstr "Linkitä paikat artikkeleihin"
1039
+
1040
+ #: ../pro/mappress_widget.php:109
1041
+ msgid "Inline"
1042
+ msgstr "Avoin"
1043
+
1044
+ #: ../pro/mappress_widget.php:137
1045
+ msgid "Map type"
1046
+ msgstr "Karttatyyppi"
1047
+
1048
+ #: ../pro/mappress_widget.php:151
1049
+ msgid "Other Settings"
1050
+ msgstr "Lisäasetukset "
1051
+
1052
+ #: ../pro/mappress_widget.php:154
1053
+ msgid "Example: traffic=\"false\" maplinks=\"\""
1054
+ msgstr "Esimerkki: liikenne=\"false\" karttalinkit=\"\""
1055
+
1056
+ #: ../templates/map_directions.php:3
1057
+ msgid "By car"
1058
+ msgstr "Autolla"
1059
+
1060
+ #: ../templates/map_directions.php:4
1061
+ msgid "Public Transit"
1062
+ msgstr "Julkinen liikenne"
1063
+
1064
+ #: ../templates/map_directions.php:5
1065
+ msgid "Walking"
1066
+ msgstr "Kävellen"
1067
+
1068
+ #: ../templates/map_directions.php:16
1069
+ msgid "Swap start and end"
1070
+ msgstr "Vaihda lähtöpaikka ja määränpää"
1071
+
1072
+ #: ../templates/map_directions.php:29
1073
+ msgid "Get Directions"
1074
+ msgstr "Hae ajo-ohjeet "
1075
+
1076
+ #: ../templates/map_directions.php:30
1077
+ msgid "Print"
1078
+ msgstr "Tulosta"
1079
+
1080
+ #: ../templates/map_directions.php:31
1081
+ msgid "Close"
1082
+ msgstr "Sulje"
1083
+
1084
+ #: ../templates/map_poi_list.php:5
1085
+ msgid "Location"
1086
+ msgstr "Paikka"
1087
+
1088
+ #~ msgid "Internal error, map was missing. Your data has not been saved!"
1089
+ #~ msgstr "Sisäinen virhe, kartta katosi. Tietojasi ei tallennettu!"
1090
+
1091
+ #~ msgid "Internal error - unable to save map. Your data has not been saved!"
1092
+ #~ msgstr ""
1093
+ #~ "Sisäinen virhe - karttaa ei voi tallentaa. Tietojasi ei tallennettu!"
1094
+
1095
+ #~ msgid "Marker list"
1096
+ #~ msgstr "Merkitsinluettelo"
1097
+
1098
+ #~ msgid "Show traffic button"
1099
+ #~ msgstr "Näytä liikennepainike"
1100
+
1101
+ #~ msgid "Templates"
1102
+ #~ msgstr "Sivumallit"
1103
+
1104
+ #~ msgid "Marker list template"
1105
+ #~ msgstr "Merkitsinluettelon sivumalli"
1106
+
1107
+ #~ msgid "Custom fields"
1108
+ #~ msgstr "Valinnainen kenttä"
1109
+
1110
+ #~ msgid "Custom CSS"
1111
+ #~ msgstr "Valinnainen tyylitiedosto"
1112
+
1113
+ #~ msgid ""
1114
+ #~ "Allow your readers to change the map type (street, satellite, or hybrid)"
1115
+ #~ msgstr ""
1116
+ #~ "Salli käyttäjien vaihtaa kartan tyyppiä (katu, satelliitti tai hybridi)"
1117
+
1118
+ #~ msgid "Display the street view control \"peg man\""
1119
+ #~ msgstr "Näytä katunäkymän valintapainike \"jalankulkija\""
1120
+
1121
+ #~ msgid ""
1122
+ #~ "Select 'Google' if directions aren't displaying properly in your theme"
1123
+ #~ msgstr ""
1124
+ #~ "Valitse 'Google', jos ajo-ohjeet eivät näy toivomallasi tavalla "
1125
+ #~ "sivustollasi"
1126
+
1127
+ #~ msgid "This setting requires %s."
1128
+ #~ msgstr "Tämä asetus vaatii version %s."
1129
+
1130
+ #~ msgid "Show a list of markers under each map."
1131
+ #~ msgstr "Näytä paikkalistaus jokaisen kartan alapuolella"
1132
+
1133
+ #~ msgid "Show a button for real-time traffic conditions"
1134
+ #~ msgstr "Näytä painike ajantasaisia liikennetietoja varten"
1135
+
1136
+ #~ msgid "post types"
1137
+ #~ msgstr "sisältötyypit"
1138
+
1139
+ #~ msgid "Mark the %s where you want to use MapPress"
1140
+ #~ msgstr "Valitse %s, joissa haluat käyttää MapPressiä"
1141
+
1142
+ #~ msgid "Enter the URL for your CSS file"
1143
+ #~ msgstr "Anna tyylitiedostosi URL"
1144
+
1145
+ #~ msgid "Set a template for the marker list."
1146
+ #~ msgstr "Aseta sivumalli merkitsinluettelolle."
1147
+
1148
+ #~ msgid "Toggle the 'powered by' message."
1149
+ #~ msgstr "Poistaa 'powered by'-viestin."
1150
+
1151
+ #~ msgid "No new items"
1152
+ #~ msgstr "Ei uusia kohteita"
1153
+
1154
+ #~ msgid "Subscribe with RSS"
1155
+ #~ msgstr "Tilaa RSS-syöte"
1156
+
1157
+ #~ msgid "Take a moment to rate it %s on WordPress.org - or make a donation"
1158
+ #~ msgstr "Käy antamassa %s sivustolla WordPress.org – tai tee lahjoitus"
1159
+
1160
+ #~ msgid "Report a bug"
1161
+ #~ msgstr "Ilmoita virheestä"
1162
+
1163
+ #~ msgid "MapPress News"
1164
+ #~ msgstr "MapPress Uutisia"
1165
+
1166
+ #~ msgid "No geocoding response from Google: %s"
1167
+ #~ msgstr "Ei geokoodausvastausta Googlelta: %s"
1168
+
1169
+ #~ msgid "Google cannot geocode address: %s, status: %s"
1170
+ #~ msgstr "Google ei pysty geokoodaamaan osoitetta %s, tila %s"
1171
+
1172
+ #~ msgid "Start"
1173
+ #~ msgstr "Lähtöpaikka"
1174
+
1175
+ #~ msgid "End"
1176
+ #~ msgstr "Määränpää"
1177
+
1178
+ #~ msgid "Print Directions"
1179
+ #~ msgstr "Tulosta ajo-ohjeet "
1180
+
1181
+ #~ msgid "FAQ"
1182
+ #~ msgstr "UKK"
1183
+
1184
+ #~ msgid "Toggle lat/lng entry"
1185
+ #~ msgstr "Vaihda lat/lng-arvot"
1186
+
1187
+ #~ msgid "Lat/Lng"
1188
+ #~ msgstr "Lat/Lng"
1189
+
1190
+ #~ msgid "Current Maps"
1191
+ #~ msgstr "Kartat"
1192
+
1193
+ #~ msgid "Medium"
1194
+ #~ msgstr "Keskikoko"
1195
+
1196
+ #~ msgid "There are no maps yet for this post"
1197
+ #~ msgstr "Tässä merkinnässä ei ole karttoja"
1198
+
1199
+ #~ msgid "Create a new map"
1200
+ #~ msgstr "Luo uusi kartta"
1201
+
1202
+ #~ msgid "Enter address"
1203
+ #~ msgstr "Anna osoite"
1204
+
1205
+ #~ msgid "Did you mean: "
1206
+ #~ msgstr "Tarkoititko:"
1207
+
1208
+ #~ msgid "View"
1209
+ #~ msgstr "Näytä"
1210
+
1211
+ #~ msgid "Back"
1212
+ #~ msgstr "Takaisin"
1213
+
1214
+ #~ msgid "Delete this map marker?"
1215
+ #~ msgstr "Poistetaanko merkitsin?"
1216
+
1217
+ #~ msgid "Map saved"
1218
+ #~ msgstr "Kartta tallennettu"
1219
+
1220
+ #~ msgid "Map deleted"
1221
+ #~ msgstr "Kartta poistettu"
1222
+
1223
+ #~ msgid "Error: AJAX failed! "
1224
+ #~ msgstr "Virhe: Ajax epäonnistui!"
1225
+
1226
+ #~ msgid "Standard icons"
1227
+ #~ msgstr "Vakiokuvakkeet"
1228
+
1229
+ #~ msgid "Unable to parse input: %s"
1230
+ #~ msgstr "Syötteen %s kokoaminen ei onnistu"
1231
+
1232
+ #~ msgid "Field for addresses"
1233
+ #~ msgstr "Kenttä osoitteille"
1234
+
1235
+ #~ msgid "Field for errors"
1236
+ #~ msgstr "Kenttä virheille"
1237
+
1238
+ #~ msgid "Update map when address is changed by a program"
1239
+ #~ msgstr "Päivitä kartta, kun ohjelma muuttaa osoitetta"
1240
+
1241
+ #~ msgid "Display powered by link"
1242
+ #~ msgstr "Ota käyttöön \"powered by\" -linkki."
1243
+
1244
+ #~ msgid "Mappress Pro Site"
1245
+ #~ msgstr "MapPress Pro -sivusto"
1246
+
1247
+ #~ msgid "Show query"
1248
+ #~ msgstr "Näytä kysely"
1249
+
1250
+ #~ msgid "Marker title"
1251
+ #~ msgstr "Merkitsimen otsikko"
1252
+
1253
+ #~ msgid "Marker body"
1254
+ #~ msgstr "Merkitsimen teksti"
1255
+
1256
+ #~ msgid "Show list of markers"
1257
+ #~ msgstr "Näytä merkitsinluettelo"
1258
+
1259
+ #~ msgid "Location list"
1260
+ #~ msgstr "Paikkalista"
1261
+
1262
+ #~ msgid "This setting requires %s. Show a list of locations under each map."
1263
+ #~ msgstr ""
1264
+ #~ "Tämä asetus vaatii version %s. Näytätä paikkalistan jokaisen kartan "
1265
+ #~ "alapuolella."
1266
+
1267
+ #~ msgid "Please make a donation today!"
1268
+ #~ msgstr "Ole hyvä ja lahjoita heti!"
1269
+
1270
+ #~ msgid " Include link"
1271
+ #~ msgstr " Lisää linkki"
1272
+
1273
+ #~ msgid "Marker title:"
1274
+ #~ msgstr "Merkitsimen otsikko:"
1275
+
1276
+ #~ msgid "Marker body:"
1277
+ #~ msgstr "Merkitsimen teksti:"
1278
+
1279
+ #~ msgid "Google error: BAD REQUEST"
1280
+ #~ msgstr "Googlen virhe: paha pyyntö!"
1281
+
1282
+ #~ msgid "Google internal error. Try again later."
1283
+ #~ msgstr "Googlen sisäinen virhe. Yritä myöhemmin uudelleen."
1284
+
1285
+ #~ msgid "The starting or ending address was missing."
1286
+ #~ msgstr "Lähtöpaikan tai määränpään osoite puuttuu."
1287
+
1288
+ #~ msgid ""
1289
+ #~ "Google cannot return those directions for legal or contractual reasons"
1290
+ #~ msgstr "Google ei voi antaa ajo-ohjeita laki- tai sopimusteknisistä syistä."
1291
+
1292
+ #~ msgid "Invalid map API key"
1293
+ #~ msgstr "API-avain ei kelpaa"
1294
+
1295
+ #~ msgid "Your key has issued too many queries in one day."
1296
+ #~ msgstr "Avaimellasi on tehty liikaa päivittäisiä hakuja."
1297
+
1298
+ #~ msgid ""
1299
+ #~ "Error: your browser does not seem to support the street view Flash player"
1300
+ #~ msgstr ""
1301
+ #~ "Virhe: selaimesi ei näytä tukevan katunäkymään tarvittavaa Flash-soitinta"
1302
+
1303
+ #~ msgid "Sorry, no street view data is available for this location"
1304
+ #~ msgstr "Sorry, katunäkymää ei ole saatavana tähän osoitteeseen"
1305
+
1306
+ #~ msgid "Sorry, Google was unable to display the street view in your browser"
1307
+ #~ msgstr "Sorry, Google ei voi näyttää katunäkymää selaimessasi"
1308
+
1309
+ #~ msgid "Get directions"
1310
+ #~ msgstr "Hae ajo-ohjeet"
1311
+
1312
+ #~ msgid "to here"
1313
+ #~ msgstr "tänne"
1314
+
1315
+ #~ msgid "from here"
1316
+ #~ msgstr "täältä"
1317
+
1318
+ #~ msgid "Go"
1319
+ #~ msgstr "Hae"
1320
+
1321
+ #~ msgid "Please enter your API key. Need an API key? Get one "
1322
+ #~ msgstr ""
1323
+ #~ "Ole hyvä ja anna API-avaimesi. Jos sinulla ei ole sellaista, saat omasi"
1324
+
1325
+ #~ msgid ""
1326
+ #~ "MapPress could not load google maps. Either your browser is incompatible "
1327
+ #~ "or your API key is invalid. Need an API key? Get one "
1328
+ #~ msgstr ""
1329
+ #~ "MapPress ei voinut ladata karttaa. Selaimesi on kelvoton tai API-avaimesi "
1330
+ #~ "ei kelpaa. Saat API-avaimen "
1331
+
1332
+ #~ msgid "here"
1333
+ #~ msgstr "täältä"
1334
+
1335
+ #~ msgid "That address is already on the map : "
1336
+ #~ msgstr "Osoite on jo kartalla:"
1337
+
1338
+ #~ msgid "Press escape or click here to cancel: "
1339
+ #~ msgstr "Paina esc tai sulje klikkaamalla: "
1340
+
1341
+ #~ msgid ""
1342
+ #~ "MapPress isn't ready yet. Please enter your Google Maps API Key on the "
1343
+ #~ msgstr ""
1344
+ #~ "MapPress ei ole vielä valmis. Ole hyvä ja anna Google Maps API-avaimesi: "
1345
+
1346
+ #~ msgid "MapPress options screen."
1347
+ #~ msgstr "MapPress Asetusnäkymä"
1348
+
1349
+ #~ msgid "Insert map shortcode in post &raquo;"
1350
+ #~ msgstr "Liitä kartta merkintään &raquo;"
1351
+
1352
+ #~ msgid "Street Address, city, state, country, or place"
1353
+ #~ msgstr "Katuosoite, kaupunki, maakunta, maa tai paikka"
1354
+
1355
+ #~ msgid "Preview"
1356
+ #~ msgstr "Esikatselu"
1357
+
1358
+ #~ msgid ""
1359
+ #~ "Automatically center/zoom map when saved (uncheck to display map exactly "
1360
+ #~ "as shown below)"
1361
+ #~ msgstr ""
1362
+ #~ "Keskitä ja lähennä kartta automaattisesti tallennettaessa (ilman valintaa "
1363
+ #~ "kartta näytetään juuri kuten alla)"
1364
+
1365
+ #~ msgid "Center/zoom now"
1366
+ #~ msgstr "Keskitä/lähennä nyt"
1367
+
1368
+ #~ msgid "Click on a marker or use the links below to edit or delete markers."
1369
+ #~ msgstr ""
1370
+ #~ "Klikkaa merkitsintä tai käytä alla olevia linkkejä, jos haluat muokata "
1371
+ #~ "tai poistaa merkitsimiä."
1372
+
1373
+ #~ msgid "ACCESS DENIED: You don't have permission to do this."
1374
+ #~ msgstr "PÄÄSY ESTETTY: Sinulla ei ole oikeuksia tähän."
1375
+
1376
+ #~ msgid "supported languages"
1377
+ #~ msgstr "tuetut kielet"
1378
+
1379
+ #~ msgid "MapPress Options"
1380
+ #~ msgstr "MapPress Asetukset"
1381
+
1382
+ #~ msgid "Address format"
1383
+ #~ msgstr "Osoitteen muoto"
1384
+
1385
+ #~ msgid "Exactly as entered"
1386
+ #~ msgstr "Täsmällinen"
1387
+
1388
+ #~ msgid "Corrected address"
1389
+ #~ msgstr "Korjattu"
1390
+
1391
+ #~ msgid "Country code for searches"
1392
+ #~ msgstr "Hakujen maatunnus"
1393
+
1394
+ #~ msgid ""
1395
+ #~ "Enter a country code to use as a default when searching for an address."
1396
+ #~ msgstr "Anna maatunnus, jota käytetään oletusarvona osoitteita haettaessa."
1397
+
1398
+ #~ msgid "Force Google to use a specific language for map controls."
1399
+ #~ msgstr "Pakota Google käyttämään tiettyä kieltä kartan säätimissä."
1400
+
1401
+ #~ msgid "Check to enable directions to/from map markers"
1402
+ #~ msgstr "Valitse, jos haluat ottaa käyttöön ajo-ohjeiden haun merkitsimeen"
1403
+
1404
+ #~ msgid ""
1405
+ #~ "Check to show large map controls; uncheck for a small zoom control instead"
1406
+ #~ msgstr ""
1407
+ #~ "Valitse tämä, jos haluat näyttää kaikki kartan valitsimet (tyhjä = vain "
1408
+ #~ "pieni zoomaustyökalu)"
1409
+
1410
+ #~ msgid "Check to enable the \"map types\" button on the map"
1411
+ #~ msgstr "Valitse tämä, jos haluat kartalle Karttatyypit-painikkeen."
1412
+
1413
+ #~ msgid "Initial map type"
1414
+ #~ msgstr "Oletuskarttatyyppi"
1415
+
1416
+ #~ msgid "Choose the map type to use when the map is first displayed"
1417
+ #~ msgstr "Valitse karttatyyppi, jota käytetään karttaa avattaessa."
1418
+
1419
+ #~ msgid ""
1420
+ #~ "Check to show the \"GoogleBar\" search box for local business listings."
1421
+ #~ msgstr "Valitse tämä, jos haluat näyttää kartalla GoogleBar-hakupalkin."
1422
+
1423
+ #~ msgid "(click the icon to choose)"
1424
+ #~ msgstr "(valitse klikkaamalla kuvaketta)"
1425
+
1426
+ #~ msgid ""
1427
+ #~ "The starting or ending address could not be found. Please check that the "
1428
+ #~ "address is correct and completely entered."
1429
+ #~ msgstr ""
1430
+ #~ "Lähtöpaikan tai määränpään osoitetta ei löydy. Ole hyvä ja tarkista, että "
1431
+ #~ "osoite on oikea ja kirjoitettu oikein."
1432
+
1433
+ #~ msgid "(leave blank for default)"
1434
+ #~ msgstr "(tyhjä = oletusarvo)"
1435
+
1436
+ #~ msgid "1 - zoomed out"
1437
+ #~ msgstr "1 - kaukonäkymä"
1438
+
1439
+ #~ msgid "20 - zoomed in"
1440
+ #~ msgstr "20 - lähinäkymä"
1441
+
1442
+ #~ msgid "Map width"
1443
+ #~ msgstr "Kartan leveys"
1444
+
1445
+ #~ msgid "Enter a value in pixels (default is 400)"
1446
+ #~ msgstr "Anna arvo pikseleinä (oletus 400)"
1447
+
1448
+ #~ msgid "Enter a value in pixels (default is 300)"
1449
+ #~ msgstr "Anna arvo pikseleinä (oletus 300)"
1450
+
1451
+ #~ msgid "Advanced Settings"
1452
+ #~ msgstr "Lisäasetukset"
1453
+
1454
+ #~ msgid ""
1455
+ #~ "MapPress has changed with this version. You must re-enter your maps. "
1456
+ #~ "Please see the note on the %1$sMapPress options screen%2$s"
1457
+ #~ msgstr ""
1458
+ #~ "MapPress on muuttunut. Sinun täytyy luoda karttasi uudelleen. Ole hyvä ja "
1459
+ #~ "katso huomautus %1$sMapPress Asetusnäkymästä%2$s"
1460
+
1461
+ #~ msgid "Zoom (1-20) "
1462
+ #~ msgstr "Zoom (1-20) "
1463
+
1464
+ #~ msgid "Caption"
1465
+ #~ msgstr "Otsikko"
1466
+
1467
+ #~ msgid "Clear form"
1468
+ #~ msgstr "Tyhjennä lomake"
1469
+
1470
+ #~ msgid "shortcodes"
1471
+ #~ msgstr "lyhytkoodit"
1472
+
1473
+ #~ msgid "Map zoom (1-20)"
1474
+ #~ msgstr "Kartan zoomaus (1-20)"
1475
+
1476
+ #~ msgid "1=fully zoomed out, 20=fully zoomed in (default is 15)"
1477
+ #~ msgstr "1=laajin näkymä, 20=lähin näkymä (oletus on 15)"
languages/mappress-fi_FI.mo DELETED
Binary file
languages/mappress-fi_FI.po DELETED
@@ -1,907 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # This file is put in the public domain.
3
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
- #
5
- msgid ""
6
- msgstr ""
7
- "Project-Id-Version: Mappress\n"
8
- "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2011-04-07 17:44-0800\n"
10
- "PO-Revision-Date: 2011-04-07 18:07-0800\n"
11
- "Last-Translator: Plugin Author <donotreply@gmail.com>\n"
12
- "Language-Team: Monttu <jaska@kangosjarvi.net>\n"
13
- "MIME-Version: 1.0\n"
14
- "Content-Type: text/plain; charset=UTF-8\n"
15
- "Content-Transfer-Encoding: 8bit\n"
16
- "X-Poedit-Language: Finnish\n"
17
- "X-Poedit-Country: FINLAND\n"
18
- "X-Poedit-KeywordsList: __;_e\n"
19
- "X-Poedit-Basepath: .\n"
20
- "X-Poedit-SearchPath-0: C:\\D\\Blogit\\plugins\\mappress-google-maps-for-wordpress\n"
21
-
22
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:127
23
- msgid "Version"
24
- msgstr "Versio"
25
-
26
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:138
27
- msgid "Internal error, map was missing. Your data has not been saved!"
28
- msgstr "Sisäinen virhe, kartta katosi. Tietojasi ei tallennettu!"
29
-
30
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:143
31
- msgid "Internal error - unable to save map. Your data has not been saved!"
32
- msgstr "Sisäinen virhe - karttaa ei voi tallentaa. Tietojasi ei tallennettu!"
33
-
34
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:161
35
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:726
36
- msgid "Untitled"
37
- msgstr "Ei otsikkoa"
38
-
39
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:434
40
- msgid "Basic Settings"
41
- msgstr "Asetukset"
42
-
43
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:435
44
- msgid "Automatic map display"
45
- msgstr "Automaattinen näyttö"
46
-
47
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:436
48
- msgid "Post types"
49
- msgstr "Sisältötyypit"
50
-
51
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:437
52
- msgid "Map alignment"
53
- msgstr "Kartan sijoittelu"
54
-
55
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:438
56
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:733
57
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/pro/mappress_pro.php:569
58
- msgid "Directions"
59
- msgstr "Ajo-ohjeet"
60
-
61
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:439
62
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/pro/mappress_pro.php:576
63
- msgid "Marker list"
64
- msgstr ""
65
-
66
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:440
67
- msgid "Map types"
68
- msgstr "Karttatyypit"
69
-
70
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:441
71
- msgid "Street View"
72
- msgstr "Katunäkymä "
73
-
74
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:442
75
- msgid "Scroll wheel zoom"
76
- msgstr "Rullazoom"
77
-
78
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:443
79
- msgid "Keyboard shortcuts"
80
- msgstr "Näppäinoikotiet"
81
-
82
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:444
83
- msgid "Open first marker"
84
- msgstr "Avaa ensimmäinen merkitsin"
85
-
86
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:445
87
- msgid "Show traffic button"
88
- msgstr "Näytä liikennepainike"
89
-
90
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:446
91
- msgid "Tooltips"
92
- msgstr "Vihjeet"
93
-
94
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:448
95
- msgid "Localization"
96
- msgstr ""
97
-
98
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:449
99
- msgid "Language"
100
- msgstr "Kieli"
101
-
102
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:450
103
- msgid "Country"
104
- msgstr "Maa"
105
-
106
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:451
107
- msgid "Directions server"
108
- msgstr ""
109
-
110
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:453
111
- msgid "Templates"
112
- msgstr ""
113
-
114
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:454
115
- msgid "Marker list template"
116
- msgstr ""
117
-
118
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:456
119
- msgid "Custom Fields"
120
- msgstr "Valinnainen kenttä"
121
-
122
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:457
123
- msgid "Custom fields"
124
- msgstr "Valinnainen kenttä"
125
-
126
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:459
127
- msgid "Micsellaneous"
128
- msgstr ""
129
-
130
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:460
131
- msgid "Custom CSS"
132
- msgstr "Valinnainen tyylitiedosto"
133
-
134
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:461
135
- msgid "Force resize"
136
- msgstr "Koon massamuutos"
137
-
138
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:462
139
- msgid "MapPress link"
140
- msgstr "MapPress-linkki"
141
-
142
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:509
143
- msgid "country code"
144
- msgstr "maatunnus"
145
-
146
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:511
147
- #, php-format
148
- msgid "Enter a %s to use when searching (leave blank for USA)"
149
- msgstr "Anna %s, jolla haetaan (jätä tyhjäksi, jos haetaan USA:ssa)"
150
-
151
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:519
152
- msgid "Enter the google server to use for directions & printing (default is maps.google.com)"
153
- msgstr ""
154
-
155
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:529
156
- msgid "Enable zoom with the mouse scroll wheel"
157
- msgstr "Ota käyttöön loitonnus ja lähennys hiiren rullan avulla."
158
-
159
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:537
160
- msgid "Enable keyboard panning and zooming"
161
- msgstr "Ota käyttöön panorointi ja zoomaus näppäimillä"
162
-
163
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:543
164
- msgid "language"
165
- msgstr "kieli"
166
-
167
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:545
168
- #, php-format
169
- msgid "Use a specific %s for map controls (default is the browser language setting)"
170
- msgstr "Valitse %s kartan hallintaan (oletus: selaimen kieliasetus)"
171
-
172
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:556
173
- msgid "Allow your readers to change the map type (street, satellite, or hybrid)"
174
- msgstr "Salli käyttäjien vaihtaa kartan tyyppiä (katu, satelliitti tai hybridi)"
175
-
176
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:564
177
- msgid "Display the street view control \"peg man\""
178
- msgstr "Näytä katunäkymän valintapainike \"jalankulkija\""
179
-
180
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:572
181
- msgid "Inline (in your blog)"
182
- msgstr "Sivulla (omassa blogissa)"
183
-
184
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:576
185
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/pro/mappress_pro.php:571
186
- msgid "Google"
187
- msgstr "Google"
188
-
189
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:580
190
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/pro/mappress_pro.php:565
191
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/pro/mappress_pro.php:570
192
- msgid "None"
193
- msgstr "Ei"
194
-
195
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:582
196
- msgid "Select 'Google' if directions aren't displaying properly in your theme"
197
- msgstr "Valitse 'Google', jos ajo-ohjeet eivät näy toivomallasi tavalla sivustollasi"
198
-
199
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:589
200
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:703
201
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:711
202
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:719
203
- #, php-format
204
- msgid "This setting requires %s."
205
- msgstr "Tämä asetus vaatii version %s."
206
-
207
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:590
208
- msgid "Show a list of markers under each map."
209
- msgstr "Näytä paikkalistaus jokaisen kartan alapuolella"
210
-
211
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:599
212
- msgid "Automatically open the first marker when a map is displayed"
213
- msgstr "Valitse tämä, jos haluat avata ensimmäisen merkitsimen karttaa avattaessa."
214
-
215
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:608
216
- msgid "Show a button for real-time traffic conditions"
217
- msgstr "Näytä painike ajantasaisia liikennetietoja varten"
218
-
219
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:617
220
- msgid "Show marker titles as a \"tooltip\" on mouse-over."
221
- msgstr "Näytä merktsinotsikot \"vihjeinä\", kun niitä osoitetaan hiirellä. Poista tämä käytöstä, jos käytät HTML-koodia merkitsimien otsikoissa."
222
-
223
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:625
224
- msgid "Default"
225
- msgstr " Oletus"
226
-
227
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:629
228
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:630
229
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:666
230
- msgid "Center"
231
- msgstr "Keskitä"
232
-
233
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:634
234
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:635
235
- msgid "Left"
236
- msgstr "Vasen"
237
-
238
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:639
239
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:640
240
- msgid "Right"
241
- msgstr "Oikea"
242
-
243
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:648
244
- msgid "Top of post"
245
- msgstr "Merkinnän alussa"
246
-
247
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:652
248
- msgid "Bottom of post"
249
- msgstr "Merkinnän lopussa"
250
-
251
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:656
252
- msgid "No automatic display"
253
- msgstr "Ei automaattista sijoittelua"
254
-
255
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:666
256
- msgid "post types"
257
- msgstr "sisältötyypit"
258
-
259
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:668
260
- #, php-format
261
- msgid "Mark the %s where you want to use MapPress"
262
- msgstr "Valitse %s, joissa haluat käyttää MapPressiä"
263
-
264
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:675
265
- msgid "post"
266
- msgstr "merkintä"
267
-
268
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:677
269
- msgid "page"
270
- msgstr "sivu"
271
-
272
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:684
273
- msgid "Click to permanently resize ALL existing maps"
274
- msgstr "Klikkaa, jos haluat pysyvästi muuttaa KAIKKIEN karttojen kooksi"
275
-
276
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:686
277
- msgid "Force Resize"
278
- msgstr "Koon pakkomuutos"
279
-
280
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:697
281
- msgid "Enter the URL for your CSS file"
282
- msgstr "Anna tyylitiedostosi URL"
283
-
284
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:704
285
- msgid "Set a template for the marker list."
286
- msgstr ""
287
-
288
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:712
289
- msgid "Toggle the 'powered by' message."
290
- msgstr "Poistaa 'powered by'-viestin."
291
-
292
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:720
293
- msgid "Automatically create maps from custom field data."
294
- msgstr "Luo automaattisesti kartan valinnaisen kentän tiedoista."
295
-
296
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:732
297
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:741
298
- msgid "No new items"
299
- msgstr ""
300
-
301
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:750
302
- msgid "Subscribe with RSS"
303
- msgstr ""
304
-
305
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:758
306
- msgid "5 Stars"
307
- msgstr ""
308
-
309
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:760
310
- #, php-format
311
- msgid "Take a moment to rate it %s on WordPress.org - or make a donation"
312
- msgstr ""
313
-
314
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:771
315
- msgid "Thanks for your support!"
316
- msgstr ""
317
-
318
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:831
319
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:604
320
- msgid "Documentation"
321
- msgstr "Tiedot"
322
-
323
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:832
324
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:606
325
- msgid "Report a bug"
326
- msgstr "Ilmoita virheestä"
327
-
328
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:841
329
- msgid "Like this plugin?"
330
- msgstr ""
331
-
332
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:842
333
- msgid "MapPress News"
334
- msgstr ""
335
-
336
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:861
337
- msgid "Save Changes"
338
- msgstr "Tallenna muutokset"
339
-
340
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:862
341
- msgid "Reset Defaults"
342
- msgstr "Oletus"
343
-
344
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:886
345
- msgid "MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this."
346
- msgstr "MapPressin tietokantataulut puuttuvat. Korjaa ongelma poistamalla lisäosa käytöstä ja ottamalla se uudelleen käyttöön."
347
-
348
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:891
349
- msgid "WARNING: MapPress requires WordPress 3.0 or higher. Please upgrade before using MapPress."
350
- msgstr "VAROITUS: MapPress vaatii vähintään WordPress 3.0 -version. Päivitä ennen kuin käytät MapPressiä."
351
-
352
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress.php:896
353
- msgid "WARNING: MapPress is not compatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
354
- msgstr "VAROITUS: MapPress ei töimi WP-Geo-lisäosan kanssa. Ota WP-Geo pois käytöstä tai poista se ennen kuin käytät MapPressiä."
355
-
356
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:138
357
- #, php-format
358
- msgid "No geocoding response from Google: %s"
359
- msgstr "Ei geokoodausvastausta Googlelta: %s"
360
-
361
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:151
362
- #, php-format
363
- msgid "Google cannot geocode address: %s, status: %s"
364
- msgstr "Google ei pysty geokoodaamaan osoitetta %s, tila %s"
365
-
366
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:154
367
- #, php-format
368
- msgid "No geocoding result for address: %s"
369
- msgstr "Ei geokoodaustulosta osoitteelle: %s"
370
-
371
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:530
372
- msgid "Close"
373
- msgstr "Sulje"
374
-
375
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:531
376
- msgid "By car"
377
- msgstr "Autolla"
378
-
379
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:532
380
- msgid "Walking"
381
- msgstr "Kävellen"
382
-
383
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:533
384
- msgid "Bicycling"
385
- msgstr "Pyöräillen"
386
-
387
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:538
388
- msgid "Start"
389
- msgstr "Lähtöpaikka"
390
-
391
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:545
392
- msgid "Swap start and end"
393
- msgstr "Vaihda lähtöpaikka ja määränpää"
394
-
395
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:551
396
- msgid "End"
397
- msgstr "Määränpää"
398
-
399
- #: C:\wamp\www\wordpress\wp-content\plugins\mappress-google-maps-for-wordpress/mappress_api.php:560
400
- msgid "Get Directions"
401
-