Version Description
fix NextGEN Gallery breaking localisation of maps; bump version of Google Maps API to 3.22; update translations de_DE, nb_NO, nl_NL
=
Download this release
Release Info
Developer | webaware |
Plugin | Flexible Map |
Version | 1.10.1 |
Comparing to | |
See all releases |
Code changes from version 1.10.0 to 1.10.1
- changelog.md +235 -0
- flexible-map.php +4 -4
- includes/class.FlxMapAdmin.php +9 -5
- includes/class.FlxMapPlugin.php +10 -5
- includes/declare-strings.php +8 -4
- languages/flexible-map-de_DE.mo +0 -0
- languages/flexible-map-nb_NO.mo +0 -0
- languages/flexible-map-nl_NL.mo +0 -0
- languages/{flexible-map-af.mo → wp-flexible-map-af.mo} +0 -0
- languages/{flexible-map-ar.mo → wp-flexible-map-ar.mo} +0 -0
- languages/{flexible-map-az.mo → wp-flexible-map-az.mo} +0 -0
- languages/{flexible-map-bel.mo → wp-flexible-map-bel.mo} +0 -0
- languages/{flexible-map-bg_BG.mo → wp-flexible-map-bg_BG.mo} +0 -0
- languages/{flexible-map-ca.mo → wp-flexible-map-ca.mo} +0 -0
- languages/{flexible-map-cs_CZ.mo → wp-flexible-map-cs_CZ.mo} +0 -0
- languages/{flexible-map-cy.mo → wp-flexible-map-cy.mo} +0 -0
- languages/{flexible-map-da_DK.mo → wp-flexible-map-da_DK.mo} +0 -0
- languages/wp-flexible-map-de_DE.mo +0 -0
- languages/{flexible-map-el.mo → wp-flexible-map-el.mo} +0 -0
- languages/{flexible-map-eo.mo → wp-flexible-map-eo.mo} +0 -0
- languages/{flexible-map-es_ES.mo → wp-flexible-map-es_ES.mo} +0 -0
- languages/{flexible-map-et.mo → wp-flexible-map-et.mo} +0 -0
- languages/{flexible-map-fa_IR.mo → wp-flexible-map-fa_IR.mo} +0 -0
- languages/{flexible-map-fi.mo → wp-flexible-map-fi.mo} +0 -0
- languages/{flexible-map-fr_FR.mo → wp-flexible-map-fr_FR.mo} +0 -0
- languages/{flexible-map-gl_ES.mo → wp-flexible-map-gl_ES.mo} +0 -0
- languages/{flexible-map-he_IL.mo → wp-flexible-map-he_IL.mo} +0 -0
- languages/{flexible-map-hi_IN.mo → wp-flexible-map-hi_IN.mo} +0 -0
- languages/{flexible-map-hr.mo → wp-flexible-map-hr.mo} +0 -0
- languages/{flexible-map-hu_HU.mo → wp-flexible-map-hu_HU.mo} +0 -0
- languages/{flexible-map-hy.mo → wp-flexible-map-hy.mo} +0 -0
- languages/{flexible-map-id_ID.mo → wp-flexible-map-id_ID.mo} +0 -0
- languages/{flexible-map-is_IS.mo → wp-flexible-map-is_IS.mo} +0 -0
- languages/{flexible-map-it_IT.mo → wp-flexible-map-it_IT.mo} +0 -0
- languages/{flexible-map-ja.mo → wp-flexible-map-ja.mo} +0 -0
- languages/{flexible-map-ka_GE.mo → wp-flexible-map-ka_GE.mo} +0 -0
- languages/{flexible-map-ko_KR.mo → wp-flexible-map-ko_KR.mo} +0 -0
- languages/{flexible-map-lt_LT.mo → wp-flexible-map-lt_LT.mo} +0 -0
- languages/{flexible-map-lv.mo → wp-flexible-map-lv.mo} +0 -0
- languages/{flexible-map-mk_MK.mo → wp-flexible-map-mk_MK.mo} +0 -0
- languages/{flexible-map-ms_MY.mo → wp-flexible-map-ms_MY.mo} +0 -0
- languages/{flexible-map-mt_MT.mo → wp-flexible-map-mt_MT.mo} +0 -0
- languages/wp-flexible-map-nb_NO.mo +0 -0
- languages/wp-flexible-map-nl_NL.mo +0 -0
- languages/{flexible-map-nn_NO.mo → wp-flexible-map-nn_NO.mo} +0 -0
- languages/{flexible-map-pl_PL.mo → wp-flexible-map-pl_PL.mo} +0 -0
- languages/{flexible-map-pt_BR.mo → wp-flexible-map-pt_BR.mo} +0 -0
- languages/{flexible-map-pt_PT.mo → wp-flexible-map-pt_PT.mo} +0 -0
- languages/{flexible-map-ro_RO.mo → wp-flexible-map-ro_RO.mo} +0 -0
- languages/{flexible-map-ru_RU.mo → wp-flexible-map-ru_RU.mo} +0 -0
- languages/{flexible-map-sk_SK.mo → wp-flexible-map-sk_SK.mo} +0 -0
- languages/{flexible-map-sl_SL.mo → wp-flexible-map-sl_SL.mo} +0 -0
- languages/{flexible-map-sq.mo → wp-flexible-map-sq.mo} +0 -0
- languages/{flexible-map-sr_RS.mo → wp-flexible-map-sr_RS.mo} +0 -0
- languages/{flexible-map-sv_SE.mo → wp-flexible-map-sv_SE.mo} +0 -0
- languages/{flexible-map-ta_IN.mo → wp-flexible-map-ta_IN.mo} +0 -0
- languages/{flexible-map-th.mo → wp-flexible-map-th.mo} +0 -0
- languages/{flexible-map-tr_TR.mo → wp-flexible-map-tr_TR.mo} +0 -0
- languages/{flexible-map-uk.mo → wp-flexible-map-uk.mo} +0 -0
- languages/{flexible-map-ur.mo → wp-flexible-map-ur.mo} +0 -0
- languages/{flexible-map-vi.mo → wp-flexible-map-vi.mo} +0 -0
- languages/{flexible-map-zh_CN.mo → wp-flexible-map-zh_CN.mo} +0 -0
- languages/{flexible-map.pot → wp-flexible-map.pot} +12 -12
- readme.md +3 -2
- readme.txt +25 -21
changelog.md
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Flexible Map
|
2 |
+
|
3 |
+
## Changelog
|
4 |
+
|
5 |
+
### 1.10.1, 2015-11-29
|
6 |
+
|
7 |
+
* fixed: NextGEN Gallery breaks localisation of maps by messing with order of `wp_print_footer_scripts` calls
|
8 |
+
* changed: Dutch translation updated / completed (thanks, [Chantal Coolsma](http://www.webpressed.nl/) and [TacoVerdo](https://profiles.wordpress.org/tacoverdo)!)
|
9 |
+
* changed: German translation updated / completed (thanks, [Dominik Schilling](https://dominikschilling.de/)!)
|
10 |
+
* changed: Norwegian Bokmål translation updated / completed (thanks, [neonnero](http://www.neonnero.com/)!)
|
11 |
+
* changed: translations now accepted on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wp-flexible-map)
|
12 |
+
* changed: Localisation (l10n) slug changed from `flexible-map` to `wp-flexible-map`, with move to translate.wordpress.org
|
13 |
+
* changed: bump version of Google Maps API to 3.22; NB: [control sizes have no effect with API v3.22](https://developers.google.com/maps/articles/v322-controls-diff)
|
14 |
+
* changed: removed "sensor" query parameter to Google Maps API; no longer required
|
15 |
+
|
16 |
+
### 1.10.0, 2015-08-23
|
17 |
+
|
18 |
+
* fixed: Brazilian Portuguese translation (thanks, Alexsandro Santos and Paulo Henrique!)
|
19 |
+
* fixed: JavaScript error on KML map marker click when marker has no description
|
20 |
+
* fixed: can show directions without having a marker title (or infowindow)
|
21 |
+
* added: `linktarget` attribute for changing where marker links open, e.g. `linktarget="_blank"`
|
22 |
+
* added: `linktext` attribute for changing marker link text
|
23 |
+
* added: `dirunitsystem` attribute for forcing directions units to metric or imperial
|
24 |
+
* added: `dirtravelmode` attribute for selecting directions by driving, bicycling, walking, or transit
|
25 |
+
* changed: bump version of Google Maps API to 3.20
|
26 |
+
* changed: always load Google Maps API on HTTPS
|
27 |
+
|
28 |
+
### 1.9.2, 2015-03-21
|
29 |
+
|
30 |
+
* fixed: sometimes vertical copyright message on IE8 with some themes
|
31 |
+
* changed: bump version of Google Maps API to 3.19 (resolves some Safari styling issues)
|
32 |
+
|
33 |
+
### 1.9.1, 2014-12-29
|
34 |
+
|
35 |
+
* fixed: zoom control styling / hiding was broken in v1.9.0
|
36 |
+
|
37 |
+
### 1.9.0, 2014-12-24
|
38 |
+
|
39 |
+
* fixed: maps broken when hidden in tabs / accordions (not for IE 10 and earlier; uses MutationObserver)
|
40 |
+
* fixed: strip spaces from map coordinates
|
41 |
+
* fixed: suppress border radius on images within map containers
|
42 |
+
* added: server-side lookup of address, to reduce the number of Google Maps queries when only an address is given
|
43 |
+
* added: support for custom map types (inc. styled maps)
|
44 |
+
* added: `maptypes` attribute for selecting which map types can be picked by visitors
|
45 |
+
* changed: refactored JavaScript for localised strings
|
46 |
+
|
47 |
+
### 1.8.3, 2014-12-17
|
48 |
+
|
49 |
+
* fixed: CSS for directions in twentyfifteen theme and others that toss table-layout:fixed around willy nilly
|
50 |
+
|
51 |
+
### 1.8.2, 2014-12-06
|
52 |
+
|
53 |
+
* added: Welsh translation (thanks, [Dylan](https://profiles.wordpress.org/dtom-ct-wp/)!)
|
54 |
+
|
55 |
+
### 1.8.1, 2014-10-05
|
56 |
+
|
57 |
+
* fixed: Hungarian translation (thanks, Krisztián Vörös!)
|
58 |
+
* changed: bump version of Google Maps API to 3.17
|
59 |
+
|
60 |
+
### 1.8.0, 2014-08-31
|
61 |
+
|
62 |
+
* fixed: Czech translation (thanks, [caslavak](https://profiles.wordpress.org/caslavak/)!)
|
63 |
+
* fixed: Norwegian translations (thanks, [neonnero](http://www.neonnero.com/)!)
|
64 |
+
* changed: localisation uses standard .mo files now; if you'd like to help translate, please [sign up for an account and dig in](https://translate.wordpress.org/projects/wp-plugins/wp-flexible-map).
|
65 |
+
|
66 |
+
### 1.7.3.1, 2014-03-22
|
67 |
+
|
68 |
+
* fixed: infowindow width on some Webkit browsers, and IE10/11
|
69 |
+
|
70 |
+
### 1.7.3, 2014-03-16
|
71 |
+
|
72 |
+
* fixed: German translation (thanks, [Carib Design](http://www.caribdesign.com/)!)
|
73 |
+
* fixed: some themes (e.g. Evolve) mess up Google Maps directions markers
|
74 |
+
* fixed: CSS for infowindows with Google Maps Visual Refresh / API v3.15
|
75 |
+
* changed: removed instructions page, better handled by new homepage for plugin
|
76 |
+
* changed: bump version of Google Maps API to 3.15
|
77 |
+
* added: KML cache buster attribute `kmlcache`, for dynamically created KML maps
|
78 |
+
* added: WordPress filter `flexmap_shortcode_script`
|
79 |
+
* removed: `visualrefresh` attribute doesn't do anything any more (Google Maps API has adopted Visual Refresh as standard)
|
80 |
+
|
81 |
+
### 1.7.2, 2014-01-01
|
82 |
+
|
83 |
+
* fixed: Spanish translation (thanks, [edurramos](https://profiles.wordpress.org/edurramos/)!)
|
84 |
+
* fixed: clean up JSHint warnings
|
85 |
+
* changed: Slovenian translation refresh from Google Translate (human translators wanted!)
|
86 |
+
* changed: plugin homepage, better documentation and examples, will develop as time permits!
|
87 |
+
|
88 |
+
### 1.7.1, 2013-10-13
|
89 |
+
|
90 |
+
* fixed: Google link was showing marker at centre, not at marker location when marker != centre
|
91 |
+
|
92 |
+
### 1.7.0, 2013-10-12
|
93 |
+
|
94 |
+
* fixed: Greek translation (thanks, [Pantelis Orfanos](https://profiles.wordpress.org/ironwiller/)!)
|
95 |
+
* fixed: Dutch translation (thanks, [Ivan Beemster](http://www.lijndiensten.com/)!)
|
96 |
+
* fixed: KML map zoom sometimes doesn't happen on first page visit
|
97 |
+
* fixed: some themes (e.g. twentythirteen) mess up Google Maps directions markers
|
98 |
+
* fixed: Google link opens maps without marker (NB: <= IE8 not supported)
|
99 |
+
* added: `dirshowsteps` attribute, to allow directions steps (i.e. turn-by-turn steps) to be turned off
|
100 |
+
* added: `dirshowssearch` attribute, to allow directions search form to be turned off
|
101 |
+
* added: `zoomstyle` attribute, to allow large or small zoom controls
|
102 |
+
* added: `visualrefresh` attribute, to enable [visual refresh](https://developers.google.com/maps/documentation/javascript/basics#VisualRefresh) for all maps on the page
|
103 |
+
* added: default CSS sets info window text color to #333
|
104 |
+
* changed: bump version of Google Maps API to 3.13
|
105 |
+
|
106 |
+
### 1.6.5, 2013-07-19
|
107 |
+
|
108 |
+
* fixed: stop twentythirteen theme stuffing up Google Maps infowindows with its too-promiscuous box-sizing rules
|
109 |
+
* added: `dirdraggable` and `dirnomarkers` attributes
|
110 |
+
|
111 |
+
### 1.6.4, 2013-06-14
|
112 |
+
|
113 |
+
* fixed: can set directions=false and showdirections=true
|
114 |
+
* fixed: space before colon in fr translation (thanks, [mister klucha](https://wordpress.org/support/profile/mister-klucha)!)
|
115 |
+
* added: load unminified script if SCRIPT_DEBUG is defined / true
|
116 |
+
* changed: clicking directions link sets focus on From: address again
|
117 |
+
* changed: bump version of Google Maps API to 3.12
|
118 |
+
|
119 |
+
### 1.6.3, 2013-03-14
|
120 |
+
|
121 |
+
* fixed: HTML description now works for address-based maps (thanks, [John Sundberg](https://profiles.wordpress.org/bhwebworks/)!)
|
122 |
+
|
123 |
+
### 1.6.2, 2013-03-04
|
124 |
+
|
125 |
+
* fixed: CSS fix for themes that muck up Google Maps images by specifying background colour on images without being selective
|
126 |
+
* added: icon attribute to set marker icon on centre / address maps
|
127 |
+
|
128 |
+
### 1.6.1, 2013-01-29
|
129 |
+
|
130 |
+
* fixed: infowindow auto-pans on load, to prevent the top of the bubble being cropped
|
131 |
+
* added: WordPress filter `flexmap_google_maps_api_args` for filtering array of arguments before building Google Maps API URL
|
132 |
+
* added: function flexmap_show_map() accepts an attribute "echo", and returns a string without output to screen when "echo"=>"false"
|
133 |
+
* changed: all scripts now loaded through wp_enqueue_scripts, including language scripts (thanks to a [tip from toscho](http://wordpress.stackexchange.com/a/38335/24260))
|
134 |
+
* changed: bump version of Google Maps API to 3.11
|
135 |
+
|
136 |
+
### 1.6.0, 2012-12-30
|
137 |
+
|
138 |
+
* added: themes can call function flexmap_load_scripts() to force load of scripts, e.g. on single-page AJAX websites
|
139 |
+
* added: can add HTML block to infowindow, e.g. images
|
140 |
+
* fixed: no auto-focus on directions search field, thus no auto-scroll page to last directions search field!
|
141 |
+
|
142 |
+
### 1.5.3, 2012-11-30
|
143 |
+
|
144 |
+
* fixed: when attributes showdirections or directionsfrom were specified, but not directions, the directions panel was not added to page and a JavaScript error was generated
|
145 |
+
* changed: bump version of Google Maps API to 3.10
|
146 |
+
|
147 |
+
### 1.5.2, 2012-10-12
|
148 |
+
|
149 |
+
* fixed: KML maps broken; KMLLayer status_changed event unreliable, use defaultviewport_changed event instead (possible Google Maps API change)
|
150 |
+
|
151 |
+
### 1.5.1, 2012-09-30
|
152 |
+
|
153 |
+
* changed: tighten up FlexibleMap API to keep private members private (in case they change later)
|
154 |
+
|
155 |
+
### 1.5.0, 2012-09-29
|
156 |
+
|
157 |
+
* added: new shortcode attribute "id" which will be used for the container div, instead of the random unique div id
|
158 |
+
* added: FlexibleMap object is accessible via global variable with name derived from container div id (e.g. if you need to access the Google Maps map object in your own scripts)
|
159 |
+
* added: redraw() and redrawOnce() methods, for when the map needs to be redrawn correctly (e.g. when initially hidden then revealed)
|
160 |
+
* added: KML maps support directions (sponsored by [Roger Los](http://www.rogerlos.com/) -- thanks!)
|
161 |
+
|
162 |
+
### 1.4.1, 2012-09-11
|
163 |
+
|
164 |
+
* fixed: targetfix was not stopping KML marker links opening in new window/tab since Google Maps API 3.9
|
165 |
+
|
166 |
+
### 1.4.0, 2012-08-22
|
167 |
+
|
168 |
+
* changed: bump version of Google Maps API to 3.9
|
169 |
+
* added: allow CSS units in ch, rem, vh, vw, vmin, vmax
|
170 |
+
|
171 |
+
### 1.3.1, 2012-07-13
|
172 |
+
|
173 |
+
* fixed: width/height in digits (no units) defaults to pixels (sorry folks, I thought I tested that, but missed it somehow!)
|
174 |
+
|
175 |
+
### 1.3.0, 2012-07-12
|
176 |
+
|
177 |
+
* fixed: Norwegian translation had incorrect file name
|
178 |
+
* fixed: Malaysian translation had incorrect index (was overwriting Macedonian translation)
|
179 |
+
* added: filters so that theme and plugin developers can modify the behaviour of this plugin
|
180 |
+
* added: width and height can be any valid CSS units, not just pixels
|
181 |
+
|
182 |
+
### 1.2.0, 2012-06-29
|
183 |
+
|
184 |
+
* added: option showdirections, to show the directions search when the map loads
|
185 |
+
* added: option directionsfrom, to set the default from: location, and immediately search for directions when showdirections is set
|
186 |
+
|
187 |
+
### 1.1.2, 2012-05-20
|
188 |
+
|
189 |
+
* fixed: some themes set box-shadow on all images, now forceably fixed for Google Maps images
|
190 |
+
* added: option to control whether links on KML maps open in new window
|
191 |
+
|
192 |
+
### 1.1.1, 2012-04-15
|
193 |
+
|
194 |
+
* fixed: instructions updated to reflect recent changes
|
195 |
+
|
196 |
+
### 1.1.0, 2012-04-15
|
197 |
+
|
198 |
+
* added: locale-specific messages (using translations from Google Translate) e.g. Directions link
|
199 |
+
* wanted: translators to help me add new translations, and clean up the messages I got from Google Translate!
|
200 |
+
* fixed: use region to help refine street address searches
|
201 |
+
|
202 |
+
### 1.0.6, 2012-04-06
|
203 |
+
|
204 |
+
* fixed: use plugin_dir_url() to get url base, and protocol-relative url to load Google Maps API (SSL compatible)
|
205 |
+
|
206 |
+
### 1.0.5, 2012-03-17
|
207 |
+
|
208 |
+
* fixed: CSS fixes for themes that muck up Google Maps images (e.g. twentyeleven)
|
209 |
+
* added: infowindow styles now in enqueued stylesheet
|
210 |
+
|
211 |
+
### 1.0.4, 2012-03-06
|
212 |
+
|
213 |
+
* fixed: use LatLng methods to access latitude/longitude, instead of (ever changing) Google Maps API private members
|
214 |
+
* added: tooltip on markers in non-KML maps
|
215 |
+
* added: options to disable pan control, zoom control, drag to pan, double-click to zoom
|
216 |
+
|
217 |
+
### 1.0.3, 2012-02-27
|
218 |
+
|
219 |
+
* fixed: address query updated to work with Google Maps v3.8 (so using address for centre marker works again)
|
220 |
+
* fixed: tied Google Maps API to v3.8 so newer versions don't break plugin, and will keep updated as API changes
|
221 |
+
|
222 |
+
### 1.0.2, 2012-02-04
|
223 |
+
|
224 |
+
* added: address attribute as alternative to center coordinates
|
225 |
+
* added: use address attribute for directions, if given (so that directions match address)
|
226 |
+
* changed: readme improved a little
|
227 |
+
* changed: refactored code for DRY (don't repeat yourself)
|
228 |
+
|
229 |
+
### 1.0.1, 2012-01-26
|
230 |
+
|
231 |
+
* fixed: directions bugs in JavaScript for Opera, IE
|
232 |
+
|
233 |
+
### 1.0.0, 2012-01-08
|
234 |
+
|
235 |
+
* final cleanup for public release
|
flexible-map.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
/*
|
3 |
Plugin Name: Flexible Map
|
4 |
Plugin URI: http://flexible-map.webaware.net.au/
|
5 |
-
Description: Embed Google Maps in pages and posts, either by centre
|
6 |
-
Version: 1.10.
|
7 |
Author: WebAware
|
8 |
Author URI: http://webaware.com.au/
|
9 |
-
Text Domain: flexible-map
|
10 |
Domain Path: /languages/
|
11 |
*/
|
12 |
|
@@ -36,7 +36,7 @@ if (!defined('ABSPATH')) {
|
|
36 |
define('FLXMAP_PLUGIN_FILE', __FILE__);
|
37 |
define('FLXMAP_PLUGIN_ROOT', dirname(__FILE__) . '/');
|
38 |
define('FLXMAP_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__));
|
39 |
-
define('FLXMAP_PLUGIN_VERSION', '1.10.
|
40 |
|
41 |
// shortcode tags
|
42 |
define('FLXMAP_PLUGIN_TAG_MAP', 'flexiblemap');
|
2 |
/*
|
3 |
Plugin Name: Flexible Map
|
4 |
Plugin URI: http://flexible-map.webaware.net.au/
|
5 |
+
Description: Embed Google Maps shortcodes in pages and posts, either by centre coordinates or street address, or by URL to a Google Earth KML file. <a href="http://flexible-map.webaware.net.au/manual/getting-started/">Get started</a> with a simple shortcode. See the <a href="http://flexible-map.webaware.net.au/manual/attribute-reference/">complete attribute reference</a> for more details.
|
6 |
+
Version: 1.10.1
|
7 |
Author: WebAware
|
8 |
Author URI: http://webaware.com.au/
|
9 |
+
Text Domain: wp-flexible-map
|
10 |
Domain Path: /languages/
|
11 |
*/
|
12 |
|
36 |
define('FLXMAP_PLUGIN_FILE', __FILE__);
|
37 |
define('FLXMAP_PLUGIN_ROOT', dirname(__FILE__) . '/');
|
38 |
define('FLXMAP_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__));
|
39 |
+
define('FLXMAP_PLUGIN_VERSION', '1.10.1');
|
40 |
|
41 |
// shortcode tags
|
42 |
define('FLXMAP_PLUGIN_TAG_MAP', 'flexiblemap');
|
includes/class.FlxMapAdmin.php
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
|
|
3 |
/**
|
4 |
* class for admin screens
|
5 |
*/
|
@@ -23,11 +27,11 @@ class FlxMapAdmin {
|
|
23 |
public function addPluginDetailsLinks($links, $file) {
|
24 |
// add settings link
|
25 |
if ($file == FLXMAP_PLUGIN_NAME) {
|
26 |
-
$links[] = sprintf('<a href="http://flexible-map.webaware.net.au/" target="_blank">%s</a>', _x('Instructions', 'plugin details links', 'flexible-map'));
|
27 |
-
$links[] = sprintf('<a href="https://wordpress.org/support/plugin/wp-flexible-map" target="_blank">%s</a>', _x('Get Help', 'plugin details links', 'flexible-map'));
|
28 |
-
$links[] = sprintf('<a href="https://wordpress.org/plugins/wp-flexible-map/" target="_blank">%s</a>', _x('Rating', 'plugin details links', 'flexible-map'));
|
29 |
-
$links[] = sprintf('<a href="https://translate.
|
30 |
-
$links[] = sprintf('<a href="http://shop.webaware.com.au/donations/?donation_for=Flexible+Map" target="_blank">%s</a>', _x('Donate', 'plugin details links', 'flexible-map'));
|
31 |
}
|
32 |
|
33 |
return $links;
|
1 |
<?php
|
2 |
|
3 |
+
if (!defined('ABSPATH')) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
/**
|
8 |
* class for admin screens
|
9 |
*/
|
27 |
public function addPluginDetailsLinks($links, $file) {
|
28 |
// add settings link
|
29 |
if ($file == FLXMAP_PLUGIN_NAME) {
|
30 |
+
$links[] = sprintf('<a href="http://flexible-map.webaware.net.au/manual/getting-started/" target="_blank">%s</a>', _x('Instructions', 'plugin details links', 'wp-flexible-map'));
|
31 |
+
$links[] = sprintf('<a href="https://wordpress.org/support/plugin/wp-flexible-map" target="_blank">%s</a>', _x('Get Help', 'plugin details links', 'wp-flexible-map'));
|
32 |
+
$links[] = sprintf('<a href="https://wordpress.org/plugins/wp-flexible-map/" target="_blank">%s</a>', _x('Rating', 'plugin details links', 'wp-flexible-map'));
|
33 |
+
$links[] = sprintf('<a href="https://translate.wordpress.org/projects/wp-plugins/wp-flexible-map" target="_blank">%s</a>', _x('Translate', 'plugin details links', 'wp-flexible-map'));
|
34 |
+
$links[] = sprintf('<a href="http://shop.webaware.com.au/donations/?donation_for=Flexible+Map" target="_blank">%s</a>', _x('Donate', 'plugin details links', 'wp-flexible-map'));
|
35 |
}
|
36 |
|
37 |
return $links;
|
includes/class.FlxMapPlugin.php
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* class for managing the plugin
|
4 |
*/
|
@@ -41,7 +46,7 @@ class FlxMapPlugin {
|
|
41 |
else {
|
42 |
// non-admin actions and filters for this plugin
|
43 |
add_action('wp_enqueue_scripts', array($this, 'enqueueScripts'));
|
44 |
-
add_action('
|
45 |
|
46 |
// custom actions and filters for this plugin
|
47 |
add_filter('flexmap_getmap', array($this, 'getMap'), 10, 1);
|
@@ -61,7 +66,7 @@ class FlxMapPlugin {
|
|
61 |
$this->locale = get_locale();
|
62 |
|
63 |
// load translation strings for the admin
|
64 |
-
load_plugin_textdomain('flexible-map', false, basename(dirname(FLXMAP_PLUGIN_FILE)) . '/languages/');
|
65 |
}
|
66 |
|
67 |
/**
|
@@ -79,8 +84,8 @@ class FlxMapPlugin {
|
|
79 |
*/
|
80 |
public function enqueueScripts() {
|
81 |
// allow others to override the Google Maps API URL
|
82 |
-
$args = apply_filters('flexmap_google_maps_api_args', array('v' => '3.
|
83 |
-
$apiURL = apply_filters('flexmap_google_maps_api_url', add_query_arg($args,
|
84 |
if (!empty($apiURL)) {
|
85 |
wp_register_script('google-maps', $apiURL, false, null, true);
|
86 |
}
|
@@ -107,7 +112,7 @@ class FlxMapPlugin {
|
|
107 |
*/
|
108 |
public function justInTimeLocalisation() {
|
109 |
if (!empty($this->locales)) {
|
110 |
-
$domain = 'flexible-map';
|
111 |
$i18n = array();
|
112 |
|
113 |
// map old two-character language-only locales that now need to target language_country translations
|
1 |
<?php
|
2 |
+
|
3 |
+
if (!defined('ABSPATH')) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
/**
|
8 |
* class for managing the plugin
|
9 |
*/
|
46 |
else {
|
47 |
// non-admin actions and filters for this plugin
|
48 |
add_action('wp_enqueue_scripts', array($this, 'enqueueScripts'));
|
49 |
+
add_action('wp_footer', array($this, 'justInTimeLocalisation'));
|
50 |
|
51 |
// custom actions and filters for this plugin
|
52 |
add_filter('flexmap_getmap', array($this, 'getMap'), 10, 1);
|
66 |
$this->locale = get_locale();
|
67 |
|
68 |
// load translation strings for the admin
|
69 |
+
load_plugin_textdomain('wp-flexible-map', false, basename(dirname(FLXMAP_PLUGIN_FILE)) . '/languages/');
|
70 |
}
|
71 |
|
72 |
/**
|
84 |
*/
|
85 |
public function enqueueScripts() {
|
86 |
// allow others to override the Google Maps API URL
|
87 |
+
$args = apply_filters('flexmap_google_maps_api_args', array('v' => '3.22'));
|
88 |
+
$apiURL = apply_filters('flexmap_google_maps_api_url', add_query_arg($args, 'https://maps.google.com/maps/api/js'));
|
89 |
if (!empty($apiURL)) {
|
90 |
wp_register_script('google-maps', $apiURL, false, null, true);
|
91 |
}
|
112 |
*/
|
113 |
public function justInTimeLocalisation() {
|
114 |
if (!empty($this->locales)) {
|
115 |
+
$domain = 'wp-flexible-map';
|
116 |
$i18n = array();
|
117 |
|
118 |
// map old two-character language-only locales that now need to target language_country translations
|
includes/declare-strings.php
CHANGED
@@ -1,15 +1,19 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
|
|
3 |
/**
|
4 |
* declare l10n strings used in JavaScript so a gettext scanner can find them
|
5 |
* NB: never called!
|
6 |
*/
|
7 |
function justDeclare() {
|
8 |
$strings = array(
|
9 |
-
__('Click for details', 'flexible-map'),
|
10 |
-
__('Directions', 'flexible-map'),
|
11 |
-
__('From', 'flexible-map'),
|
12 |
-
__('Get directions', 'flexible-map'),
|
13 |
);
|
14 |
}
|
15 |
|
1 |
<?php
|
2 |
|
3 |
+
if (!defined('ABSPATH')) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
/**
|
8 |
* declare l10n strings used in JavaScript so a gettext scanner can find them
|
9 |
* NB: never called!
|
10 |
*/
|
11 |
function justDeclare() {
|
12 |
$strings = array(
|
13 |
+
__('Click for details', 'wp-flexible-map'),
|
14 |
+
__('Directions', 'wp-flexible-map'),
|
15 |
+
__('From', 'wp-flexible-map'),
|
16 |
+
__('Get directions', 'wp-flexible-map'),
|
17 |
);
|
18 |
}
|
19 |
|
languages/flexible-map-de_DE.mo
DELETED
Binary file
|
languages/flexible-map-nb_NO.mo
DELETED
Binary file
|
languages/flexible-map-nl_NL.mo
DELETED
Binary file
|
languages/{flexible-map-af.mo → wp-flexible-map-af.mo}
RENAMED
File without changes
|
languages/{flexible-map-ar.mo → wp-flexible-map-ar.mo}
RENAMED
File without changes
|
languages/{flexible-map-az.mo → wp-flexible-map-az.mo}
RENAMED
File without changes
|
languages/{flexible-map-bel.mo → wp-flexible-map-bel.mo}
RENAMED
File without changes
|
languages/{flexible-map-bg_BG.mo → wp-flexible-map-bg_BG.mo}
RENAMED
File without changes
|
languages/{flexible-map-ca.mo → wp-flexible-map-ca.mo}
RENAMED
File without changes
|
languages/{flexible-map-cs_CZ.mo → wp-flexible-map-cs_CZ.mo}
RENAMED
File without changes
|
languages/{flexible-map-cy.mo → wp-flexible-map-cy.mo}
RENAMED
File without changes
|
languages/{flexible-map-da_DK.mo → wp-flexible-map-da_DK.mo}
RENAMED
File without changes
|
languages/wp-flexible-map-de_DE.mo
ADDED
Binary file
|
languages/{flexible-map-el.mo → wp-flexible-map-el.mo}
RENAMED
File without changes
|
languages/{flexible-map-eo.mo → wp-flexible-map-eo.mo}
RENAMED
File without changes
|
languages/{flexible-map-es_ES.mo → wp-flexible-map-es_ES.mo}
RENAMED
File without changes
|
languages/{flexible-map-et.mo → wp-flexible-map-et.mo}
RENAMED
File without changes
|
languages/{flexible-map-fa_IR.mo → wp-flexible-map-fa_IR.mo}
RENAMED
File without changes
|
languages/{flexible-map-fi.mo → wp-flexible-map-fi.mo}
RENAMED
File without changes
|
languages/{flexible-map-fr_FR.mo → wp-flexible-map-fr_FR.mo}
RENAMED
File without changes
|
languages/{flexible-map-gl_ES.mo → wp-flexible-map-gl_ES.mo}
RENAMED
File without changes
|
languages/{flexible-map-he_IL.mo → wp-flexible-map-he_IL.mo}
RENAMED
File without changes
|
languages/{flexible-map-hi_IN.mo → wp-flexible-map-hi_IN.mo}
RENAMED
File without changes
|
languages/{flexible-map-hr.mo → wp-flexible-map-hr.mo}
RENAMED
File without changes
|
languages/{flexible-map-hu_HU.mo → wp-flexible-map-hu_HU.mo}
RENAMED
File without changes
|
languages/{flexible-map-hy.mo → wp-flexible-map-hy.mo}
RENAMED
File without changes
|
languages/{flexible-map-id_ID.mo → wp-flexible-map-id_ID.mo}
RENAMED
File without changes
|
languages/{flexible-map-is_IS.mo → wp-flexible-map-is_IS.mo}
RENAMED
File without changes
|
languages/{flexible-map-it_IT.mo → wp-flexible-map-it_IT.mo}
RENAMED
File without changes
|
languages/{flexible-map-ja.mo → wp-flexible-map-ja.mo}
RENAMED
File without changes
|
languages/{flexible-map-ka_GE.mo → wp-flexible-map-ka_GE.mo}
RENAMED
File without changes
|
languages/{flexible-map-ko_KR.mo → wp-flexible-map-ko_KR.mo}
RENAMED
File without changes
|
languages/{flexible-map-lt_LT.mo → wp-flexible-map-lt_LT.mo}
RENAMED
File without changes
|
languages/{flexible-map-lv.mo → wp-flexible-map-lv.mo}
RENAMED
File without changes
|
languages/{flexible-map-mk_MK.mo → wp-flexible-map-mk_MK.mo}
RENAMED
File without changes
|
languages/{flexible-map-ms_MY.mo → wp-flexible-map-ms_MY.mo}
RENAMED
File without changes
|
languages/{flexible-map-mt_MT.mo → wp-flexible-map-mt_MT.mo}
RENAMED
File without changes
|
languages/wp-flexible-map-nb_NO.mo
ADDED
Binary file
|
languages/wp-flexible-map-nl_NL.mo
ADDED
Binary file
|
languages/{flexible-map-nn_NO.mo → wp-flexible-map-nn_NO.mo}
RENAMED
File without changes
|
languages/{flexible-map-pl_PL.mo → wp-flexible-map-pl_PL.mo}
RENAMED
File without changes
|
languages/{flexible-map-pt_BR.mo → wp-flexible-map-pt_BR.mo}
RENAMED
File without changes
|
languages/{flexible-map-pt_PT.mo → wp-flexible-map-pt_PT.mo}
RENAMED
File without changes
|
languages/{flexible-map-ro_RO.mo → wp-flexible-map-ro_RO.mo}
RENAMED
File without changes
|
languages/{flexible-map-ru_RU.mo → wp-flexible-map-ru_RU.mo}
RENAMED
File without changes
|
languages/{flexible-map-sk_SK.mo → wp-flexible-map-sk_SK.mo}
RENAMED
File without changes
|
languages/{flexible-map-sl_SL.mo → wp-flexible-map-sl_SL.mo}
RENAMED
File without changes
|
languages/{flexible-map-sq.mo → wp-flexible-map-sq.mo}
RENAMED
File without changes
|
languages/{flexible-map-sr_RS.mo → wp-flexible-map-sr_RS.mo}
RENAMED
File without changes
|
languages/{flexible-map-sv_SE.mo → wp-flexible-map-sv_SE.mo}
RENAMED
File without changes
|
languages/{flexible-map-ta_IN.mo → wp-flexible-map-ta_IN.mo}
RENAMED
File without changes
|
languages/{flexible-map-th.mo → wp-flexible-map-th.mo}
RENAMED
File without changes
|
languages/{flexible-map-tr_TR.mo → wp-flexible-map-tr_TR.mo}
RENAMED
File without changes
|
languages/{flexible-map-uk.mo → wp-flexible-map-uk.mo}
RENAMED
File without changes
|
languages/{flexible-map-ur.mo → wp-flexible-map-ur.mo}
RENAMED
File without changes
|
languages/{flexible-map-vi.mo → wp-flexible-map-vi.mo}
RENAMED
File without changes
|
languages/{flexible-map-zh_CN.mo → wp-flexible-map-zh_CN.mo}
RENAMED
File without changes
|
languages/{flexible-map.pot → wp-flexible-map.pot}
RENAMED
@@ -4,10 +4,10 @@
|
|
4 |
#, fuzzy
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
-
"Project-Id-Version:
|
8 |
"Report-Msgid-Bugs-To: translate@webaware.com.au\n"
|
9 |
-
"POT-Creation-Date: 2015-
|
10 |
-
"PO-Revision-Date: 2015-
|
11 |
"Last-Translator: Ross McKay <rmckay@webaware.com.au>\n"
|
12 |
"Language-Team: \n"
|
13 |
"Language: en_US\n"
|
@@ -15,43 +15,43 @@ msgstr ""
|
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
|
18 |
-
#: includes/class.FlxMapAdmin.php:
|
19 |
msgctxt "plugin details links"
|
20 |
msgid "Instructions"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: includes/class.FlxMapAdmin.php:
|
24 |
msgctxt "plugin details links"
|
25 |
msgid "Get Help"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: includes/class.FlxMapAdmin.php:
|
29 |
msgctxt "plugin details links"
|
30 |
msgid "Rating"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: includes/class.FlxMapAdmin.php:
|
34 |
msgctxt "plugin details links"
|
35 |
msgid "Translate"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: includes/class.FlxMapAdmin.php:
|
39 |
msgctxt "plugin details links"
|
40 |
msgid "Donate"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: includes/declare-strings.php:
|
44 |
msgid "Click for details"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: includes/declare-strings.php:
|
48 |
msgid "Directions"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: includes/declare-strings.php:
|
52 |
msgid "From"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/declare-strings.php:
|
56 |
msgid "Get directions"
|
57 |
msgstr ""
|
4 |
#, fuzzy
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
+
"Project-Id-Version: wp-flexible-map\n"
|
8 |
"Report-Msgid-Bugs-To: translate@webaware.com.au\n"
|
9 |
+
"POT-Creation-Date: 2015-11-29 19:00+1100\n"
|
10 |
+
"PO-Revision-Date: 2015-11-29 19:00+1100\n"
|
11 |
"Last-Translator: Ross McKay <rmckay@webaware.com.au>\n"
|
12 |
"Language-Team: \n"
|
13 |
"Language: en_US\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
|
18 |
+
#: includes/class.FlxMapAdmin.php:30
|
19 |
msgctxt "plugin details links"
|
20 |
msgid "Instructions"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: includes/class.FlxMapAdmin.php:31
|
24 |
msgctxt "plugin details links"
|
25 |
msgid "Get Help"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: includes/class.FlxMapAdmin.php:32
|
29 |
msgctxt "plugin details links"
|
30 |
msgid "Rating"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.FlxMapAdmin.php:33
|
34 |
msgctxt "plugin details links"
|
35 |
msgid "Translate"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: includes/class.FlxMapAdmin.php:34
|
39 |
msgctxt "plugin details links"
|
40 |
msgid "Donate"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: includes/declare-strings.php:13
|
44 |
msgid "Click for details"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: includes/declare-strings.php:14
|
48 |
msgid "Directions"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: includes/declare-strings.php:15
|
52 |
msgid "From"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: includes/declare-strings.php:16
|
56 |
msgid "Get directions"
|
57 |
msgstr ""
|
readme.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
-
#
|
2 |
|
3 |
Embed Google Maps in pages and posts, either by centre coordinates or street address, or by URL to a Google Earth KML file.
|
4 |
|
5 |
* [Home](http://flexible-map.webaware.net.au/)
|
6 |
* [GitHub](https://github.com/webaware/flexible-map)
|
7 |
* [Readme](https://github.com/webaware/flexible-map/blob/master/readme.txt)
|
|
|
8 |
* [Download](https://wordpress.org/plugins/wp-flexible-map/)
|
9 |
* [Documentation](http://flexible-map.webaware.net.au/)
|
10 |
* [Support](https://wordpress.org/support/plugin/wp-flexible-map)
|
11 |
-
* [Translate](https://translate.
|
12 |
* [Donate](http://shop.webaware.com.au/donations/?donation_for=Flexible+Map)
|
1 |
+
# Flexible Map #
|
2 |
|
3 |
Embed Google Maps in pages and posts, either by centre coordinates or street address, or by URL to a Google Earth KML file.
|
4 |
|
5 |
* [Home](http://flexible-map.webaware.net.au/)
|
6 |
* [GitHub](https://github.com/webaware/flexible-map)
|
7 |
* [Readme](https://github.com/webaware/flexible-map/blob/master/readme.txt)
|
8 |
+
* [Changelog](https://github.com/webaware/flexible-map/blob/master/changelog.md)
|
9 |
* [Download](https://wordpress.org/plugins/wp-flexible-map/)
|
10 |
* [Documentation](http://flexible-map.webaware.net.au/)
|
11 |
* [Support](https://wordpress.org/support/plugin/wp-flexible-map)
|
12 |
+
* [Translate](https://translate.wordpress.org/projects/wp-plugins/wp-flexible-map)
|
13 |
* [Donate](http://shop.webaware.com.au/donations/?donation_for=Flexible+Map)
|
readme.txt
CHANGED
@@ -6,8 +6,8 @@ Author URI: http://webaware.com.au/
|
|
6 |
Donate link: http://shop.webaware.com.au/donations/?donation_for=Flexible+Map
|
7 |
Tags: google, map, maps, google maps, shortcode, google maps shortcode, kml
|
8 |
Requires at least: 3.2.1
|
9 |
-
Tested up to: 4.
|
10 |
-
Stable tag: 1.10.
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -48,9 +48,9 @@ Thanks for sponsoring new features on WP Flexible Maps!
|
|
48 |
Many thanks to the generous efforts of our translators:
|
49 |
|
50 |
* Czech (cs) -- [caslavak](https://profiles.wordpress.org/caslavak/)
|
51 |
-
* Dutch (nl) -- [Ivan Beemster](http://www.lijndiensten.com/)
|
52 |
* French (fr) -- [mister klucha](https://profiles.wordpress.org/mister-klucha/)
|
53 |
-
* German (de) -- [Carib Design](http://www.caribdesign.com/)
|
54 |
* Greek (el) -- [Pantelis Orfanos](https://profiles.wordpress.org/ironwiller/)
|
55 |
* Hungarian (hu) -- Krisztián Vörös
|
56 |
* Norwegian: Bokmål (nb_NO) -- [neonnero](http://www.neonnero.com/)
|
@@ -166,14 +166,6 @@ For more information and examples, see [the reference website](http://flexible-m
|
|
166 |
|
167 |
== Frequently Asked Questions ==
|
168 |
|
169 |
-
= Why do I get "The Google Maps API server rejected your request"? =
|
170 |
-
|
171 |
-
If Google Maps is telling you this:
|
172 |
-
|
173 |
-
> The Google Maps API server rejected your request. The "sensor" parameter specified in the request must be set to either "true" or "false".
|
174 |
-
|
175 |
-
then something on your website is stripping the query strings on scripts. It's probably a misguided attempt to make your website more secure, and it's a dumb idea. Some so-called "security" plugins do this, and I've heard of a theme doing it too. You need to find out what is doing it and fix it, or remove it. Start by deactivating plugins that pretend to enhance security and retest, then try switching your theme to twentytwelve to see if the theme is the problem.
|
176 |
-
|
177 |
= Where are the settings? =
|
178 |
|
179 |
There are none! You just need to add some attributes to your shortcode telling the map what to do.
|
@@ -305,15 +297,32 @@ Either turn off CloudFlare Rocketscript :) or install the [Flxmap No Rocketscrip
|
|
305 |
|
306 |
== Screenshots ==
|
307 |
|
308 |
-
1. `[flexiblemap center="-32.918657,151.797894" title="Nobby's Head" zoom="14" width="
|
309 |
-
2. `[flexiblemap address="116 Beaumont Street Hamilton NSW Australia" title="Raj's Corner" description="SWMBO's favourite Indian diner" width="
|
310 |
-
3. `[flexiblemap src="http://webaware.com.au/maps/example-toronto.kml
|
311 |
-
4. `[flexiblemap center="-34.916721,138.828878" width="
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
|
313 |
== Changelog ==
|
314 |
|
315 |
The full changelog can be found [on GitHub](https://github.com/webaware/flexible-map/blob/master/changelog.md). Recent entries:
|
316 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
### 1.10.0, 2015-08-23
|
318 |
|
319 |
* fixed: Brazilian Portuguese translation (thanks, Alexsandro Santos and Paulo Henrique!)
|
@@ -325,8 +334,3 @@ The full changelog can be found [on GitHub](https://github.com/webaware/flexible
|
|
325 |
* added: `dirtravelmode` attribute for selecting directions by driving, bicycling, walking, or transit
|
326 |
* changed: bump version of Google Maps API to 3.20
|
327 |
* changed: always load Google Maps API on HTTPS
|
328 |
-
|
329 |
-
### 1.9.2, 2015-03-21
|
330 |
-
|
331 |
-
* fixed: sometimes vertical copyright message on IE8 with some themes
|
332 |
-
* changed: bump version of Google Maps API to 3.19 (resolves some Safari styling issues)
|
6 |
Donate link: http://shop.webaware.com.au/donations/?donation_for=Flexible+Map
|
7 |
Tags: google, map, maps, google maps, shortcode, google maps shortcode, kml
|
8 |
Requires at least: 3.2.1
|
9 |
+
Tested up to: 4.5
|
10 |
+
Stable tag: 1.10.1
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
48 |
Many thanks to the generous efforts of our translators:
|
49 |
|
50 |
* Czech (cs) -- [caslavak](https://profiles.wordpress.org/caslavak/)
|
51 |
+
* Dutch (nl) -- [Ivan Beemster](http://www.lijndiensten.com/), [Chantal Coolsma](http://www.webpressed.nl/), [TacoVerdo](https://profiles.wordpress.org/tacoverdo)
|
52 |
* French (fr) -- [mister klucha](https://profiles.wordpress.org/mister-klucha/)
|
53 |
+
* German (de) -- [Carib Design](http://www.caribdesign.com/), [Dominik Schilling](https://dominikschilling.de/)
|
54 |
* Greek (el) -- [Pantelis Orfanos](https://profiles.wordpress.org/ironwiller/)
|
55 |
* Hungarian (hu) -- Krisztián Vörös
|
56 |
* Norwegian: Bokmål (nb_NO) -- [neonnero](http://www.neonnero.com/)
|
166 |
|
167 |
== Frequently Asked Questions ==
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
= Where are the settings? =
|
170 |
|
171 |
There are none! You just need to add some attributes to your shortcode telling the map what to do.
|
297 |
|
298 |
== Screenshots ==
|
299 |
|
300 |
+
1. `[flexiblemap center="-32.918657,151.797894" title="Nobby's Head" zoom="14" width="100%" height="400px" directions="true" maptype="satellite"]`
|
301 |
+
2. `[flexiblemap address="116 Beaumont Street Hamilton NSW Australia" title="Raj's Corner" description="SWMBO's favourite Indian diner" width="100%" height="400px" directions="true"]`
|
302 |
+
3. `[flexiblemap src="http://webaware.com.au/maps/example-toronto.kml" width="100%" height="400px" maptype="satellite"]`
|
303 |
+
4. `[flexiblemap center="-34.916721,138.828878" width="100%" height="400px" title="Adelaide Hills" directions="true" showdirections="true" directionsfrom="Adelaide" region="au"]`
|
304 |
+
|
305 |
+
== Upgrade Notice ==
|
306 |
+
|
307 |
+
= 1.10.1 =
|
308 |
+
|
309 |
+
fix NextGEN Gallery breaking localisation of maps; bump version of Google Maps API to 3.22; update translations de_DE, nb_NO, nl_NL
|
310 |
|
311 |
== Changelog ==
|
312 |
|
313 |
The full changelog can be found [on GitHub](https://github.com/webaware/flexible-map/blob/master/changelog.md). Recent entries:
|
314 |
|
315 |
+
### 1.10.1, 2015-11-29
|
316 |
+
|
317 |
+
* fixed: NextGEN Gallery breaks localisation of maps by messing with order of `wp_print_footer_scripts` calls
|
318 |
+
* changed: Dutch translation updated / completed (thanks, [Chantal Coolsma](http://www.webpressed.nl/) and [TacoVerdo](https://profiles.wordpress.org/tacoverdo)!)
|
319 |
+
* changed: German translation updated / completed (thanks, [Dominik Schilling](https://dominikschilling.de/)!)
|
320 |
+
* changed: Norwegian Bokmål translation updated / completed (thanks, [neonnero](http://www.neonnero.com/)!)
|
321 |
+
* changed: translations now accepted on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wp-flexible-map)
|
322 |
+
* changed: Localisation (l10n) slug changed from `flexible-map` to `wp-flexible-map`, with move to translate.wordpress.org
|
323 |
+
* changed: bump version of Google Maps API to 3.22; NB: [control sizes have no effect with API v3.22](https://developers.google.com/maps/articles/v322-controls-diff)
|
324 |
+
* changed: removed "sensor" query parameter to Google Maps API; no longer required
|
325 |
+
|
326 |
### 1.10.0, 2015-08-23
|
327 |
|
328 |
* fixed: Brazilian Portuguese translation (thanks, Alexsandro Santos and Paulo Henrique!)
|
334 |
* added: `dirtravelmode` attribute for selecting directions by driving, bicycling, walking, or transit
|
335 |
* changed: bump version of Google Maps API to 3.20
|
336 |
* changed: always load Google Maps API on HTTPS
|
|
|
|
|
|
|
|
|
|