MapPress Easy Google Maps - Version 2.40

Version Description

Download this release

Release Info

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

Version 2.40

Files changed (70) hide show
  1. LICENSE.txt +79 -0
  2. css/mappress.css +452 -0
  3. css/mappress_admin.css +259 -0
  4. forms/map_editor.php +21 -0
  5. forms/map_editor_infobox.php +53 -0
  6. forms/map_media.php +55 -0
  7. images/cleardot.gif +0 -0
  8. images/delete.png +0 -0
  9. images/directions.png +0 -0
  10. images/icons.png +0 -0
  11. images/justify_center.png +0 -0
  12. images/justify_left.png +0 -0
  13. images/justify_right.png +0 -0
  14. images/loading.gif +0 -0
  15. images/mappress_logo_med.png +0 -0
  16. images/mappress_logo_small.png +0 -0
  17. images/mappress_pin_logo.png +0 -0
  18. images/news.png +0 -0
  19. images/next-off.png +0 -0
  20. images/next.png +0 -0
  21. images/prev-off.png +0 -0
  22. images/prev.png +0 -0
  23. images/remove.png +0 -0
  24. images/rss.png +0 -0
  25. images/search.png +0 -0
  26. images/swap.png +0 -0
  27. js/mappress.min.js +1 -0
  28. js/mappress_editor.min.js +1 -0
  29. js/mappress_settings.min.js +1 -0
  30. languages/mappress-de_DE.mo +0 -0
  31. languages/mappress-de_DE.po +950 -0
  32. languages/mappress-es_ES.mo +0 -0
  33. languages/mappress-es_ES.po +694 -0
  34. languages/mappress-fi_FI.mo +0 -0
  35. languages/mappress-fi_FI.po +907 -0
  36. languages/mappress-fr_FR.mo +0 -0
  37. languages/mappress-fr_FR.po +1248 -0
  38. languages/mappress-hr.mo +0 -0
  39. languages/mappress-hr.po +1179 -0
  40. languages/mappress-hu_HU.mo +0 -0
  41. languages/mappress-hu_HU.po +695 -0
  42. languages/mappress-it_IT.mo +0 -0
  43. languages/mappress-it_IT.po +950 -0
  44. languages/mappress-nl_NL.mo +0 -0
  45. languages/mappress-nl_NL.po +1268 -0
  46. languages/mappress-pt_BR.mo +0 -0
  47. languages/mappress-pt_BR.po +680 -0
  48. languages/mappress-zh_CN.mo +0 -0
  49. languages/mappress-zh_CN.po +801 -0
  50. languages/mappress-zh_TW.mo +0 -0
  51. languages/mappress-zh_TW.po +795 -0
  52. languages/mappress.mo +0 -0
  53. languages/mappress.po +1086 -0
  54. mappress.php +580 -0
  55. mappress_map.php +522 -0
  56. mappress_obj.php +35 -0
  57. mappress_poi.php +361 -0
  58. mappress_settings.php +803 -0
  59. mappress_updater.php +55 -0
  60. readme.txt +152 -0
  61. screenshot-1.jpg +0 -0
  62. screenshot-2.jpg +0 -0
  63. screenshot-3.jpg +0 -0
  64. screenshot-4.jpg +0 -0
  65. screenshot-5.jpg +0 -0
  66. screenshot-6.jpg +0 -0
  67. templates/map_directions.php +36 -0
  68. templates/map_layout.php +20 -0
  69. templates/map_poi.php +12 -0
  70. templates/map_poi_list.php +25 -0
LICENSE.txt ADDED
@@ -0,0 +1,79 @@
1
+ MAPPRESS LICENSE
2
+
3
+ MapPress PHP files are GPL-licensed as described in the header of each file.
4
+
5
+ MapPress javascript files in this plugin are copyright Chris Richardson, 2010 all rights reserved.
6
+
7
+ The PRO version of MapPress may be used on up to three commercial blogs per copy. The PRO Developer version may be used on an unlimited number of commercial blogs.
8
+
9
+ SOFTWARE LICENSE AGREEMENT AND CONDITIONS FOR USE
10
+
11
+ PLEASE READ THIS SOFTWARE LICENSE AGREEMENT CAREFULLY BEFORE DOWNLOADING OR USING THE SOFTWARE. BY DOWNLOADING OR USING THE SOFTWARE YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, DO NOT DOWNLOAD
12
+ OR USE THE PRODUCT.
13
+
14
+
15
+ 1. Definitions.
16
+
17
+ "License" shall mean the terms and conditions for use, reproduction,
18
+ and distribution as defined by Sections 1 through 4 of this document.
19
+
20
+ "Licensor" shall mean the software author or copyright owner
21
+ that is granting the License.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ 2. Links. You may not remove, obscure, alter or hide any links in the plugin
41
+ unless you have purchased a commercial version of the plugin or
42
+ received written permission from the author.
43
+
44
+ 3. Trademarks. This License does not grant permission to use the trade
45
+ names, trademarks, service marks, or product names of the Licensor,
46
+ except as required for reasonable and customary use in describing the
47
+ origin of the Work and reproducing the content of the NOTICE file.
48
+
49
+ 4. Disclaimer of Warranty. Unless required by applicable law or
50
+ agreed to in writing, Licensor provides the Work on an "AS IS" BASIS,
51
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
52
+ implied, including, without limitation, any warranties or conditions
53
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
54
+ PARTICULAR PURPOSE. You are solely responsible for determining the
55
+ appropriateness of using or redistributing the Work and assume any
56
+ risks associated with Your exercise of permissions under this License.
57
+
58
+ 5. Limitation of Liability. In no event and under no legal theory,
59
+ whether in tort (including negligence), contract, or otherwise,
60
+ unless required by applicable law shall the Licensor be
61
+ liable to You for damages, including any direct, indirect, special,
62
+ incidental, or consequential damages of any character arising as a
63
+ result of this License or out of the use or inability to use the
64
+ Work (including but not limited to damages for loss of goodwill,
65
+ work stoppage, computer failure or malfunction, or any and all
66
+ other commercial damages or losses), even if such Licensor
67
+ has been advised of the possibility of such damages. You agree to
68
+ indemnify, and hold Licensor harmless for any liability
69
+ incurred by, or claims asserted against, Licensor for any reason.
70
+
71
+ 6. Licensee shall not modify, copy, duplicate, reproduce, license or sublicense
72
+ the Software, or transfer or convey the Software or any right in the Software to
73
+ anyone else without the prior written consent of Developer; provided that Licensee
74
+ may make one copy of the Software for backup or archival purposes.
75
+
76
+ 7. EXCEPT AS EXPRESSLY AUTHORIZED ABOVE, CUSTOMER SHALL NOT: COPY, IN WHOLE OR IN
77
+ PART, SOFTWARE OR DOCUMENTATION; MODIFY THE SOFTWARE; REVERSE COMPILE OR REVERSE
78
+ ASSEMBLE ALL OR ANY PORTION OF THE SOFTWARE; OR RENT, LEASE, DISTRIBUTE, SELL, OR
79
+ CREATE DERIVATIVE WORKS OF THE SOFTWARE.
css/mappress.css ADDED
@@ -0,0 +1,452 @@
1
+ /*
2
+ This program is distributed in the hope that it will be useful,
3
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
4
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5
+ */
6
+
7
+ /*
8
+ -----------------------------------------------------------------------------------
9
+ The !important modifier is used because some themes use high-priority selectors
10
+ on img tags that can interfere with Google map tiles.
11
+ -----------------------------------------------------------------------------------
12
+ */
13
+
14
+ /*
15
+ -----------------------------------------------------------------------------------
16
+ Layout - map canvas, poi list and directions
17
+ -----------------------------------------------------------------------------------
18
+ */
19
+
20
+ .mapp-align-left { float: left !important; }
21
+ .mapp-align-right { float: right !important; }
22
+ .mapp-align-center { margin-left: auto !important; margin-right: auto !important; }
23
+ .mapp-align-default {}
24
+
25
+ /*
26
+ -----------------------------------------------------------------------------------
27
+ Map layout - table containing map, directions, poi list
28
+ -----------------------------------------------------------------------------------
29
+ */
30
+
31
+ .mapp-layout {
32
+ margin: 5px ;
33
+ padding: 0px ;
34
+ }
35
+
36
+ /* Links for the map */
37
+ .mapp-map-links {
38
+ background-color: #F0F0F0;
39
+ border-top: 1px solid lightgray;
40
+ border-bottom: 1px solid lightgray;
41
+ }
42
+
43
+ .mapp-map-links a {
44
+ margin: 2px 15px 2px 5px;
45
+ text-decoration: none;
46
+ }
47
+
48
+ .mapp-map-links a:hover {
49
+ text-decoration: underline;
50
+ }
51
+
52
+ .mapp-hidden {
53
+ display: none;
54
+ }
55
+
56
+ /* Dialog box for map */
57
+ .mapp-dialog {
58
+ position:relative;
59
+ display:none;
60
+ }
61
+
62
+ .mapp-dialog-inner {
63
+ position: absolute;
64
+ width: 200px;
65
+ left: 50%;
66
+ top: 30px;
67
+ margin-left: -100px;
68
+ padding: 10px;
69
+ background-color: white;
70
+ z-index: 99999999999;
71
+ text-align: center;
72
+ border: 1px solid gray;
73
+ box-shadow: 0px 0px 20px rgba(0,0,0,0.75);
74
+ border-radius: 5px;
75
+ }
76
+
77
+ /*
78
+ -----------------------------------------------------------------------------------
79
+ Map canvas - container where map is rendered
80
+ -----------------------------------------------------------------------------------
81
+ */
82
+
83
+ /* Div on which the map is rendered */
84
+ .mapp-canvas {
85
+ overflow: hidden !important;
86
+ padding: 0px !important;
87
+ margin: 0px; /* Do not set !important on this - plugin overrides it using a style during display, for map alignment */
88
+ color: black !important;
89
+ }
90
+
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;
98
+ margin: 0px !important;
99
+ box-shadow: none !important; /* 2012 adds box shadow to all images */
100
+ border-radius: 0px !important; /* 2012 adds border-radius to all images */
101
+ }
102
+
103
+
104
+ /*
105
+ -----------------------------------------------------------------------------------
106
+ InfoWindow
107
+
108
+ The InfoWindow ('bubble') will inherit its styling from your blog.
109
+ Some minimal styling is applied below.
110
+ -----------------------------------------------------------------------------------
111
+ */
112
+
113
+ .mapp-iw {
114
+ padding: 0px ;
115
+ margin: 0px ;
116
+ color: black ;
117
+ line-height: normal ;
118
+ }
119
+
120
+ .mapp-iw .mapp-title {
121
+ font-weight: bold;
122
+ }
123
+
124
+ .mapp-iw .mapp-body {
125
+ padding-bottom: 4px;
126
+ }
127
+
128
+ .mapp-iw .mapp-thumb {
129
+ padding-right: 10px !important; /* important is used here because otherwise .mapp-canvas img setting will take priority */
130
+ vertical-align: top;
131
+ float: left;
132
+ }
133
+
134
+ .mapp-iw img {
135
+ margin: 3px 3px 3px 0px !important;
136
+ }
137
+
138
+ .mapp-iw .mapp-links {
139
+ clear: both; /* Clear any floats from images in body */
140
+ white-space: nowrap; /* Don't let links split in small infowindows */
141
+ margin: 0px;
142
+ padding-top: 4px ;
143
+ border-top: 1px solid lightgray ;
144
+ }
145
+
146
+ .mapp-iw .mapp-links a {}
147
+
148
+ /*
149
+ -----------------------------------------------------------------------------------
150
+ Infobox
151
+ -----------------------------------------------------------------------------------
152
+ */
153
+
154
+ .mapp-ib {
155
+ background-color: white;
156
+ border: 1px solid lightgray;
157
+ border-collapse: separate; /* Without this, box shadow won't work on IE9 */
158
+ -moz-box-shadow: 5px 5px 5px #888;
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;
166
+ position: absolute;
167
+ z-index: 100; /* WP thickbox has z-index 102, this keeps editor's IB below it */
168
+ }
169
+
170
+ /* Close button */
171
+ .mapp-ib-close {
172
+ display: block;
173
+ position: absolute;
174
+ cursor: pointer;
175
+ right: 5px;
176
+ top: 5px;
177
+ }
178
+
179
+ /* Triangular tip */
180
+ .mapp-ib-tip {
181
+ position: absolute;
182
+ top: -10px; /* Use -12 instead of -10, otherwise a line may appear above tip */
183
+ left: 20px;
184
+ margin: 0;
185
+ border-top: 10px solid white;
186
+ border-left: 10px solid transparent;
187
+ border-right: 10px solid transparent;
188
+ border-bottom: none;
189
+ padding: 0;
190
+ width: 0;
191
+ height: 0;
192
+ /* ie6 height fix */
193
+ font-size: 0;
194
+ line-height: 0;
195
+ z-index: 101;
196
+ }
197
+
198
+
199
+ /*
200
+ -----------------------------------------------------------------------------------
201
+ POI List
202
+ -----------------------------------------------------------------------------------
203
+ */
204
+
205
+ .mapp-poi-list {
206
+ overflow-y: auto ;
207
+ overflow-x: hidden ;
208
+ max-height: 300px; /* To show all entries put this in your styles.css: max-height: auto; */
209
+ }
210
+
211
+ .mapp-poi-list table {
212
+ margin-top: 10px ;
213
+ width: 100% ;
214
+ line-height: normal ;
215
+ border-collapse: collapse ;
216
+ }
217
+
218
+ .mapp-poi-list th {
219
+ font-weight: bold;
220
+ }
221
+
222
+ .mapp-poi-list td {
223
+ padding: 5px ;
224
+ margin: 0px ;
225
+ border: none ;
226
+ border-bottom: 1px solid lightgray ;
227
+ vertical-align: middle ;
228
+ }
229
+
230
+ /*
231
+ -----------------------------------------------------------------------------------
232
+ Directions
233
+ -----------------------------------------------------------------------------------
234
+ */
235
+
236
+ .mapp-directions {
237
+ display: none;
238
+ text-align: left;
239
+ overflow: none ;
240
+ margin: 10px 0 0 0 ;
241
+ }
242
+
243
+ /* Directions travel mode buttons */
244
+ .mapp-travelmode {
245
+ border: 1px solid lightgray ;
246
+ display: inline-block ;
247
+ text-align: center ;
248
+ vertical-align: middle ;
249
+ width: 50px ;
250
+ height: 27px ;
251
+ line-height: 27px ;
252
+ background-color: rgb(245, 245, 245) ;
253
+ padding: 0px ;
254
+ margin: 0px ;
255
+ }
256
+
257
+ .mapp-travelmode-on {
258
+ background-color: rgb(210, 210, 210) ;
259
+ }
260
+
261
+ .mapp-dir-swap {
262
+ display:inline-block;
263
+ border: 1px solid lightgray ;
264
+ text-align: center ;
265
+ vertical-align: middle ;
266
+ width: 24px ;
267
+ height: 24px ;
268
+ line-height: 24px ;
269
+ background-color: rgb(245, 245, 245) ;
270
+ padding: 0px ;
271
+ margin: 0px ;
272
+ position: relative;
273
+ vertical-align: bottom;
274
+ }
275
+
276
+ /* Put a border around the route options returned from Google */
277
+ .adp-list {
278
+ border: 1px solid lightgray ;
279
+ cursor: pointer ;
280
+ }
281
+
282
+ .mapp-route {
283
+ margin: 10px 0 0px 0 ;
284
+ }
285
+
286
+ .mapp-route input {
287
+ width: 80% ;
288
+ line-height: normal ;
289
+ }
290
+
291
+ .mapp-route li {
292
+ padding: 2px ;
293
+ }
294
+
295
+ .mapp-dir-icon { cursor: pointer; display: inline-block; vertical-align: middle; margin: 0; padding: 0; background: transparent url('../images/directions.png') no-repeat; }
296
+ .mapp-dir-car { width: 15px; height: 12px; background-position: 0px -96px; }
297
+ .mapp-dir-bus { width: 13px; height: 15px; background-position: 0px -426px; }
298
+ .mapp-dir-walk { width: 10px; height: 16px; background-position: 0px -489px; }
299
+ .mapp-dir-bike { width: 17px; height: 14px; background-position: 0px -340px; }
300
+ .mapp-dir-transit { width: 17px; height: 14px; background-position: 0px -425px; }
301
+ .mapp-dir-arrows { width: 10px; height: 12px; background-position: -10px -489px; }
302
+ .mapp-dir-del { width: 7px; height: 7px; background-position: 0px -189px; }
303
+
304
+ .mapp-dir-letter { cursor: move; display: inline-block; vertical-align: middle; margin: 0; padding: 0; background: transparent url('../images/directions.png') no-repeat; }
305
+ .mapp-dir-a { width: 24px; height: 24px; background-position: 0px -140px; }
306
+ .mapp-dir-b { width: 24px; height: 24px; background-position: 0px -72px; }
307
+ .mapp-dir-dot { width: 9px; height: 10px; background-position: 0px -108px; }
308
+
309
+ /*
310
+ -----------------------------------------------------------------------------------
311
+ Styling for MapPress internal messages, etc. You shouldn't need to change these.
312
+ Note that some styling is in inline styles because the CSS may not be initially
313
+ loaded...
314
+ -----------------------------------------------------------------------------------
315
+ */
316
+
317
+ /*
318
+ -----------------------------------------------------------------------------------
319
+ Custom map controls (traffic, bicycling)
320
+ -----------------------------------------------------------------------------------
321
+ */
322
+
323
+ .mapp-control {
324
+ border: black 1px solid;
325
+ margin: 5px 0px 0px 0px;
326
+ background-color: white;
327
+ padding: 1px 6px 1px 6px;
328
+ border: 1px solid #717b87;
329
+ box-shadow: 0px 2px 4px rgba(0,0,0,0.4);
330
+ color: #333333;
331
+ cursor: pointer;
332
+ font-family: Arial,sans-serif;
333
+ font-size: 13px;
334
+ text-align: center;
335
+ }
336
+
337
+ .mapp-control * {
338
+ margin: 0px;
339
+ padding: 0px;
340
+ vertical-align: baseline;
341
+ }
342
+
343
+ /*
344
+ -----------------------------------------------------------------------------------
345
+ Misc
346
+ -----------------------------------------------------------------------------------
347
+ */
348
+
349
+ /* Icons, e.g. in poi list */
350
+ .mapp-icon {
351
+ max-width: 32px !important; /* 2012 tries to override */
352
+ max-height: 32px;
353
+ vertical-align: middle;
354
+ box-shadow: none !important; /* 2012 applies box shadow to all images */
355
+ }
356
+
357
+ /* Medium icon */
358
+ .mapp-icon-medium {
359
+ width: 24px !important;
360
+ height: 24px;
361
+ vertical-align: middle;
362
+ }
363
+
364
+ /* Small icon */
365
+ .mapp-icon-small {
366
+ width: 16px !important;
367
+ height: 16px;
368
+ vertical-align: middle;
369
+ }
370
+
371
+
372
+ /* Icons, aligned 'top' */
373
+ .mapp-icon-top {
374
+ max-width: 32px;
375
+ height: 32px;
376
+ vertical-align: top;
377
+ }
378
+
379
+ /* Error messages, e.g. invalid address */
380
+ .mapp-error {
381
+ background-color: #ffebe8;
382
+ margin: 0;
383
+ padding: 2px;
384
+ background-color: pink;
385
+ border: 1px solid red !important;
386
+ }
387
+
388
+ /* Table for options settings */
389
+ .mapp-table {
390
+ width: auto;
391
+ height: auto;
392
+ background-color: rgb(249, 249, 249);
393
+ border: 1px solid #dfdfdf;
394
+ border-radius: 3px;
395
+ }
396
+
397
+ .mapp-table th {
398
+ font-weight: bold;
399
+ background-color: rgb(241, 241, 241);
400
+ width: auto;
401
+ height: auto;
402
+ border-bottom: 1px solid lightgray;
403
+ padding: 7px;
404
+ }
405
+
406
+ .mapp-table td {
407
+ width: auto;
408
+ height: auto;
409
+ border-bottom: 1px solid lightgray;
410
+ vertical-align: top;
411
+ padding: 5px;
412
+ }
413
+
414
+ .mapp-table tfoot {
415
+ background-color: rgb(241, 241, 241);
416
+ }
417
+
418
+ .mapp-spinner {
419
+ display: inline-block;
420
+ height:16px;
421
+ width: 16px;
422
+ margin-left: 10px;
423
+ margin-right: 10px;
424
+ background: transparent url(../images/loading.gif) no-repeat center center;
425
+ }
426
+
427
+ .mapp-spinner-center {
428
+ display: inline-block;
429
+ height:16px;
430
+ width: 16px;
431
+ position: relative;
432
+ left: 50%;
433
+ top: 50%;
434
+ margin-left: -8px;
435
+ margin-top: -8px;
436
+ background: transparent url(../images/loading.gif) no-repeat center center;
437
+ }
438
+
439
+ .mapp-poi-list-nav {
440
+ background-color: #F0F0F0;
441
+ border-top: 1px solid lightgray;
442
+ border-bottom: 1px solid lightgray;
443
+ padding-left: 5px;
444
+ text-align: center;
445
+ color: #777;
446
+ }
447
+
448
+ .mapp-search-button { display: inline-block; vertical-align: middle; margin-left: 5px; margin-right: 5px; margin-top: 0px; margin-bottom: 0px; padding: 0; background: transparent url('../images/search.png') no-repeat center; width: 13px; height: 13px; }
449
+ .mapp-next { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 0; background: transparent url('../images/next.png') no-repeat; width: 22px; height: 22px; }
450
+ .mapp-next-off { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 0; background: transparent url('../images/next-off.png') no-repeat; width: 22px; height: 22px; }
451
+ .mapp-prev { display: inline-block; vertical-align: middle; margin-right: 10px; padding: 0; background: transparent url('../images/prev.png') no-repeat; width: 22px; height: 22px; }
452
+ .mapp-prev-off { display: inline-block; vertical-align: middle; margin-right: 10px; padding: 0; background: transparent url('../images/prev-off.png') no-repeat; width: 22px; height: 22px; }
css/mappress_admin.css ADDED
@@ -0,0 +1,259 @@
1
+ /*
2
+ -----------------------------------------------------------------------------------
3
+ Map list
4
+ -----------------------------------------------------------------------------------
5
+ */
6
+
7
+ .mapp-m-panel {}
8
+
9
+ .mapp-m-panel hr {
10
+ background-color: lightgray; /* Some browsers used background color */
11
+ border: 0;
12
+ color: lightgray; /* IE uses color */
13
+ height: 1px;
14
+ }
15
+
16
+ .mapp-m-map-list {
17
+ width: 100%;
18
+ height: 100%;
19
+ margin-top: 5px;
20
+ overflow: auto;
21
+ }
22
+
23
+ .mapp-m-actions {
24
+ visibility: hidden;
25
+ }
26
+
27
+ tr:hover > td > .mapp-m-actions {
28
+ visibility: visible;
29
+ }
30
+
31
+ /*
32
+ -----------------------------------------------------------------------------------
33
+ Map editor
34
+ -----------------------------------------------------------------------------------
35
+ */
36
+
37
+ .mapp-e-edit-panel {
38
+ border-top: 1px solid lightgray;
39
+ margin-top: 5px;
40
+ white-space:nowrap;
41
+ }
42
+
43
+ .mapp-e-top-toolbar {
44
+ font-size: 12px;
45
+ }
46
+
47
+ .mapp-e-canvas {
48
+ max-width: 100%;
49
+ border: 1px solid lightgray;
50
+ }
51
+
52
+ .mapp-e-poi-list {
53
+ border-left: 1px solid lightgray;
54
+ border-right: 1px solid lightgray;
55
+ border-bottom: 1px solid lightgray;
56
+ display: inline-block;
57
+ width: 25%;
58
+ height: 100%;
59
+ cursor: move;
60
+ overflow: auto;
61
+ }
62
+
63
+ .mapp-e-poi-list a {
64
+ text-decoration: none;
65
+ }
66
+
67
+ .mapp-e-poi-list td {
68
+ border-bottom: 1px solid lightgray;
69
+ }
70
+
71
+ .mapp-e-poi-list tr:nth-of-type(odd) {
72
+ background-color: rgb(252, 252, 252);
73
+ }
74
+
75
+ .mapp-e-actions {
76
+ visibility: hidden;
77
+ }
78
+
79
+ tr:hover > td > .mapp-e-actions {
80
+ visibility: visible;
81
+ }
82
+
83
+ .mapp-e-icon {
84
+ vertical-align: top;
85
+ padding-right: 5px;
86
+ max-height: 32px;
87
+ max-width: 32px;
88
+ }
89
+
90
+ .mapp-e-infobox {
91
+ width: 425px;
92
+ height: 300px;
93
+ }
94
+
95
+ #mapp_e_poi_title {
96
+ width: 350px;
97
+ font-weight: bold;
98
+ }
99
+
100
+ /* Body as a textarea - also hard-coded into tinymce init */
101
+ #mapp_e_poi_body {
102
+ width: 400px;
103
+ height:175px;
104
+ }
105
+
106
+ /* Links for visual / html tinymce - for some reason the cursor is not set correctly */
107
+ #mapp_e_visual, #mapp_e_html {
108
+ cursor: pointer;
109
+ }
110
+
111
+ #mapp_e_poi_kml_url {
112
+ width: 350px;
113
+ }
114
+
115
+ #mapp_e_poi_icon_picker .mapp-icon-picker-body {
116
+ max-height: 250px;
117
+ width: 400px;
118
+ overflow: auto;
119
+ }
120
+
121
+
122
+
123
+ /*
124
+ -----------------------------------------------------------------------------------
125
+ Icon Picker
126
+ -----------------------------------------------------------------------------------
127
+ */
128
+
129
+ #mapp_icon_picker_dialog {
130
+ border: 1px solid gray;
131
+ width: 350px;
132
+ position: absolute;
133
+ }
134
+
135
+ .mapp-icon-picker {
136
+ background-color: white;
137
+ padding: 5px;
138
+ }
139
+
140
+ .mapp-icon-picker-menu {
141
+ padding-bottom: 5px;
142
+ }
143
+
144
+ .mapp-icon-picker-body {
145
+ max-height: 200px;
146
+ overflow: auto;
147
+ }
148
+
149
+ .mapp-icon-picker ul {
150
+ list-style-type: none;
151
+ margin: 0px;
152
+ line-height: normal;
153
+ user-select: none;
154
+ }
155
+
156
+ .mapp-icon-picker li {
157
+ border: 2px solid white;
158
+ display: inline-block;
159
+ user-select: none;
160
+ margin: 0px;
161
+ }
162
+
163
+ .mapp-icon-picker li:hover {
164
+ border: 2px solid blue;
165
+ }
166
+
167
+ /* Default icon appears as an empty dotted box */
168
+ li.mapp-default-icon {
169
+ width: 32px;
170
+ height: 32px;
171
+ border: 1px dotted black;
172
+ }
173
+
174
+ .mapp-icon-sprite { background: transparent url('../images/icons.png') no-repeat; width: 32px; height: 32px }
175
+
176
+ /*
177
+ -----------------------------------------------------------------------------------
178
+ Color picker
179
+ -----------------------------------------------------------------------------------
180
+ */
181
+ #mapp_colorpicker:before {
182
+ position: absolute;
183
+ top: -7px;
184
+ left: 9px;
185
+ display: inline-block;
186
+ border-right: 7px solid transparent;
187
+ border-bottom: 7px solid #ccc;
188
+ border-left: 7px solid transparent;
189
+ border-bottom-color: rgba(0, 0, 0, 0.2);
190
+ content: '';
191
+ }
192
+
193
+ #mapp_colorpicker:after {
194
+ position: absolute;
195
+ top: -6px;
196
+ left: 10px;
197
+ display: inline-block;
198
+ border-right: 6px solid transparent;
199
+ border-bottom: 6px solid #ffffff;
200
+ border-left: 6px solid transparent;
201
+ content: '';
202
+ }
203
+
204
+ #mapp_colorpicker {
205
+ position: absolute;
206
+ top: 100%;
207
+ left: 0;
208
+ z-index: 10000;
209
+ display: none;
210
+ float: left;
211
+ min-width: 160px;
212
+ max-width: 209px;
213
+ padding: 4px 0px 0px 4px;
214
+ margin: 1px 0 0;
215
+ list-style: none;
216
+ background-color: #ffffff;
217
+ border: 1px solid #ccc;
218
+ border: 1px solid rgba(0, 0, 0, 0.2);
219
+ *border-right-width: 2px;
220
+ *border-bottom-width: 2px;
221
+
222
+ -webkit-border-radius: 5px;
223
+ -moz-border-radius: 5px;
224
+ border-radius: 5px;
225
+
226
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
227
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
228
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
229
+
230
+ -webkit-background-clip: padding-box;
231
+ -moz-background-clip: padding;
232
+ background-clip: padding-box;
233
+ }
234
+
235
+ #mapp_colorpicker ul {
236
+ margin: 0;
237
+ padding: 0;
238
+ list-style-type: none;
239
+ }
240
+
241
+ #mapp_colorpicker ul li {
242
+ float: left;
243
+ margin: 0 4px 4px 0;
244
+ }
245
+
246
+ #mapp_colorpicker ul li a {
247
+ display: block;
248
+ width: 15px;
249
+ height: 15px;
250
+
251
+ text-indent: -100000px;
252
+ }
253
+
254
+ #mapp_colorpicker ul li a:hover {
255
+ width: 13px;
256
+ height: 13px;
257
+
258
+ border: 1px solid black;
259
+ }
forms/map_editor.php ADDED
@@ -0,0 +1,21 @@
1
+ <div>
2
+ <?php _e('Add POI', 'mappress'); ?>:
3
+ <input size='60' type='text' id='mapp_e_saddr' />
4
+ <button id='mapp_e_search' class='button-primary'><span class='mapp-search-button'></span></button>
5
+ <a href='#' id='mapp_e_myloc'><?php _e('My location', 'mappress'); ?></a>
6
+ <div id='mapp_e_saddr_err' style='display:none'></div>
7
+ </div>
8
+
9
+ <div class='mapp-e-edit-panel'>
10
+ <div id='mapp_e_poi_list' class='mapp-e-poi-list'></div>
11
+ <div style='display: inline-block; max-width: 75%; vertical-align: top'>
12
+ <div class='mapp-e-top-toolbar'>
13
+ <a href='#' id='mapp_e_recenter'><?php _e('Center map', 'mappress'); ?></a> |
14
+ <?php _e('Click map for lat/lng: ', 'mappress'); ?><span id='mapp_e_latlng'>0,0</span>
15
+ </div>
16
+ <div id='mapp_edit' class='mapp-e-canvas'></div>
17
+ </div>
18
+ </div>
19
+
20
+
21
+ <?php require Mappress::$basedir . "/forms/map_editor_infobox.php"; ?>
forms/map_editor_infobox.php ADDED
@@ -0,0 +1,53 @@
1
+ <?php
2
+ // Polygon values
3
+ $weights = array();
4
+ for ($i = 1; $i <= 20; $i++)
5
+ $weights[$i] = $i . "px";
6
+
7
+ $opacities = array();
8
+ for ($i = 100; $i >= 0; $i-= 10)
9
+ $opacities[$i] = $i . "%";
10
+ ?>
11
+
12
+ <div id='mapp_e_infobox' class='mapp-e-infobox'>
13
+ <div id='mapp_e_poi_fields'>
14
+ <div>
15
+ <input id='mapp_e_poi_title' type='text' />
16
+ <input id='mapp_e_poi_iconid' type='hidden' />
17
+ <img id='mapp_e_poi_icon' class='mapp-icon' src='<?php echo Mappress::$baseurl . '/images/cleardot.gif';?>' />
18
+ </div>
19
+
20
+ <div>
21
+ <span id='mapp_e_poi_polyline_fields' style='display: none;'>
22
+ <?php _e("Line: ", 'mappress'); ?>
23
+ <input type='text' size='7' id='mapp_stroke_color' class='color'/>
24
+ <?php echo Mappress_Settings::dropdown($weights, '', '', array('id' => 'mapp_stroke_weight', 'title' => __('Weight', 'mappress')) ); ?>
25
+ <?php echo Mappress_Settings::dropdown($opacities, '', '', array('id' => 'mapp_stroke_opacity', 'title' => __('Opacity', 'mappress')) ); ?>
26
+ </span>
27
+
28
+ <span id='mapp_e_poi_polygon_fields' style='display: none;'>
29
+ <?php _e("Fill: ", 'mappress'); ?>
30
+ <input type='text' size='7' id='mapp_fill_color' />
31
+ <?php echo Mappress_Settings::dropdown($opacities, '', '', array('id' => 'mapp_fill_opacity', 'title' => __('Opacity', 'mappress')) ); ?>
32
+ </span>
33
+ </div>
34
+
35
+ <div id='mapp_e_poi_kml_fields' style='display: none'>
36
+ <input id='mapp_e_poi_kml_url' type='text' readonly='readonly'/>
37
+ </div>
38
+
39
+ <div>
40
+ <a id="mapp_e_visual"><?php _e('Visual', 'mappress'); ?></a> | <a id="mapp_e_html"><?php _e('HTML', 'mappress');?></a>
41
+ <textarea id='mapp_e_poi_body' class='mapp-e-poi-body' rows='10' style='width:99%'></textarea>
42
+ </div>
43
+
44
+ <div>
45
+ <input id='mapp_e_save_poi' class='button-primary' type='button' value='<?php esc_attr_e('Save', 'mappress'); ?>' />
46
+ <input id='mapp_e_cancel_poi' class='button' type='button' value='<?php esc_attr_e('Cancel', 'mappress'); ?>' />
47
+ </div>
48
+ </div>
49
+
50
+ <div id='mapp_e_poi_icon_picker'></div>
51
+ </div>
52
+
53
+ <?php if (class_exists('Mappress_Pro')) : echo Mappress_Icons::get_icon_picker(); endif; ?>
forms/map_media.php ADDED
@@ -0,0 +1,55 @@
1
+ <div class='mapp-m-panel'>
2
+ <div>
3
+ <a target='_blank' style='vertical-align: middle;text-decoration:none' href='http://wphostreviews.com/mappress'>
4
+ <img alt='MapPress' title='MapPress' src='<?php echo Mappress::$baseurl . '/images/mappress_logo_small.png'; ?>' />
5
+ </a>
6
+ <?php echo Mappress::get_support_links(); ?>
7
+ </div>
8
+ <hr/>
9
+
10
+ <div id='mapp_m_list_panel' style='display:none'>
11
+ <b><?php _e('Maps for This Post', 'mappress')?></b>
12
+ <input class='button' type='button' id='mapp_m_add_map' value='<?php esc_attr_e('New Map', 'mappress')?>' />
13
+ <div id='mapp_m_maplist'>
14
+ <?php echo Mappress_Map::get_map_list(); ?>
15
+ </div>
16
+ </div>
17
+
18
+ <div id='mapp_m_edit_panel' style='display:none'>
19
+ <div class='mapp-panel'>
20
+ <table>
21
+ <tr>
22
+ <td><?php _e('Map ID', 'mappress');?>:</td>
23
+ <td><span id='mapp_m_mapid'></span></td>
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
+
31
+ <tr>
32
+ <td><?php _e('Size', 'mappress');?>:</td>
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
+ ?>
40
+ <input type='text' id='mapp_m_width' size='2' value='' /> x <input type='text' id='mapp_m_height' size='2' value='' />
41
+ </td>
42
+ </tr>
43
+ </table>
44
+ </div>
45
+ <div>
46
+ <input class='button-primary' type='button' id='mapp_m_save' value='<?php esc_attr_e('Save', 'mappress'); ?>' />
47
+ <input class='button' type='button' id='mapp_m_cancel' value='<?php esc_attr_e('Cancel', 'mappress'); ?>' />
48
+ <input class='button' type='button' id='mapp_m_insert' value='<?php esc_attr_e('Insert into post', 'mappress'); ?>' />
49
+ </div>
50
+ <hr/>
51
+ <div id='mapp_m_editor'>
52
+ <?php require Mappress::$basedir . "/forms/map_editor.php"; ?>
53
+ </div>
54
+ </div>
55
+ </div>
images/cleardot.gif ADDED
Binary file
images/delete.png ADDED
Binary file
images/directions.png ADDED
Binary file
images/icons.png ADDED
Binary file
images/justify_center.png ADDED
Binary file
images/justify_left.png ADDED
Binary file
images/justify_right.png ADDED
Binary file
images/loading.gif ADDED
Binary file
images/mappress_logo_med.png ADDED
Binary file
images/mappress_logo_small.png ADDED
Binary file
images/mappress_pin_logo.png ADDED
Binary file
images/news.png ADDED
Binary file
images/next-off.png ADDED
Binary file
images/next.png ADDED
Binary file
images/prev-off.png ADDED
Binary file
images/prev.png ADDED
Binary file
images/remove.png ADDED
Binary file
images/rss.png ADDED
Binary file
images/search.png ADDED
Binary file
images/swap.png ADDED
Binary file
js/mappress.min.js ADDED
@@ -0,0 +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)}}
js/mappress_editor.min.js ADDED
@@ -0,0 +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){i=parseInt(i),n=parseInt(n),t.resize(n,i),t.closeInfoWindow();var r=jQuery(".mapp-e-top-toolbar").outerHeight(),u=jQuery("#mapp_edit").outerHeight();jQuery("#mapp_e_poi_list").height(i+r)},y.apply(this)}
js/mappress_settings.min.js ADDED
@@ -0,0 +1 @@
1
+ jQuery(document).ready(function(){jQuery('input[name="mappress_options[defaultIcon]"]').mappIconPicker(),jQuery("#mapp_styles").edt();jQuery(".mapp-expand").on("focus",function(){jQuery(this).attr({rows:20,cols:100})});jQuery(".mapp-expand").on("blur",function(){jQuery(this).attr({rows:1,cols:20})})}),jQuery.fn.edt=function(n){var n=jQuery.extend({add:mappl10n.add,del:mappl10n.del,template:null,callback:null},n);return this.each(function(){var t=this,i;jQuery(this).parent().append("<input type='button' class='button edt-table-add' value='"+n.add+"' />"),n.template||(n.template=jQuery("tr:last",t).clone(),jQuery(n.template).find(":input").each(function(){switch(this.type){case"hidden":case"password":case"select-multiple":case"select-one":case"text":case"textarea":jQuery(this).val("");break;case"checkbox":case"radio":this.checked=!1}})),i="<td><a href='#' class='edt-table-delete'>"+n.del+"<\/a><\/td>",jQuery("tbody > tr",t).append(i),n.template=jQuery(n.template).append(i),jQuery(this).next(".edt-table-add").click(function(){var i=jQuery(n.template).clone();return jQuery(t).append(i),jQuery(".edt-table-delete",t).show(),n.callback&&n.callback(i),!1}),jQuery(this).click(function(n){if(jQuery(n.target).hasClass("edt-table-delete"))return jQuery(n.target).closest("tr").remove(),!1})})}
languages/mappress-de_DE.mo ADDED
Binary file
languages/mappress-de_DE.po ADDED
@@ -0,0 +1,950 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: MapPress v2.8 Google Maps for WordPress\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-01-15 14:26+0100\n"
6
+ "PO-Revision-Date: 2013-01-15 17:52+0100\n"
7
+ "Last-Translator: Michael Busch <busch@seo-traffic-guide.de>\n"
8
+ "Language-Team: dewib <dewib@gmx.de>\n"
9
+ "Language: de_DE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-SearchPath-0: ../../mappress-google-maps-for-wordpress\n"
17
+
18
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:118
19
+ msgid "Version"
20
+ msgstr "Version"
21
+
22
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:126
23
+ msgid "Documentation"
24
+ msgstr "Dokumentation"
25
+
26
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:127
27
+ msgid "Support"
28
+ msgstr "Support"
29
+
30
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:128
31
+ msgid "Contact"
32
+ msgstr "Kontakt"
33
+
34
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:131
35
+ msgid "Upgrade to MapPress Pro"
36
+ msgstr "Upgrade auf MapPress Pro"
37
+
38
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:326
39
+ msgid ""
40
+ "MapPress database tables are missing. Please deactivate the plugin and "
41
+ "activate it again to fix this."
42
+ msgstr ""
43
+ "MapPress Datenbanktabellen fehlen. Bitte Plugin deaktivieren und erneut "
44
+ "aktivieren zur Fehlerbehebung."
45
+
46
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:331
47
+ msgid ""
48
+ "WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade "
49
+ "before using MapPress."
50
+ msgstr ""
51
+ "ACHTUNG: MapPress benötigt WordPress 3.2 oder höher. Bitte aktualisieren!"
52
+
53
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:336
54
+ msgid ""
55
+ "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please "
56
+ "deactivate or uninstall WP-Geo before using MapPress."
57
+ msgstr ""
58
+ "WARNUNG: MapPress ist nicht kompatibel mit dem WP-Geo Plugin. Vor der "
59
+ "Nutzung von MapPress bitte WP-Geo deaktivieren oder entfernen."
60
+
61
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:529
62
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:6
63
+ msgid "Bicycling"
64
+ msgstr "per Fahrrad"
65
+
66
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:530
67
+ msgid "Bike"
68
+ msgstr "Fahrrad"
69
+
70
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:531
71
+ msgid "One of the addresses could not be found."
72
+ msgstr "Die Start- oder Zieladresse fehlt."
73
+
74
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:532
75
+ msgid ""
76
+ "Google cannot return directions between those addresses. There is no route "
77
+ "between them or the routing information is not available."
78
+ msgstr ""
79
+ "Google kann zu diesen Adressen keine Wegbeschreibung liefern. Es gibt keine "
80
+ "Route zwischen ihnen oder es fehlen Routeninfos dazu."
81
+
82
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:533
83
+ msgid "Unknown error, unable to return directions. Status code = "
84
+ msgstr "Unbekannter Fehler. Wegbeschreibung nicht möglich. Status Code = "
85
+
86
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:534
87
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:282
88
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:130
89
+ msgid "Directions"
90
+ msgstr "Wegbeschreibung"
91
+
92
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:535
93
+ msgid "Error reading KML file"
94
+ msgstr "Fehler beim Lesen der KML Datei"
95
+
96
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:536
97
+ msgid "Loading..."
98
+ msgstr "Lade…"
99
+
100
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:537
101
+ msgid "No matching address"
102
+ msgstr "Keine passende Adresse"
103
+
104
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:538
105
+ msgid "Unable to get your location"
106
+ msgstr "Standortbestimmung nicht möglich"
107
+
108
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:539
109
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:323
110
+ msgid "Traffic"
111
+ msgstr "Verkehr"
112
+
113
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:540
114
+ msgid "Transit"
115
+ msgstr "Transit"
116
+
117
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:541
118
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:331
119
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:318
120
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:457
121
+ msgid "Zoom"
122
+ msgstr "Zoom"
123
+
124
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:546
125
+ msgid "Add"
126
+ msgstr "hinzufügen"
127
+
128
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:547
129
+ msgid "Click & drag to move"
130
+ msgstr "Klicken & Ziehen um Marker zu bewegen"
131
+
132
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:548
133
+ msgid "Click to change"
134
+ msgstr "Klicken um zu ändern"
135
+
136
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:549
137
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:428
138
+ msgid "Delete"
139
+ msgstr "Löschen"
140
+
141
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:550
142
+ msgid "Delete this POI?"
143
+ msgstr "Diesen Marker löschen?"
144
+
145
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:551
146
+ msgid "Delete this map?"
147
+ msgstr "Diese Karte löschen?"
148
+
149
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:552
150
+ msgid "Please save the map first"
151
+ msgstr "Bitte speichern Sie die Karte zuerst"
152
+
153
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:553
154
+ msgid "Shape"
155
+ msgstr "Umriss"
156
+
157
+ #: ../../mappress-google-maps-for-wordpress/mappress.php:554
158
+ msgid "Untitled"
159
+ msgstr "Unbenannt"
160
+
161
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:107
162
+ msgid "Map not found"
163
+ msgstr "Karte nicht gefunden"
164
+
165
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:196
166
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:202
167
+ msgid "Internal error, your data has not been saved!"
168
+ msgstr ""
169
+ "Interner Fehler: Karte wurde nicht gefunden. Daten wurden nicht gespeichert! "
170
+
171
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:427
172
+ msgid "Edit"
173
+ msgstr "Bearbeiten"
174
+
175
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:467
176
+ msgid "Show map"
177
+ msgstr "Karte zeigen"
178
+
179
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:479
180
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:449
181
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor.php:5
182
+ msgid "Center map"
183
+ msgstr "Karte zentrieren"
184
+
185
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:488
186
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:450
187
+ msgid "Reset map"
188
+ msgstr "Karte zurücksetzen"
189
+
190
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:497
191
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:448
192
+ msgid "Bigger map"
193
+ msgstr "Größere Karte"
194
+
195
+ #: ../../mappress-google-maps-for-wordpress/mappress_map.php:498
196
+ msgid "Smaller map"
197
+ msgstr "kleinere Karte"
198
+
199
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:247
200
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:458
201
+ msgid "Directions to"
202
+ msgstr "Wegbeschreibung hierher"
203
+
204
+ #: ../../mappress-google-maps-for-wordpress/mappress_poi.php:249
205
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:459
206
+ msgid "Directions from"
207
+ msgstr "Wegbeschreibung von hier"
208
+
209
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:127
210
+ msgid "Basic Settings"
211
+ msgstr "Einstellungen"
212
+
213
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:128
214
+ msgid "Post types"
215
+ msgstr "Beitragsarten"
216
+
217
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:129
218
+ msgid "Automatic map display"
219
+ msgstr "automatische Kartendarstellung"
220
+
221
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:132
222
+ msgid "Map Controls"
223
+ msgstr "Kartenkontrollelemente"
224
+
225
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:133
226
+ msgid "Draggable"
227
+ msgstr "Draggable"
228
+
229
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:134
230
+ msgid "Keyboard shortcuts"
231
+ msgstr "Tastaturkürzel"
232
+
233
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:135
234
+ msgid "Scroll wheel zoom"
235
+ msgstr "Zoom per Scrollrad"
236
+
237
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:136
238
+ msgid "Map Types"
239
+ msgstr "Kartentypen"
240
+
241
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:137
242
+ msgid "Map controls"
243
+ msgstr "Kartenkontrollelemente"
244
+
245
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:139
246
+ msgid "Map Settings"
247
+ msgstr "Einstellungen"
248
+
249
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:140
250
+ msgid "Map links"
251
+ msgstr "Kartenlinks"
252
+
253
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:141
254
+ msgid "Map alignment"
255
+ msgstr "Kartenausrichtung"
256
+
257
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:142
258
+ msgid "Map border"
259
+ msgstr "Kartenrand"
260
+
261
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:143
262
+ msgid "Map border color"
263
+ msgstr "Farbe Kartenrand"
264
+
265
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:144
266
+ msgid "Open first POI"
267
+ msgstr "Ersten Marker anzeigen"
268
+
269
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:146
270
+ msgid "POI Settings"
271
+ msgstr "Marker-Einstellungen"
272
+
273
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:147
274
+ msgid "POI links"
275
+ msgstr "POI links"
276
+
277
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:148
278
+ msgid "Tooltips"
279
+ msgstr "Tooltips"
280
+
281
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:149
282
+ msgid "Default zoom"
283
+ msgstr "Standard-Zoom"
284
+
285
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:152
286
+ msgid "Mashups"
287
+ msgstr "Mashups"
288
+
289
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:153
290
+ msgid "Icons"
291
+ msgstr "Meine Ions"
292
+
293
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:154
294
+ msgid "Styled Maps"
295
+ msgstr "Karte mit CSS"
296
+
297
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:155
298
+ msgid "Geocoding"
299
+ msgstr "Geocoding"
300
+
301
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:158
302
+ msgid "Localization"
303
+ msgstr "Übersetzung"
304
+
305
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:159
306
+ msgid "Language"
307
+ msgstr "Sprache"
308
+
309
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:160
310
+ msgid "Country"
311
+ msgstr "Land"
312
+
313
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:161
314
+ msgid "Directions server"
315
+ msgstr "Server für Wegbeschreibung"
316
+
317
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:162
318
+ msgid "Directions units"
319
+ msgstr "Einheiten für Wegbeschreibung"
320
+
321
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:164
322
+ msgid "Miscellaneous"
323
+ msgstr "Verschiedenes"
324
+
325
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:166
326
+ msgid "Adaptive display"
327
+ msgstr "Adaptive Kartendarstellung"
328
+
329
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:167
330
+ msgid "Turn off CSS"
331
+ msgstr "CSS ausschalten"
332
+
333
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:168
334
+ msgid "Load maps last"
335
+ msgstr "Karten zuletzt laden"
336
+
337
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:223
338
+ msgid "Use the settings below to automatically create maps from custom fields."
339
+ msgstr "Automatisch Karten aus benutzerdefinierten Feldern erzeugen"
340
+
341
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:229
342
+ #, fuzzy
343
+ msgid "Posts"
344
+ msgstr "Beitragsarten"
345
+
346
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:230
347
+ msgid "Pages"
348
+ msgstr "Seiten"
349
+
350
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:242
351
+ msgid "country code"
352
+ msgstr "Ländercode"
353
+
354
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:244
355
+ #, php-format
356
+ msgid "Enter a %s to use when searching (leave blank for USA)"
357
+ msgstr "%s angeben für die Suche (leer lassen für USA / .com)"
358
+
359
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:251
360
+ msgid "Enter a google server URL for directions/printing"
361
+ msgstr "Geben Sie eine Google Server URL für Wegbschreibungen/Drucken an"
362
+
363
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:256
364
+ #, fuzzy
365
+ msgid "(Default)"
366
+ msgstr "Standard"
367
+
368
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:256
369
+ msgid "Metric (kilometers)"
370
+ msgstr "Metrisch (Kilometer)"
371
+
372
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:256
373
+ msgid "Imperial (miles)"
374
+ msgstr "Imperial (Meilen)"
375
+
376
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:261
377
+ #, fuzzy
378
+ msgid "Enable map dragging with the mouse"
379
+ msgstr "Zoom per Scrollrad der Maus aktivieren"
380
+
381
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:265
382
+ msgid "Enable zoom with the mouse scroll wheel"
383
+ msgstr "Zoom per Scrollrad der Maus aktivieren"
384
+
385
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:269
386
+ msgid "Enable keyboard panning and zooming"
387
+ msgstr "Zoom und Ziehen per Tastatur aktivieren"
388
+
389
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:275
390
+ msgid "language"
391
+ msgstr "Sprache"
392
+
393
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:277
394
+ #, fuzzy, php-format
395
+ msgid "Use a specific %s for map controls and geocoding"
396
+ msgstr ""
397
+ "Bestimmte %s für Kartensteuerelemente verwenden (Standard: Browsersprache)"
398
+
399
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:285
400
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:291
401
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:386
402
+ msgid "Default"
403
+ msgstr "Standard"
404
+
405
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:286
406
+ msgid "Horizontal"
407
+ msgstr "Horizontal"
408
+
409
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:287
410
+ msgid "Dropdown"
411
+ msgstr "Dropdown"
412
+
413
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:292
414
+ msgid "Small"
415
+ msgstr "klein"
416
+
417
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:293
418
+ msgid "Large"
419
+ msgstr "groß"
420
+
421
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:294
422
+ msgid "Android"
423
+ msgstr "Android"
424
+
425
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:305
426
+ msgid "Open initially"
427
+ msgstr "Beim Laden öffnen"
428
+
429
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:307
430
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:309
431
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:311
432
+ msgid "Checked initially"
433
+ msgstr "Beim Laden angehakt"
434
+
435
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:313
436
+ msgid "Control"
437
+ msgstr "Kontrollelement"
438
+
439
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:313
440
+ msgid "Enable"
441
+ msgstr "Freischalten"
442
+
443
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:313
444
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:411
445
+ msgid "Style"
446
+ msgstr "Stil"
447
+
448
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:316
449
+ msgid "Map types"
450
+ msgstr "Kartentypen"
451
+
452
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:317
453
+ msgid "Pan"
454
+ msgstr "Schwenken"
455
+
456
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:319
457
+ #, fuzzy
458
+ msgid "Street view"
459
+ msgstr "Street View"
460
+
461
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:320
462
+ msgid "Scale"
463
+ msgstr "Skalieren"
464
+
465
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:321
466
+ msgid "Overview map"
467
+ msgstr "Übersichtskarte"
468
+
469
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:322
470
+ msgid "Public transit"
471
+ msgstr "Öffentlicher Nachverkehr"
472
+
473
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:324
474
+ msgid "Bike routes"
475
+ msgstr "Fahrradrouten"
476
+
477
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:331
478
+ msgid "Road map"
479
+ msgstr "Straßenkarte"
480
+
481
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:332
482
+ msgid "Satellite"
483
+ msgstr "Satellit"
484
+
485
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:333
486
+ msgid "Terrain"
487
+ msgstr "Terrain"
488
+
489
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:334
490
+ msgid "Hybrid"
491
+ msgstr "Hybrid"
492
+
493
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:347
494
+ msgid "Inline (in your blog)"
495
+ msgstr "Inline (im Blog)"
496
+
497
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:348
498
+ msgid "Google"
499
+ msgstr "Google"
500
+
501
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:349
502
+ msgid "None"
503
+ msgstr "keine"
504
+
505
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:356
506
+ #, fuzzy
507
+ msgid "Automatically open the first POI when a map is displayed"
508
+ msgstr "Ersten Marker sofort beim Laden der Karte anzeigen"
509
+
510
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:361
511
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:370
512
+ msgid "Show control"
513
+ msgstr "Kontrollelemente zeigen"
514
+
515
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:365
516
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:374
517
+ msgid "Enabled by default"
518
+ msgstr "Standardmässig freischalten"
519
+
520
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:379
521
+ #, fuzzy
522
+ msgid "Show POI titles as a \"tooltip\" on mouse-over"
523
+ msgstr "Zeige Marker-Titel als \"Tooltip\" bei Mouse-Over"
524
+
525
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:387
526
+ msgid "Center"
527
+ msgstr "Zentriert"
528
+
529
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:388
530
+ msgid "Left"
531
+ msgstr "Linksbündig"
532
+
533
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:389
534
+ msgid "Right"
535
+ msgstr "Rechtsbündig"
536
+
537
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:401
538
+ msgid "solid"
539
+ msgstr "durchgehend"
540
+
541
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:402
542
+ msgid "dashed"
543
+ msgstr "gestrichelt"
544
+
545
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:403
546
+ msgid "dotted"
547
+ msgstr "gepunktet"
548
+
549
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:404
550
+ msgid "double"
551
+ msgstr "doppelt"
552
+
553
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:405
554
+ msgid "groove"
555
+ msgstr "3D-Effekt (groove)"
556
+
557
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:406
558
+ msgid "inset"
559
+ msgstr "3D-Effekt (inset)"
560
+
561
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:407
562
+ msgid "outset"
563
+ msgstr "3D-Effekt (outset)"
564
+
565
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:419
566
+ msgid "Width"
567
+ msgstr "Breite"
568
+
569
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:425
570
+ msgid "Corner radius"
571
+ msgstr "Eckenradius"
572
+
573
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:433
574
+ msgid "Color"
575
+ msgstr "Farbe"
576
+
577
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:443
578
+ msgid "Display shadow"
579
+ msgstr "Schatten anzeigen"
580
+
581
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:467
582
+ msgid "Default zoom for POIs entered by lat/lng"
583
+ msgstr "Standardzoom für POIs mit Länge/Breite eingegeben"
584
+
585
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:473
586
+ msgid "Top of post"
587
+ msgstr "Über dem Beitrag"
588
+
589
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:474
590
+ msgid "Bottom of post"
591
+ msgstr "Unter dem Beitrag"
592
+
593
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:475
594
+ msgid "No automatic display"
595
+ msgstr "Keine automatische Anzeige"
596
+
597
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:482
598
+ msgid "Use tinyMCE"
599
+ msgstr "TinyMCE benutzen"
600
+
601
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:487
602
+ msgid "Recenter maps when window is resized"
603
+ msgstr "Karte neu zentrieren wenn die Fenstergröße verändert wird"
604
+
605
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:491
606
+ #, php-format
607
+ msgid "Don't load the %s stylesheet"
608
+ msgstr "Das %s Stylesheet nicht laden"
609
+
610
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:495
611
+ msgid "Load maps in window 'load' event"
612
+ msgstr "Karte im Fenster \"Load-Event\" laden"
613
+
614
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:503
615
+ msgid "Rate it 5 Stars"
616
+ msgstr "Mit 5 Sternen bewerten"
617
+
618
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:505
619
+ #, php-format
620
+ msgid "%s on WordPress.org"
621
+ msgstr "%s auf WordPress.org"
622
+
623
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:506
624
+ msgid "Thanks for your support!"
625
+ msgstr "Funke für Ihre Unterstützung!"
626
+
627
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:533
628
+ #, fuzzy
629
+ msgid "MapPress"
630
+ msgstr "MapPress Link"
631
+
632
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:534
633
+ msgid "Easy Google Maps"
634
+ msgstr "Easy Google Maps"
635
+
636
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:583
637
+ msgid "Like this plugin?"
638
+ msgstr "Mögen Sie dieses Plugin?"
639
+
640
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:585
641
+ msgid "Sample Map"
642
+ msgstr "Beispielskarte"
643
+
644
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:604
645
+ msgid "Save Changes"
646
+ msgstr "Änderungen speichern"
647
+
648
+ #: ../../mappress-google-maps-for-wordpress/mappress_settings.php:605
649
+ msgid "Reset Defaults"
650
+ msgstr "Standard wiederherstellen"
651
+
652
+ #: ../../mappress-google-maps-for-wordpress/mappress_updater.php:19
653
+ #, fuzzy
654
+ msgid "Settings"
655
+ msgstr "Einstellungen"
656
+
657
+ #: ../../mappress-google-maps-for-wordpress/mappress_updater.php:45
658
+ msgid "download it now"
659
+ msgstr "jetzt herunterladen"
660
+
661
+ #: ../../mappress-google-maps-for-wordpress/mappress_updater.php:50
662
+ #, php-format
663
+ msgid "A PRO Version update is available for manual installation: %s"
664
+ msgstr "Ein PRO-Versionsupdate is zur händischen Installation verfügbar: %s"
665
+
666
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor.php:4
667
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:11
668
+ #, fuzzy
669
+ msgid "My location"
670
+ msgstr "Ort"
671
+
672
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor.php:14
673
+ msgid "Click map for lat/lng: "
674
+ msgstr "Auf die Karte klicken um Länge/Breite zu erhalten:"
675
+
676
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:22
677
+ msgid "Line: "
678
+ msgstr "Linie:"
679
+
680
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:24
681
+ #, fuzzy
682
+ msgid "Weight"
683
+ msgstr "Rechtsbündig"
684
+
685
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:25
686
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:31
687
+ msgid "Opacity"
688
+ msgstr "Durchsichtigkeit"
689
+
690
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:29
691
+ msgid "Fill: "
692
+ msgstr "Füllung:"
693
+
694
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:41
695
+ msgid "Visual"
696
+ msgstr "Visuell"
697
+
698
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:41
699
+ msgid "HTML"
700
+ msgstr "HTML"
701
+
702
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:47
703
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:37
704
+ msgid "Save"
705
+ msgstr "speichern"
706
+
707
+ #: ../../mappress-google-maps-for-wordpress/forms/map_editor_infobox.php:48
708
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:38
709
+ msgid "Cancel"
710
+ msgstr "Abbrechen"
711
+
712
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:9
713
+ #, fuzzy
714
+ msgid "Maps for This Post"
715
+ msgstr "Karten in diesem Beitrag"
716
+
717
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:10
718
+ msgid "New Map"
719
+ msgstr "Neue Karte"
720
+
721
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:18
722
+ msgid "Map ID"
723
+ msgstr "Karten ID"
724
+
725
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:24
726
+ msgid "Size"
727
+ msgstr "Größe"
728
+
729
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:31
730
+ msgid "Insert into post"
731
+ msgstr "in Beitrag einfügen"
732
+
733
+ #: ../../mappress-google-maps-for-wordpress/forms/map_media.php:35
734
+ #, fuzzy
735
+ msgid "Map Title"
736
+ msgstr "Titel"
737
+
738
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:3
739
+ msgid "By car"
740
+ msgstr "mit dem KFZ"
741
+
742
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:4
743
+ msgid "Public Transit"
744
+ msgstr "Öffentliche Verkehrsmittel"
745
+
746
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:5
747
+ msgid "Walking"
748
+ msgstr "zu Fuß"
749
+
750
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:16
751
+ msgid "Swap start and end"
752
+ msgstr "Start/Ziel tauschen"
753
+
754
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:29
755
+ msgid "Get Directions"
756
+ msgstr "Routenplanung starten"
757
+
758
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:30
759
+ msgid "Print"
760
+ msgstr "Drucken"
761
+
762
+ #: ../../mappress-google-maps-for-wordpress/templates/map_directions.php:31
763
+ msgid "Close"
764
+ msgstr "schließen"
765
+
766
+ #: ../../mappress-google-maps-for-wordpress/templates/map_poi_list.php:5
767
+ msgid "Location"
768
+ msgstr "Ort"
769
+
770
+ #~ msgid "Internal error - unable to save map. Your data has not been saved!"
771
+ #~ msgstr ""
772
+ #~ "Interner Fehler: Karte konnte nicht gesichert werden. Daten wurden nicht "
773
+ #~ "gespeichert!"
774
+
775
+ #~ msgid "Marker list"
776