MapPress Easy Google Maps - Version 2.44.1

Version Description

Download this release

Release Info

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

Code changes from version 2.43.10 to 2.44.1

languages/mappress-google-maps-for-wordpress.pot CHANGED
@@ -2,9 +2,9 @@
2
# This file is distributed under the same license as the MapPress Easy Google Maps package.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: MapPress Easy Google Maps 2.43.10\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
- "POT-Creation-Date: 2016-07-14 18:07:46+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
@@ -20,7 +20,7 @@ msgstr ""
20
msgid "My location"
21
msgstr ""
22
23
- #: forms/map_editor.php:25 mappress_map.php:528 mappress_settings.php:407
24
msgid "Center map"
25
msgstr ""
26
@@ -81,7 +81,7 @@ msgstr ""
81
msgid "Size"
82
msgstr ""
83
84
- #: forms/map_media.php:48 mappress_map.php:490
85
msgid "Insert into post"
86
msgstr ""
87
@@ -101,117 +101,117 @@ msgstr ""
101
msgid "Upgrade to MapPress Pro"
102
msgstr ""
103
104
- #: mappress.php:338
105
msgid "MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this."
106
msgstr ""
107
108
- #: mappress.php:343
109
msgid "WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade before using MapPress."
110
msgstr ""
111
112
- #: mappress.php:348
113
msgid "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
114
msgstr ""
115
116
- #: mappress.php:355
117
msgid "A Google Maps API key is required"
118
msgstr ""
119
120
- #: mappress.php:355
121
msgid "Please update your"
122
msgstr ""
123
124
- #: mappress.php:355
125
msgid "MapPress Settings"
126
msgstr ""
127
128
- #: mappress.php:522 templates/map_directions.php:6
129
msgid "Bicycling"
130
msgstr ""
131
132
- #: mappress.php:523
133
msgid "Bike"
134
msgstr ""
135
136
- #: mappress.php:524
137
msgid "One of the addresses could not be found."
138
msgstr ""
139
140
- #: mappress.php:525
141
msgid "Google cannot return directions between those addresses. There is no route between them or the routing information is not available."
142
msgstr ""
143
144
- #: mappress.php:526
145
msgid "Unknown error, unable to return directions. Status code = "
146
msgstr ""
147
148
- #: mappress.php:527 mappress_poi.php:232 mappress_settings.php:134
149
#: pro/mappress_widget.php:106
150
msgid "Directions"
151
msgstr ""
152
153
- #: mappress.php:528
154
msgid "Error reading KML file"
155
msgstr ""
156
157
- #: mappress.php:529
158
msgid "Loading..."
159
msgstr ""
160
161
- #: mappress.php:530
162
msgid "No matching address"
163
msgstr ""
164
165
- #: mappress.php:531
166
msgid "Unable to get your location"
167
msgstr ""
168
169
- #: mappress.php:532 mappress_settings.php:332
170
msgid "Traffic"
171
msgstr ""
172
173
- #: mappress.php:533
174
msgid "Transit"
175
msgstr ""
176
177
- #: mappress.php:534 mappress_poi.php:281 mappress_settings.php:327
178
- #: mappress_settings.php:415 pro/mappress_widget.php:122
179
msgid "Zoom"
180
msgstr ""
181
182
- #: mappress.php:539 mappress_controls.php:156
183
msgid "Add"
184
msgstr ""
185
186
- #: mappress.php:540
187
msgid "Click & drag to move"
188
msgstr ""
189
190
- #: mappress.php:541
191
msgid "Click to change"
192
msgstr ""
193
194
- #: mappress.php:542 mappress_controls.php:141 mappress_map.php:491
195
msgid "Delete"
196
msgstr ""
197
198
- #: mappress.php:543
199
msgid "Delete this POI?"
200
msgstr ""
201
202
- #: mappress.php:544
203
msgid "Delete this map?"
204
msgstr ""
205
206
- #: mappress.php:545
207
msgid "Please save the map first"
208
msgstr ""
209
210
- #: mappress.php:546
211
msgid "Shape"
212
msgstr ""
213
214
- #: mappress.php:547
215
msgid "Untitled"
216
msgstr ""
217
@@ -223,31 +223,31 @@ msgstr ""
223
msgid "Map not found"
224
msgstr ""
225
226
- #: mappress_map.php:489
227
msgid "Edit"
228
msgstr ""
229
230
- #: mappress_map.php:516
231
msgid "Show map"
232
msgstr ""
233
234
- #: mappress_map.php:537 mappress_settings.php:408
235
msgid "Reset map"
236
msgstr ""
237
238
- #: mappress_map.php:546 mappress_settings.php:406
239
msgid "Bigger map"
240
msgstr ""
241
242
- #: mappress_map.php:547
243
msgid "Smaller map"
244
msgstr ""
245
246
- #: mappress_poi.php:197 mappress_settings.php:416
247
msgid "Directions to"
248
msgstr ""
249
250
- #: mappress_poi.php:199 mappress_settings.php:417
251
msgid "Directions from"
252
msgstr ""
253
@@ -372,265 +372,273 @@ msgid "Map sizes"
372
msgstr ""
373
374
#: mappress_settings.php:174
375
- msgid "Adaptive display"
376
msgstr ""
377
378
#: mappress_settings.php:175
379
msgid "CSS"
380
msgstr ""
381
382
- #: mappress_settings.php:229
383
msgid "Use the settings below to automatically create maps from custom fields."
384
msgstr ""
385
386
- #: mappress_settings.php:234
387
msgid "Recenter maps when window is resized"
388
msgstr ""
389
390
- #: mappress_settings.php:239
391
msgid "more info"
392
msgstr ""
393
394
- #: mappress_settings.php:240
395
msgid "Required to display maps"
396
msgstr ""
397
398
- #: mappress_settings.php:251
399
msgid "country code"
400
msgstr ""
401
402
- #: mappress_settings.php:253
403
msgid "Enter a %s to use when searching (leave blank for USA)"
404
msgstr ""
405
406
- #: mappress_settings.php:260
407
msgid "Enter a google server URL for directions/printing"
408
msgstr ""
409
410
- #: mappress_settings.php:265
411
msgid "(Default)"
412
msgstr ""
413
414
- #: mappress_settings.php:265
415
msgid "Metric (kilometers)"
416
msgstr ""
417
418
- #: mappress_settings.php:265
419
msgid "Imperial (miles)"
420
msgstr ""
421
422
- #: mappress_settings.php:270
423
msgid "Enable map dragging with the mouse"
424
msgstr ""
425
426
- #: mappress_settings.php:274
427
msgid "Enable zoom with the mouse scroll wheel"
428
msgstr ""
429
430
- #: mappress_settings.php:278
431
msgid "Enable keyboard panning and zooming"
432
msgstr ""
433
434
- #: mappress_settings.php:284
435
msgid "language"
436
msgstr ""
437
438
- #: mappress_settings.php:286
439
msgid "Use a specific %s for map controls and geocoding"
440
msgstr ""
441
442
- #: mappress_settings.php:294 mappress_settings.php:300
443
- #: mappress_settings.php:394 mappress_settings.php:444
444
msgid "Default"
445
msgstr ""
446
447
- #: mappress_settings.php:295
448
msgid "Horizontal"
449
msgstr ""
450
451
- #: mappress_settings.php:296
452
msgid "Dropdown"
453
msgstr ""
454
455
- #: mappress_settings.php:301
456
msgid "Small"
457
msgstr ""
458
459
- #: mappress_settings.php:302
460
msgid "Large"
461
msgstr ""
462
463
- #: mappress_settings.php:303
464
msgid "Android"
465
msgstr ""
466
467
- #: mappress_settings.php:314
468
msgid "Open initially"
469
msgstr ""
470
471
- #: mappress_settings.php:316 mappress_settings.php:318
472
- #: mappress_settings.php:320
473
msgid "Checked initially"
474
msgstr ""
475
476
- #: mappress_settings.php:322
477
msgid "Control"
478
msgstr ""
479
480
- #: mappress_settings.php:322
481
msgid "Enable"
482
msgstr ""
483
484
- #: mappress_settings.php:322
485
msgid "Style"
486
msgstr ""
487
488
- #: mappress_settings.php:325
489
msgid "Map types"
490
msgstr ""
491
492
- #: mappress_settings.php:326
493
msgid "Pan"
494
msgstr ""
495
496
- #: mappress_settings.php:328
497
msgid "Street view"
498
msgstr ""
499
500
- #: mappress_settings.php:329
501
msgid "Scale"
502
msgstr ""
503
504
- #: mappress_settings.php:330
505
msgid "Overview map"
506
msgstr ""
507
508
- #: mappress_settings.php:331
509
msgid "Public transit"
510
msgstr ""
511
512
- #: mappress_settings.php:333
513
msgid "Bike routes"
514
msgstr ""
515
516
- #: mappress_settings.php:340
517
msgid "Road map"
518
msgstr ""
519
520
- #: mappress_settings.php:341 pro/mappress_widget.php:140
521
msgid "Satellite"
522
msgstr ""
523
524
- #: mappress_settings.php:342 pro/mappress_widget.php:141
525
msgid "Terrain"
526
msgstr ""
527
528
- #: mappress_settings.php:343 pro/mappress_widget.php:139
529
msgid "Hybrid"
530
msgstr ""
531
532
- #: mappress_settings.php:356 pro/mappress_pro_settings.php:263
533
#: pro/mappress_widget.php:108
534
msgid "Google"
535
msgstr ""
536
537
- #: mappress_settings.php:357 pro/mappress_widget.php:107
538
msgid "Inline"
539
msgstr ""
540
541
- #: mappress_settings.php:358 pro/mappress_widget.php:109
542
msgid "None"
543
msgstr ""
544
545
- #: mappress_settings.php:365
546
msgid "Automatically open the first POI when a map is displayed"
547
msgstr ""
548
549
- #: mappress_settings.php:370 mappress_settings.php:379
550
msgid "Show control"
551
msgstr ""
552
553
- #: mappress_settings.php:374 mappress_settings.php:383
554
msgid "Enabled by default"
555
msgstr ""
556
557
- #: mappress_settings.php:387
558
msgid "Show POI titles as a \"tooltip\" on mouse-over"
559
msgstr ""
560
561
- #: mappress_settings.php:395 pro/mappress_widget.php:114
562
msgid "Center"
563
msgstr ""
564
565
- #: mappress_settings.php:396
566
msgid "Left"
567
msgstr ""
568
569
- #: mappress_settings.php:397
570
msgid "Right"
571
msgstr ""
572
573
- #: mappress_settings.php:425
574
msgid "Default zoom for POIs entered by lat/lng"
575
msgstr ""
576
577
- #: mappress_settings.php:431
578
msgid "Top of post"
579
msgstr ""
580
581
- #: mappress_settings.php:432
582
msgid "Bottom of post"
583
msgstr ""
584
585
- #: mappress_settings.php:433
586
msgid "No automatic display"
587
msgstr ""
588
589
- #: mappress_settings.php:440
590
msgid "Load %s"
591
msgstr ""
592
593
- #: mappress_settings.php:444
594
msgid "Width"
595
msgstr ""
596
597
- #: mappress_settings.php:444
598
msgid "Height"
599
msgstr ""
600
601
- #: mappress_settings.php:455
602
msgid "Enter sizes in px or %"
603
msgstr ""
604
605
- #: mappress_settings.php:465
606
msgid "Rate it 5 Stars"
607
msgstr ""
608
609
- #: mappress_settings.php:467
610
msgid "%s on WordPress.org"
611
msgstr ""
612
613
- #: mappress_settings.php:468
614
msgid "Thanks for your support!"
615
msgstr ""
616
617
- #: mappress_settings.php:496
618
msgid "Easy Google Maps"
619
msgstr ""
620
621
- #: mappress_settings.php:545
622
msgid "Like this plugin?"
623
msgstr ""
624
625
- #: mappress_settings.php:547
626
msgid "Sample Map"
627
msgstr ""
628
629
- #: mappress_settings.php:566
630
msgid "Save Changes"
631
msgstr ""
632
633
- #: mappress_settings.php:567
634
msgid "Reset Defaults"
635
msgstr ""
636
2
# This file is distributed under the same license as the MapPress Easy Google Maps package.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: MapPress Easy Google Maps 2.44.1\n"
6
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress\n"
7
+ "POT-Creation-Date: 2016-11-06 04:36:52+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
20
msgid "My location"
21
msgstr ""
22
23
+ #: forms/map_editor.php:25 mappress_map.php:529 mappress_settings.php:412
24
msgid "Center map"
25
msgstr ""
26
81
msgid "Size"
82
msgstr ""
83
84
+ #: forms/map_media.php:48 mappress_map.php:491
85
msgid "Insert into post"
86
msgstr ""
87
101
msgid "Upgrade to MapPress Pro"
102
msgstr ""
103
104
+ #: mappress.php:342
105
msgid "MapPress database tables are missing. Please deactivate the plugin and activate it again to fix this."
106
msgstr ""
107
108
+ #: mappress.php:347
109
msgid "WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade before using MapPress."
110
msgstr ""
111
112
+ #: mappress.php:352
113
msgid "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
114
msgstr ""
115
116
+ #: mappress.php:359
117
msgid "A Google Maps API key is required"
118
msgstr ""
119
120
+ #: mappress.php:359
121
msgid "Please update your"
122
msgstr ""
123
124
+ #: mappress.php:359
125
msgid "MapPress Settings"
126
msgstr ""
127
128
+ #: mappress.php:527 templates/map_directions.php:6
129
msgid "Bicycling"
130
msgstr ""
131
132
+ #: mappress.php:528
133
msgid "Bike"
134
msgstr ""
135
136
+ #: mappress.php:529
137
msgid "One of the addresses could not be found."
138
msgstr ""
139
140
+ #: mappress.php:530
141
msgid "Google cannot return directions between those addresses. There is no route between them or the routing information is not available."
142
msgstr ""
143
144
+ #: mappress.php:531
145
msgid "Unknown error, unable to return directions. Status code = "
146
msgstr ""
147
148
+ #: mappress.php:532 mappress_poi.php:232 mappress_settings.php:134
149
#: pro/mappress_widget.php:106
150
msgid "Directions"
151
msgstr ""
152
153
+ #: mappress.php:533
154
msgid "Error reading KML file"
155
msgstr ""
156
157
+ #: mappress.php:534
158
msgid "Loading..."
159
msgstr ""
160
161
+ #: mappress.php:535
162
msgid "No matching address"
163
msgstr ""
164
165
+ #: mappress.php:536
166
msgid "Unable to get your location"
167
msgstr ""
168
169
+ #: mappress.php:537 mappress_settings.php:337
170
msgid "Traffic"
171
msgstr ""
172
173
+ #: mappress.php:538
174
msgid "Transit"
175
msgstr ""
176
177
+ #: mappress.php:539 mappress_poi.php:281 mappress_settings.php:332
178
+ #: mappress_settings.php:420 pro/mappress_widget.php:122
179
msgid "Zoom"
180
msgstr ""
181
182
+ #: mappress.php:544 mappress_controls.php:156
183
msgid "Add"
184
msgstr ""
185
186
+ #: mappress.php:545
187
msgid "Click & drag to move"
188
msgstr ""
189
190
+ #: mappress.php:546
191
msgid "Click to change"
192
msgstr ""
193
194
+ #: mappress.php:547 mappress_controls.php:141 mappress_map.php:492
195
msgid "Delete"
196
msgstr ""
197
198
+ #: mappress.php:548
199
msgid "Delete this POI?"
200
msgstr ""
201
202
+ #: mappress.php:549
203
msgid "Delete this map?"
204
msgstr ""
205
206
+ #: mappress.php:550
207
msgid "Please save the map first"
208
msgstr ""
209
210
+ #: mappress.php:551
211
msgid "Shape"
212
msgstr ""
213
214
+ #: mappress.php:552
215
msgid "Untitled"
216
msgstr ""
217
223
msgid "Map not found"
224
msgstr ""
225
226
+ #: mappress_map.php:490
227
msgid "Edit"
228
msgstr ""
229
230
+ #: mappress_map.php:517
231
msgid "Show map"
232
msgstr ""
233
234
+ #: mappress_map.php:538 mappress_settings.php:413
235
msgid "Reset map"
236
msgstr ""
237
238
+ #: mappress_map.php:547 mappress_settings.php:411
239
msgid "Bigger map"
240
msgstr ""
241
242
+ #: mappress_map.php:548
243
msgid "Smaller map"
244
msgstr ""
245
246
+ #: mappress_poi.php:197 mappress_settings.php:421
247
msgid "Directions to"
248
msgstr ""
249
250
+ #: mappress_poi.php:199 mappress_settings.php:422
251
msgid "Directions from"
252
msgstr ""
253
372
msgstr ""
373
374
#: mappress_settings.php:174
375
+ msgid "Scripts"
376
msgstr ""
377
378
#: mappress_settings.php:175
379
+ msgid "Adaptive display"
380
+ msgstr ""
381
+
382
+ #: mappress_settings.php:176
383
msgid "CSS"
384
msgstr ""
385
386
+ #: mappress_settings.php:230
387
msgid "Use the settings below to automatically create maps from custom fields."
388
msgstr ""
389
390
+ #: mappress_settings.php:235
391
msgid "Recenter maps when window is resized"
392
msgstr ""
393
394
+ #: mappress_settings.php:240
395
msgid "more info"
396
msgstr ""
397
398
+ #: mappress_settings.php:241
399
msgid "Required to display maps"
400
msgstr ""
401
402
+ #: mappress_settings.php:245
403
+ msgid "Output scripts in footer"
404
+ msgstr ""
405
+
406
+ #: mappress_settings.php:256
407
msgid "country code"
408
msgstr ""
409
410
+ #: mappress_settings.php:258
411
msgid "Enter a %s to use when searching (leave blank for USA)"
412
msgstr ""
413
414
+ #: mappress_settings.php:265
415
msgid "Enter a google server URL for directions/printing"
416
msgstr ""
417
418
+ #: mappress_settings.php:270
419
msgid "(Default)"
420
msgstr ""
421
422
+ #: mappress_settings.php:270
423
msgid "Metric (kilometers)"
424
msgstr ""
425
426
+ #: mappress_settings.php:270
427
msgid "Imperial (miles)"
428
msgstr ""
429
430
+ #: mappress_settings.php:275
431
msgid "Enable map dragging with the mouse"
432
msgstr ""
433
434
+ #: mappress_settings.php:279
435
msgid "Enable zoom with the mouse scroll wheel"
436
msgstr ""
437
438
+ #: mappress_settings.php:283
439
msgid "Enable keyboard panning and zooming"
440
msgstr ""
441
442
+ #: mappress_settings.php:289
443
msgid "language"
444
msgstr ""
445
446
+ #: mappress_settings.php:291
447
msgid "Use a specific %s for map controls and geocoding"
448
msgstr ""
449
450
+ #: mappress_settings.php:299 mappress_settings.php:305
451
+ #: mappress_settings.php:399 mappress_settings.php:449
452
msgid "Default"
453
msgstr ""
454
455
+ #: mappress_settings.php:300
456
msgid "Horizontal"
457
msgstr ""
458
459
+ #: mappress_settings.php:301
460
msgid "Dropdown"
461
msgstr ""
462
463
+ #: mappress_settings.php:306
464
msgid "Small"
465
msgstr ""
466
467
+ #: mappress_settings.php:307
468
msgid "Large"
469
msgstr ""
470
471
+ #: mappress_settings.php:308
472
msgid "Android"
473
msgstr ""
474
475
+ #: mappress_settings.php:319
476
msgid "Open initially"
477
msgstr ""
478
479
+ #: mappress_settings.php:321 mappress_settings.php:323
480
+ #: mappress_settings.php:325
481
msgid "Checked initially"
482
msgstr ""
483
484
+ #: mappress_settings.php:327
485
msgid "Control"
486
msgstr ""
487
488
+ #: mappress_settings.php:327
489
msgid "Enable"
490
msgstr ""
491
492
+ #: mappress_settings.php:327
493
msgid "Style"
494
msgstr ""
495
496
+ #: mappress_settings.php:330
497
msgid "Map types"
498
msgstr ""
499
500
+ #: mappress_settings.php:331
501
msgid "Pan"
502
msgstr ""
503
504
+ #: mappress_settings.php:333
505
msgid "Street view"
506
msgstr ""
507
508
+ #: mappress_settings.php:334
509
msgid "Scale"
510
msgstr ""
511
512
+ #: mappress_settings.php:335
513
msgid "Overview map"
514
msgstr ""
515
516
+ #: mappress_settings.php:336
517
msgid "Public transit"
518
msgstr ""
519
520
+ #: mappress_settings.php:338
521
msgid "Bike routes"
522
msgstr ""
523
524
+ #: mappress_settings.php:345
525
msgid "Road map"
526
msgstr ""
527
528
+ #: mappress_settings.php:346 pro/mappress_widget.php:140
529
msgid "Satellite"
530
msgstr ""
531
532
+ #: mappress_settings.php:347 pro/mappress_widget.php:141
533
msgid "Terrain"
534
msgstr ""
535
536
+ #: mappress_settings.php:348 pro/mappress_widget.php:139
537
msgid "Hybrid"
538
msgstr ""
539
540
+ #: mappress_settings.php:361 pro/mappress_pro_settings.php:263
541
#: pro/mappress_widget.php:108
542
msgid "Google"
543
msgstr ""
544
545
+ #: mappress_settings.php:362 pro/mappress_widget.php:107
546
msgid "Inline"
547
msgstr ""
548
549
+ #: mappress_settings.php:363 pro/mappress_widget.php:109
550
msgid "None"
551
msgstr ""
552
553
+ #: mappress_settings.php:370
554
msgid "Automatically open the first POI when a map is displayed"
555
msgstr ""
556
557
+ #: mappress_settings.php:375 mappress_settings.php:384
558
msgid "Show control"
559
msgstr ""
560
561
+ #: mappress_settings.php:379 mappress_settings.php:388
562
msgid "Enabled by default"
563
msgstr ""
564
565
+ #: mappress_settings.php:392
566
msgid "Show POI titles as a \"tooltip\" on mouse-over"
567
msgstr ""
568
569
+ #: mappress_settings.php:400 pro/mappress_widget.php:114
570
msgid "Center"
571
msgstr ""
572
573
+ #: mappress_settings.php:401
574
msgid "Left"
575
msgstr ""
576
577
+ #: mappress_settings.php:402
578
msgid "Right"
579
msgstr ""
580
581
+ #: mappress_settings.php:430
582
msgid "Default zoom for POIs entered by lat/lng"
583
msgstr ""
584
585
+ #: mappress_settings.php:436
586
msgid "Top of post"
587
msgstr ""
588
589
+ #: mappress_settings.php:437
590
msgid "Bottom of post"
591
msgstr ""
592
593
+ #: mappress_settings.php:438
594
msgid "No automatic display"
595
msgstr ""
596
597
+ #: mappress_settings.php:445
598
msgid "Load %s"
599
msgstr ""
600
601
+ #: mappress_settings.php:449
602
msgid "Width"
603
msgstr ""
604
605
+ #: mappress_settings.php:449
606
msgid "Height"
607
msgstr ""
608
609
+ #: mappress_settings.php:460
610
msgid "Enter sizes in px or %"
611
msgstr ""
612
613
+ #: mappress_settings.php:470
614
msgid "Rate it 5 Stars"
615
msgstr ""
616
617
+ #: mappress_settings.php:472
618
msgid "%s on WordPress.org"
619
msgstr ""
620
621
+ #: mappress_settings.php:473
622
msgid "Thanks for your support!"
623
msgstr ""
624
625
+ #: mappress_settings.php:501
626
msgid "Easy Google Maps"
627
msgstr ""
628
629
+ #: mappress_settings.php:550
630
msgid "Like this plugin?"
631
msgstr ""
632
633
+ #: mappress_settings.php:552
634
msgid "Sample Map"
635
msgstr ""
636
637
+ #: mappress_settings.php:571
638
msgid "Save Changes"
639
msgstr ""
640
641
+ #: mappress_settings.php:572
642
msgid "Reset Defaults"
643
msgstr ""
644
languages/texts.php CHANGED
@@ -88,12 +88,14 @@ __("Directions server");
88
__("Directions units");
89
__("Miscellaneous");
90
__("Map sizes");
91
__("Adaptive display");
92
__("CSS");
93
__("Use the settings below to automatically create maps from custom fields.");
94
__("Recenter maps when window is resized");
95
__("more info");
96
__("Required to display maps");
97
__("country code");
98
__("Enter a %s to use when searching (leave blank for USA)");
99
__("Enter a google server URL for directions/printing");
88
__("Directions units");
89
__("Miscellaneous");
90
__("Map sizes");
91
+ __("Scripts");
92
__("Adaptive display");
93
__("CSS");
94
__("Use the settings below to automatically create maps from custom fields.");
95
__("Recenter maps when window is resized");
96
__("more info");
97
__("Required to display maps");
98
+ __("Output scripts in footer");
99
__("country code");
100
__("Enter a %s to use when searching (leave blank for USA)");
101
__("Enter a google server URL for directions/printing");
mappress.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: MapPress Easy Google Maps
4
Plugin URI: http://www.wphostreviews.com/mappress
5
Author URI: http://www.wphostreviews.com/mappress
6
Description: MapPress makes it easy to insert Google Maps in WordPress posts and pages.
7
- Version: 2.43.10
8
Author: Chris Richardson
9
Text Domain: mappress-google-maps-for-wordpress
10
Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
@@ -32,7 +32,7 @@ if (file_exists(dirname( __FILE__ ) . '/pro/mappress_pro.php')) {
32
include_once dirname( __FILE__ ) . '/pro/mappress_widget.php';
33
}
34
class Mappress {
35
- const VERSION = '2.43.10';
36
37
static
38
$baseurl,
@@ -75,8 +75,8 @@ class Mappress {
75
add_filter('the_content', array($this, 'the_content'), 2);
76
77
// Namespace
78
- add_action('wp_head', array($this, 'wp_head'));
79
- add_action('admin_head', array($this, 'wp_head'));
80
81
// Scripts and stylesheets
82
add_action('wp_enqueue_scripts', array($this, 'wp_enqueue_scripts'));
@@ -245,7 +245,7 @@ class Mappress {
245
}
246
247
function wp_head() {
248
- echo "<script type='text/javascript'>mapp = {data : []};</script>\r\n";
249
}
250
251
/**
@@ -267,6 +267,10 @@ class Mappress {
267
if (isset($file))
268
wp_enqueue_style('mappress-custom', $file, array('mappress'), self::VERSION);
269
}
270
}
271
272
// Scripts & styles for admin
@@ -480,9 +484,10 @@ class Mappress {
480
$loaded = true;
481
482
$version = self::VERSION;
483
- $dev = (defined('MAPPRESS_DEV')) ? MAPPRESS_DEV : '';
484
$dev = (isset($_REQUEST['mp_dev'])) ? $_REQUEST['mp_dev'] : $dev;
485
- $dev = (is_bool($dev)) ? 'dev' : $dev;
486
487
$apiversion = ($dev) ? 'v=3.exp' : 'v=3';
488
$apikey = (!empty(self::$options->apiKey)) ? "&key=" . self::$options->apiKey : '';
@@ -496,7 +501,7 @@ class Mappress {
496
$language = $this->get_language();
497
$language = ($language) ? "&language=$language" : '';
498
499
- wp_enqueue_script("mappress-gmaps", "https://maps.googleapis.com/maps/api/js?{$apiversion}{$language}{$libstring}{$apikey}", null, null, true);
500
501
if ($type == 'editor')
502
wp_enqueue_script('mappress_editor', $js . "/mappress_editor$min.js", array('jquery', 'jquery-ui-position', 'jquery-ui-slider'), $version);
@@ -505,11 +510,11 @@ class Mappress {
505
wp_enqueue_script('mappress_settings', $js . "/mappress_settings$min.js", array('postbox', 'jquery', 'jquery-ui-core', 'jquery-ui-position'));
506
507
if ($min) {
508
- wp_enqueue_script('mappress', $js . "/mappress.min.js", array('jquery'), $version, true);
509
} else {
510
- wp_enqueue_script('mappress', $js . "/mappress.js", array('jquery'), $version, true);
511
foreach(array('directions', 'geocoding', 'icons', 'infobox', 'lib', 'places', 'poi', 'widgets', 'loader') as $script)
512
- wp_enqueue_script($script, $js . "/mappress_{$script}.js", null, $version, true);
513
}
514
515
wp_localize_script('mappress', 'mappl10n', $this->l10n());
4
Plugin URI: http://www.wphostreviews.com/mappress
5
Author URI: http://www.wphostreviews.com/mappress
6
Description: MapPress makes it easy to insert Google Maps in WordPress posts and pages.
7
+ Version: 2.44.1
8
Author: Chris Richardson
9
Text Domain: mappress-google-maps-for-wordpress
10
Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
32
include_once dirname( __FILE__ ) . '/pro/mappress_widget.php';
33
}
34
class Mappress {
35
+ const VERSION = '2.44.1';
36
37
static
38
$baseurl,
75
add_filter('the_content', array($this, 'the_content'), 2);
76
77
// Namespace
78
+ add_action('wp_head', array($this, 'wp_head'), 0);
79
+ add_action('admin_head', array($this, 'wp_head'), 0);
80
81
// Scripts and stylesheets
82
add_action('wp_enqueue_scripts', array($this, 'wp_enqueue_scripts'));
245
}
246
247
function wp_head() {
248
+ echo "<script type='text/javascript'>mapp = window.mapp || {}; mapp.data = [];</script>\r\n";
249
}
250
251
/**
267
if (isset($file))
268
wp_enqueue_style('mappress-custom', $file, array('mappress'), self::VERSION);
269
}
270
+
271
+ // Load scripts in header
272
+ if (!self::$options->footer)
273
+ $this->load();
274
}
275
276
// Scripts & styles for admin
484
$loaded = true;
485
486
$version = self::VERSION;
487
+ $footer = self::$options->footer;
488
+ $dev = (defined('MAPPRESS_DEV')) ? MAPPRESS_DEV : null;
489
$dev = (isset($_REQUEST['mp_dev'])) ? $_REQUEST['mp_dev'] : $dev;
490
+ $dev = (isset($dev) && empty($dev)) ? 'dev' : $dev;
491
492
$apiversion = ($dev) ? 'v=3.exp' : 'v=3';
493
$apikey = (!empty(self::$options->apiKey)) ? "&key=" . self::$options->apiKey : '';
501
$language = $this->get_language();
502
$language = ($language) ? "&language=$language" : '';
503
504
+ wp_enqueue_script("mappress-gmaps", "https://maps.googleapis.com/maps/api/js?{$apiversion}{$language}{$libstring}{$apikey}", null, null, $footer);
505
506
if ($type == 'editor')
507
wp_enqueue_script('mappress_editor', $js . "/mappress_editor$min.js", array('jquery', 'jquery-ui-position', 'jquery-ui-slider'), $version);
510
wp_enqueue_script('mappress_settings', $js . "/mappress_settings$min.js", array('postbox', 'jquery', 'jquery-ui-core', 'jquery-ui-position'));
511
512
if ($min) {
513
+ wp_enqueue_script('mappress', $js . "/mappress.min.js", array('jquery'), $version, $footer);
514
} else {
515
+ wp_enqueue_script('mappress', $js . "/mappress.js", array('jquery', 'underscore'), $version, $footer);
516
foreach(array('directions', 'geocoding', 'icons', 'infobox', 'lib', 'places', 'poi', 'widgets', 'loader') as $script)
517
+ wp_enqueue_script($script, $js . "/mappress_{$script}.js", null, $version, $footer);
518
}
519
520
wp_localize_script('mappress', 'mappl10n', $this->l10n());
mappress_map.php CHANGED
@@ -361,14 +361,6 @@ class Mappress_Map extends Mappress_Obj {
361
if (empty($this->query))
362
$this->prepare();
363
364
- $script = "mapp.data.push( " . json_encode($this) . " ); if (typeof mapp.load != 'undefined') { mapp.load(); };";
365
-
366
- // WP 4.5: queue maps for XHTML compatibility
367
- if (function_exists('wp_add_inline_script') && (!defined('DOING_AJAX') || !DOING_AJAX))
368
- wp_add_inline_script('mappress', "//<![CDATA[\r\n" . $script . "\r\n//]]>");
369
- else
370
- $html .= Mappress::script($script);
371
-
372
if ($this->options->directions == 'inline') {
373
$html .= "<div id='{$this->name}_directions_' style='display:none'>";
374
$html .= $mappress->get_template($this->options->templateDirections, array('map' => $this));
@@ -381,6 +373,15 @@ class Mappress_Map extends Mappress_Obj {
381
$html .= $mappress->get_template($this->options->templatePoiList, array('map' => $this));
382
$html .= "</div>";
383
}
384
return $html;
385
}
386
@@ -399,7 +400,7 @@ class Mappress_Map extends Mappress_Obj {
399
$poi->prepare();
400
401
// Sort the pois
402
- if ($this->options->sort)
403
$this->sort_pois();
404
405
// Set the HTML for each POI (comes *after* sort because links embed POI list position)
361
if (empty($this->query))
362
$this->prepare();
363
364
if ($this->options->directions == 'inline') {
365
$html .= "<div id='{$this->name}_directions_' style='display:none'>";
366
$html .= $mappress->get_template($this->options->templateDirections, array('map' => $this));
373
$html .= $mappress->get_template($this->options->templatePoiList, array('map' => $this));
374
$html .= "</div>";
375
}
376
+
377
+ $script = "mapp.data.push( " . json_encode($this) . " ); \r\nif (typeof mapp.load != 'undefined') { mapp.load(); };";
378
+
379
+ // WP 4.5: queue maps for XHTML compatibility
380
+ if (function_exists('wp_add_inline_script') && Mappress::$options->footer && (!defined('DOING_AJAX') || !DOING_AJAX))
381
+ wp_add_inline_script('mappress', "//<![CDATA[\r\n" . $script . "\r\n//]]>");
382
+ else
383
+ $html .= Mappress::script($script);
384
+
385
return $html;
386
}
387
400
$poi->prepare();
401
402
// Sort the pois
403
+ if ($this->options->sort && !isset($this->query['orderby']))
404
$this->sort_pois();
405
406
// Set the HTML for each POI (comes *after* sort because links embed POI list position)
mappress_settings.php CHANGED
@@ -171,6 +171,7 @@ class Mappress_Settings {
171
add_settings_section('misc_settings', __('Miscellaneous', 'mappress-google-maps-for-wordpress'), array($this, 'section_settings'), 'mappress');
172
173
add_settings_field('sizes', __('Map sizes', 'mappress-google-maps-for-wordpress'), array($this, 'set_sizes'), 'mappress', 'misc_settings');
174
add_settings_field('adaptive', __('Adaptive display', 'mappress-google-maps-for-wordpress'), array($this, 'set_adaptive'), 'mappress', 'misc_settings');
175
add_settings_field('css', __('CSS', 'mappress-google-maps-for-wordpress'), array($this, 'set_css'), 'mappress', 'misc_settings');
176
}
@@ -240,6 +241,10 @@ class Mappress_Settings {
240
printf("<br/><i>%s (%s)</i>", __("Required to display maps", 'mappress-google-maps-for-wordpress'), $helpurl);
241
}
242
243
function set_post_types() {
244
$post_types = Mappress_Controls::get_Post_types();
245
echo self::checkbox_list($this->options->postTypes, 'mappress_options[postTypes][]', $post_types);
171
add_settings_section('misc_settings', __('Miscellaneous', 'mappress-google-maps-for-wordpress'), array($this, 'section_settings'), 'mappress');
172
173
add_settings_field('sizes', __('Map sizes', 'mappress-google-maps-for-wordpress'), array($this, 'set_sizes'), 'mappress', 'misc_settings');
174
+ add_settings_field('footer', __('Scripts', 'mappress-google-maps-for-wordpress'), array($this, 'set_footer'), 'mappress', 'misc_settings');
175
add_settings_field('adaptive', __('Adaptive display', 'mappress-google-maps-for-wordpress'), array($this, 'set_adaptive'), 'mappress', 'misc_settings');
176
add_settings_field('css', __('CSS', 'mappress-google-maps-for-wordpress'), array($this, 'set_css'), 'mappress', 'misc_settings');
177
}
241
printf("<br/><i>%s (%s)</i>", __("Required to display maps", 'mappress-google-maps-for-wordpress'), $helpurl);
242
}
243
244
+ function set_footer() {
245
+ echo self::checkbox($this->options->footer, 'mappress_options[footer]', __('Output scripts in footer', 'mappress-google-maps-for-wordpress'));
246
+ }
247
+
248
function set_post_types() {
249
$post_types = Mappress_Controls::get_Post_types();
250
echo self::checkbox_list($this->options->postTypes, 'mappress_options[postTypes][]', $post_types);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
Tags: google maps,google,map,maps,easy,poi,mapping,mapper,gps,lat,lon,latitude,longitude,geocoder,geocoding,georss,geo rss,geo,v3,marker,mashup,mash,api,v3,buddypress,mashup,geo,wp-geo,geo mashup,simplemap,simple,wpml
5
Requires at least: 3.5
6
Tested up to: 4.9
7
- Stable tag: 2.43.10
8
9
MapPress is the most popular and easiest way to create great-looking Google Maps and driving directions in your blog.
10
@@ -95,12 +95,20 @@ See full [installation intructions and Documentation](http://www.wphostreviews.c
95
96
== Changelog ==
97
98
2.43.10
99
* Changed: show blank container while loading mashups instead of default map
100
* Changed: no alerts for admins on missing map container
101
* Changed: apply wpautop to POIs when they are saved (wpautop inserts html tags to format carriage returns)
102
* Fixed: bug where mashups were limited to 10 POIs
103
- * Fixed: polys are now allowed again for mashups
104
* Fixed: changed Mappress_Updater constructor for PHP 7
105
106
2.43.9
4
Tags: google maps,google,map,maps,easy,poi,mapping,mapper,gps,lat,lon,latitude,longitude,geocoder,geocoding,georss,geo rss,geo,v3,marker,mashup,mash,api,v3,buddypress,mashup,geo,wp-geo,geo mashup,simplemap,simple,wpml
5
Requires at least: 3.5
6
Tested up to: 4.9
7
+ Stable tag: 2.44.1
8
9
MapPress is the most popular and easiest way to create great-looking Google Maps and driving directions in your blog.
10
95
96
== Changelog ==
97
98
+ 2.44.1
99
+ * Changed: added 'footer' option for loading scripts in header/footer (for use in AJAX plugins)
100
+ * Fixed: default sort applied to mashup with orderby
101
+ * Fixed: updated widget to use array field names (since WP 4.4)
102
+
103
+ 2.44
104
+ * Changed: version updated to 2.44
105
+
106
2.43.10
107
* Changed: show blank container while loading mashups instead of default map
108
* Changed: no alerts for admins on missing map container
109
* Changed: apply wpautop to POIs when they are saved (wpautop inserts html tags to format carriage returns)
110
* Fixed: bug where mashups were limited to 10 POIs
111
+ * Fixed: polygons are allowed again in mashup results
112
* Fixed: changed Mappress_Updater constructor for PHP 7
113
114
2.43.9