Version Description
Download this release
Release Info
Developer | chrisvrichardson |
Plugin | MapPress Easy Google Maps |
Version | 2.43.2 |
Comparing to | |
See all releases |
Code changes from version 2.42.1 to 2.43.2
- LICENSE.txt +340 -76
- css/mappress.css +80 -100
- css/mappress_admin.css +147 -98
- forms/map_editor.php +17 -9
- forms/map_editor_infobox.php +9 -20
- forms/map_media.php +5 -5
- images/close-2x.png +0 -0
- images/close.png +0 -0
- images/delete.png +0 -0
- images/geolocate-2x.png +0 -0
- images/icons.png +0 -0
- images/news.png +0 -0
- images/next-off.png +0 -0
- images/next.png +0 -0
- images/prev-off.png +0 -0
- images/prev.png +0 -0
- images/remove.png +0 -0
- images/rss.png +0 -0
- images/swap.png +0 -0
- js/mappress.min.js +1 -1
- js/mappress_editor.min.js +1 -1
- js/mappress_settings.min.js +1 -1
- languages/mappress-fr_FR.mo +0 -0
- languages/mappress-fr_FR.po +400 -719
- languages/mappress-ru_RU.mo +0 -0
- languages/mappress-ru_RU.po +1087 -0
- languages/mappress.mo +0 -0
- languages/mappress.po +292 -350
- mappress.php +196 -136
- mappress_controls.php +245 -0
- mappress_map.php +50 -41
- mappress_poi.php +1 -6
- mappress_settings.php +51 -116
- mappress_updater.php +4 -4
- readme.txt +42 -2
- templates/map_layout.php +2 -2
- templates/map_poi_list.php +1 -0
LICENSE.txt
CHANGED
@@ -1,76 +1,340 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
5 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
6 |
+
Everyone is permitted to copy and distribute verbatim copies
|
7 |
+
of this license document, but changing it is not allowed.
|
8 |
+
|
9 |
+
Preamble
|
10 |
+
|
11 |
+
The licenses for most software are designed to take away your
|
12 |
+
freedom to share and change it. By contrast, the GNU General Public
|
13 |
+
License is intended to guarantee your freedom to share and change free
|
14 |
+
software--to make sure the software is free for all its users. This
|
15 |
+
General Public License applies to most of the Free Software
|
16 |
+
Foundation's software and to any other program whose authors commit to
|
17 |
+
using it. (Some other Free Software Foundation software is covered by
|
18 |
+
the GNU Lesser General Public License instead.) You can apply it to
|
19 |
+
your programs, too.
|
20 |
+
|
21 |
+
When we speak of free software, we are referring to freedom, not
|
22 |
+
price. Our General Public Licenses are designed to make sure that you
|
23 |
+
have the freedom to distribute copies of free software (and charge for
|
24 |
+
this service if you wish), that you receive source code or can get it
|
25 |
+
if you want it, that you can change the software or use pieces of it
|
26 |
+
in new free programs; and that you know you can do these things.
|
27 |
+
|
28 |
+
To protect your rights, we need to make restrictions that forbid
|
29 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
30 |
+
These restrictions translate to certain responsibilities for you if you
|
31 |
+
distribute copies of the software, or if you modify it.
|
32 |
+
|
33 |
+
For example, if you distribute copies of such a program, whether
|
34 |
+
gratis or for a fee, you must give the recipients all the rights that
|
35 |
+
you have. You must make sure that they, too, receive or can get the
|
36 |
+
source code. And you must show them these terms so they know their
|
37 |
+
rights.
|
38 |
+
|
39 |
+
We protect your rights with two steps: (1) copyright the software, and
|
40 |
+
(2) offer you this license which gives you legal permission to copy,
|
41 |
+
distribute and/or modify the software.
|
42 |
+
|
43 |
+
Also, for each author's protection and ours, we want to make certain
|
44 |
+
that everyone understands that there is no warranty for this free
|
45 |
+
software. If the software is modified by someone else and passed on, we
|
46 |
+
want its recipients to know that what they have is not the original, so
|
47 |
+
that any problems introduced by others will not reflect on the original
|
48 |
+
authors' reputations.
|
49 |
+
|
50 |
+
Finally, any free program is threatened constantly by software
|
51 |
+
patents. We wish to avoid the danger that redistributors of a free
|
52 |
+
program will individually obtain patent licenses, in effect making the
|
53 |
+
program proprietary. To prevent this, we have made it clear that any
|
54 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
55 |
+
|
56 |
+
The precise terms and conditions for copying, distribution and
|
57 |
+
modification follow.
|
58 |
+
|
59 |
+
GNU GENERAL PUBLIC LICENSE
|
60 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61 |
+
|
62 |
+
0. This License applies to any program or other work which contains
|
63 |
+
a notice placed by the copyright holder saying it may be distributed
|
64 |
+
under the terms of this General Public License. The "Program", below,
|
65 |
+
refers to any such program or work, and a "work based on the Program"
|
66 |
+
means either the Program or any derivative work under copyright law:
|
67 |
+
that is to say, a work containing the Program or a portion of it,
|
68 |
+
either verbatim or with modifications and/or translated into another
|
69 |
+
language. (Hereinafter, translation is included without limitation in
|
70 |
+
the term "modification".) Each licensee is addressed as "you".
|
71 |
+
|
72 |
+
Activities other than copying, distribution and modification are not
|
73 |
+
covered by this License; they are outside its scope. The act of
|
74 |
+
running the Program is not restricted, and the output from the Program
|
75 |
+
is covered only if its contents constitute a work based on the
|
76 |
+
Program (independent of having been made by running the Program).
|
77 |
+
Whether that is true depends on what the Program does.
|
78 |
+
|
79 |
+
1. You may copy and distribute verbatim copies of the Program's
|
80 |
+
source code as you receive it, in any medium, provided that you
|
81 |
+
conspicuously and appropriately publish on each copy an appropriate
|
82 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
83 |
+
notices that refer to this License and to the absence of any warranty;
|
84 |
+
and give any other recipients of the Program a copy of this License
|
85 |
+
along with the Program.
|
86 |
+
|
87 |
+
You may charge a fee for the physical act of transferring a copy, and
|
88 |
+
you may at your option offer warranty protection in exchange for a fee.
|
89 |
+
|
90 |
+
2. You may modify your copy or copies of the Program or any portion
|
91 |
+
of it, thus forming a work based on the Program, and copy and
|
92 |
+
distribute such modifications or work under the terms of Section 1
|
93 |
+
above, provided that you also meet all of these conditions:
|
94 |
+
|
95 |
+
a) You must cause the modified files to carry prominent notices
|
96 |
+
stating that you changed the files and the date of any change.
|
97 |
+
|
98 |
+
b) You must cause any work that you distribute or publish, that in
|
99 |
+
whole or in part contains or is derived from the Program or any
|
100 |
+
part thereof, to be licensed as a whole at no charge to all third
|
101 |
+
parties under the terms of this License.
|
102 |
+
|
103 |
+
c) If the modified program normally reads commands interactively
|
104 |
+
when run, you must cause it, when started running for such
|
105 |
+
interactive use in the most ordinary way, to print or display an
|
106 |
+
announcement including an appropriate copyright notice and a
|
107 |
+
notice that there is no warranty (or else, saying that you provide
|
108 |
+
a warranty) and that users may redistribute the program under
|
109 |
+
these conditions, and telling the user how to view a copy of this
|
110 |
+
License. (Exception: if the Program itself is interactive but
|
111 |
+
does not normally print such an announcement, your work based on
|
112 |
+
the Program is not required to print an announcement.)
|
113 |
+
|
114 |
+
These requirements apply to the modified work as a whole. If
|
115 |
+
identifiable sections of that work are not derived from the Program,
|
116 |
+
and can be reasonably considered independent and separate works in
|
117 |
+
themselves, then this License, and its terms, do not apply to those
|
118 |
+
sections when you distribute them as separate works. But when you
|
119 |
+
distribute the same sections as part of a whole which is a work based
|
120 |
+
on the Program, the distribution of the whole must be on the terms of
|
121 |
+
this License, whose permissions for other licensees extend to the
|
122 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
123 |
+
|
124 |
+
Thus, it is not the intent of this section to claim rights or contest
|
125 |
+
your rights to work written entirely by you; rather, the intent is to
|
126 |
+
exercise the right to control the distribution of derivative or
|
127 |
+
collective works based on the Program.
|
128 |
+
|
129 |
+
In addition, mere aggregation of another work not based on the Program
|
130 |
+
with the Program (or with a work based on the Program) on a volume of
|
131 |
+
a storage or distribution medium does not bring the other work under
|
132 |
+
the scope of this License.
|
133 |
+
|
134 |
+
3. You may copy and distribute the Program (or a work based on it,
|
135 |
+
under Section 2) in object code or executable form under the terms of
|
136 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
+
|
138 |
+
a) Accompany it with the complete corresponding machine-readable
|
139 |
+
source code, which must be distributed under the terms of Sections
|
140 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
+
|
142 |
+
b) Accompany it with a written offer, valid for at least three
|
143 |
+
years, to give any third party, for a charge no more than your
|
144 |
+
cost of physically performing source distribution, a complete
|
145 |
+
machine-readable copy of the corresponding source code, to be
|
146 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
+
customarily used for software interchange; or,
|
148 |
+
|
149 |
+
c) Accompany it with the information you received as to the offer
|
150 |
+
to distribute corresponding source code. (This alternative is
|
151 |
+
allowed only for noncommercial distribution and only if you
|
152 |
+
received the program in object code or executable form with such
|
153 |
+
an offer, in accord with Subsection b above.)
|
154 |
+
|
155 |
+
The source code for a work means the preferred form of the work for
|
156 |
+
making modifications to it. For an executable work, complete source
|
157 |
+
code means all the source code for all modules it contains, plus any
|
158 |
+
associated interface definition files, plus the scripts used to
|
159 |
+
control compilation and installation of the executable. However, as a
|
160 |
+
special exception, the source code distributed need not include
|
161 |
+
anything that is normally distributed (in either source or binary
|
162 |
+
form) with the major components (compiler, kernel, and so on) of the
|
163 |
+
operating system on which the executable runs, unless that component
|
164 |
+
itself accompanies the executable.
|
165 |
+
|
166 |
+
If distribution of executable or object code is made by offering
|
167 |
+
access to copy from a designated place, then offering equivalent
|
168 |
+
access to copy the source code from the same place counts as
|
169 |
+
distribution of the source code, even though third parties are not
|
170 |
+
compelled to copy the source along with the object code.
|
171 |
+
|
172 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
+
except as expressly provided under this License. Any attempt
|
174 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
+
void, and will automatically terminate your rights under this License.
|
176 |
+
However, parties who have received copies, or rights, from you under
|
177 |
+
this License will not have their licenses terminated so long as such
|
178 |
+
parties remain in full compliance.
|
179 |
+
|
180 |
+
5. You are not required to accept this License, since you have not
|
181 |
+
signed it. However, nothing else grants you permission to modify or
|
182 |
+
distribute the Program or its derivative works. These actions are
|
183 |
+
prohibited by law if you do not accept this License. Therefore, by
|
184 |
+
modifying or distributing the Program (or any work based on the
|
185 |
+
Program), you indicate your acceptance of this License to do so, and
|
186 |
+
all its terms and conditions for copying, distributing or modifying
|
187 |
+
the Program or works based on it.
|
188 |
+
|
189 |
+
6. Each time you redistribute the Program (or any work based on the
|
190 |
+
Program), the recipient automatically receives a license from the
|
191 |
+
original licensor to copy, distribute or modify the Program subject to
|
192 |
+
these terms and conditions. You may not impose any further
|
193 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
+
You are not responsible for enforcing compliance by third parties to
|
195 |
+
this License.
|
196 |
+
|
197 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
+
infringement or for any other reason (not limited to patent issues),
|
199 |
+
conditions are imposed on you (whether by court order, agreement or
|
200 |
+
otherwise) that contradict the conditions of this License, they do not
|
201 |
+
excuse you from the conditions of this License. If you cannot
|
202 |
+
distribute so as to satisfy simultaneously your obligations under this
|
203 |
+
License and any other pertinent obligations, then as a consequence you
|
204 |
+
may not distribute the Program at all. For example, if a patent
|
205 |
+
license would not permit royalty-free redistribution of the Program by
|
206 |
+
all those who receive copies directly or indirectly through you, then
|
207 |
+
the only way you could satisfy both it and this License would be to
|
208 |
+
refrain entirely from distribution of the Program.
|
209 |
+
|
210 |
+
If any portion of this section is held invalid or unenforceable under
|
211 |
+
any particular circumstance, the balance of the section is intended to
|
212 |
+
apply and the section as a whole is intended to apply in other
|
213 |
+
circumstances.
|
214 |
+
|
215 |
+
It is not the purpose of this section to induce you to infringe any
|
216 |
+
patents or other property right claims or to contest validity of any
|
217 |
+
such claims; this section has the sole purpose of protecting the
|
218 |
+
integrity of the free software distribution system, which is
|
219 |
+
implemented by public license practices. Many people have made
|
220 |
+
generous contributions to the wide range of software distributed
|
221 |
+
through that system in reliance on consistent application of that
|
222 |
+
system; it is up to the author/donor to decide if he or she is willing
|
223 |
+
to distribute software through any other system and a licensee cannot
|
224 |
+
impose that choice.
|
225 |
+
|
226 |
+
This section is intended to make thoroughly clear what is believed to
|
227 |
+
be a consequence of the rest of this License.
|
228 |
+
|
229 |
+
8. If the distribution and/or use of the Program is restricted in
|
230 |
+
certain countries either by patents or by copyrighted interfaces, the
|
231 |
+
original copyright holder who places the Program under this License
|
232 |
+
may add an explicit geographical distribution limitation excluding
|
233 |
+
those countries, so that distribution is permitted only in or among
|
234 |
+
countries not thus excluded. In such case, this License incorporates
|
235 |
+
the limitation as if written in the body of this License.
|
236 |
+
|
237 |
+
9. The Free Software Foundation may publish revised and/or new versions
|
238 |
+
of the General Public License from time to time. Such new versions will
|
239 |
+
be similar in spirit to the present version, but may differ in detail to
|
240 |
+
address new problems or concerns.
|
241 |
+
|
242 |
+
Each version is given a distinguishing version number. If the Program
|
243 |
+
specifies a version number of this License which applies to it and "any
|
244 |
+
later version", you have the option of following the terms and conditions
|
245 |
+
either of that version or of any later version published by the Free
|
246 |
+
Software Foundation. If the Program does not specify a version number of
|
247 |
+
this License, you may choose any version ever published by the Free Software
|
248 |
+
Foundation.
|
249 |
+
|
250 |
+
10. If you wish to incorporate parts of the Program into other free
|
251 |
+
programs whose distribution conditions are different, write to the author
|
252 |
+
to ask for permission. For software which is copyrighted by the Free
|
253 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
+
make exceptions for this. Our decision will be guided by the two goals
|
255 |
+
of preserving the free status of all derivatives of our free software and
|
256 |
+
of promoting the sharing and reuse of software generally.
|
257 |
+
|
258 |
+
NO WARRANTY
|
259 |
+
|
260 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
+
REPAIR OR CORRECTION.
|
269 |
+
|
270 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
+
POSSIBILITY OF SUCH DAMAGES.
|
279 |
+
|
280 |
+
END OF TERMS AND CONDITIONS
|
281 |
+
|
282 |
+
How to Apply These Terms to Your New Programs
|
283 |
+
|
284 |
+
If you develop a new program, and you want it to be of the greatest
|
285 |
+
possible use to the public, the best way to achieve this is to make it
|
286 |
+
free software which everyone can redistribute and change under these terms.
|
287 |
+
|
288 |
+
To do so, attach the following notices to the program. It is safest
|
289 |
+
to attach them to the start of each source file to most effectively
|
290 |
+
convey the exclusion of warranty; and each file should have at least
|
291 |
+
the "copyright" line and a pointer to where the full notice is found.
|
292 |
+
|
293 |
+
<one line to give the program's name and a brief idea of what it does.>
|
294 |
+
Copyright (C) <year> <name of author>
|
295 |
+
|
296 |
+
This program is free software; you can redistribute it and/or modify
|
297 |
+
it under the terms of the GNU General Public License as published by
|
298 |
+
the Free Software Foundation; either version 2 of the License, or
|
299 |
+
(at your option) any later version.
|
300 |
+
|
301 |
+
This program is distributed in the hope that it will be useful,
|
302 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
303 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
304 |
+
GNU General Public License for more details.
|
305 |
+
|
306 |
+
You should have received a copy of the GNU General Public License along
|
307 |
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
308 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
309 |
+
|
310 |
+
Also add information on how to contact you by electronic and paper mail.
|
311 |
+
|
312 |
+
If the program is interactive, make it output a short notice like this
|
313 |
+
when it starts in an interactive mode:
|
314 |
+
|
315 |
+
Gnomovision version 69, Copyright (C) year name of author
|
316 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
317 |
+
This is free software, and you are welcome to redistribute it
|
318 |
+
under certain conditions; type `show c' for details.
|
319 |
+
|
320 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
321 |
+
parts of the General Public License. Of course, the commands you use may
|
322 |
+
be called something other than `show w' and `show c'; they could even be
|
323 |
+
mouse-clicks or menu items--whatever suits your program.
|
324 |
+
|
325 |
+
You should also get your employer (if you work as a programmer) or your
|
326 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
327 |
+
necessary. Here is a sample; alter the names:
|
328 |
+
|
329 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
330 |
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
331 |
+
|
332 |
+
<signature of Ty Coon>, 1 April 1989
|
333 |
+
Ty Coon, President of Vice
|
334 |
+
|
335 |
+
This General Public License does not permit incorporating your program into
|
336 |
+
proprietary programs. If your program is a subroutine library, you may
|
337 |
+
consider it more useful to permit linking proprietary applications with the
|
338 |
+
library. If this is what you want to do, use the GNU Lesser General
|
339 |
+
Public License instead of this License.
|
340 |
+
|
css/mappress.css
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
*/
|
30 |
|
31 |
.mapp-layout {
|
|
|
32 |
margin: 5px ;
|
33 |
padding: 0px ;
|
34 |
}
|
@@ -112,18 +113,9 @@
|
|
112 |
|
113 |
/* Override common theme / user agent styles that interfere */
|
114 |
.mapp-iw * {
|
115 |
-
color: black
|
116 |
margin: 0px !important;
|
117 |
padding: 0px !important;
|
118 |
-
line-height: normal !important;
|
119 |
-
}
|
120 |
-
|
121 |
-
/* Override Google font bug (roboto webfont is loaded with a delay, making the IW size wrong on first open in Chrome) */
|
122 |
-
.mapp-iw, .mapp-iw * {
|
123 |
-
font-family: sans-serif !important; /* Needed for Chrome, override roboto font */
|
124 |
-
font-weight: normal;
|
125 |
-
font-size: 13px;
|
126 |
-
text-align: left;
|
127 |
}
|
128 |
|
129 |
.mapp-iw .mapp-title {
|
@@ -148,8 +140,9 @@
|
|
148 |
border-top: 1px solid lightgray ;
|
149 |
}
|
150 |
|
151 |
-
/*
|
152 |
-
.mapp-iw a:link, .mapp-iw a:visited{
|
|
|
153 |
color: #4272db !important;
|
154 |
text-decoration: none !important;
|
155 |
}
|
@@ -219,7 +212,7 @@
|
|
219 |
.mapp-poi-list {
|
220 |
overflow-y: auto ;
|
221 |
overflow-x: hidden ;
|
222 |
-
max-height: 300px;
|
223 |
}
|
224 |
|
225 |
.mapp-poi-list table {
|
@@ -227,6 +220,7 @@
|
|
227 |
width: 100% ;
|
228 |
line-height: normal !important; /* 2012 sets to 2 */
|
229 |
border-collapse: collapse ;
|
|
|
230 |
}
|
231 |
|
232 |
.mapp-poi-list th {
|
@@ -254,9 +248,14 @@
|
|
254 |
margin: 10px 0 0 0 ;
|
255 |
}
|
256 |
|
|
|
|
|
|
|
|
|
|
|
257 |
/* Directions travel mode buttons */
|
258 |
.mapp-travelmode {
|
259 |
-
border: 1px solid lightgray ;
|
260 |
display: inline-block ;
|
261 |
text-align: center ;
|
262 |
vertical-align: middle ;
|
@@ -274,25 +273,19 @@
|
|
274 |
|
275 |
.mapp-dir-swap {
|
276 |
display:inline-block;
|
277 |
-
border:
|
278 |
text-align: center ;
|
279 |
vertical-align: middle ;
|
280 |
width: 24px ;
|
281 |
height: 24px ;
|
282 |
line-height: 24px ;
|
283 |
-
background-color:
|
284 |
padding: 0px ;
|
285 |
margin: 0px ;
|
286 |
position: relative;
|
287 |
vertical-align: bottom;
|
288 |
}
|
289 |
|
290 |
-
/* Put a border around the route options returned from Google */
|
291 |
-
.adp-list {
|
292 |
-
border: 1px solid lightgray ;
|
293 |
-
cursor: pointer ;
|
294 |
-
}
|
295 |
-
|
296 |
.mapp-route {
|
297 |
margin: 10px 0 0px 0 ;
|
298 |
}
|
@@ -306,9 +299,35 @@
|
|
306 |
padding: 2px ;
|
307 |
}
|
308 |
|
309 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
.mapp-dir-car { width: 15px; height: 12px; background-position: 0px -96px; }
|
311 |
-
.mapp-dir-bus { width:
|
312 |
.mapp-dir-walk { width: 10px; height: 16px; background-position: 0px -489px; }
|
313 |
.mapp-dir-bike { width: 17px; height: 14px; background-position: 0px -340px; }
|
314 |
.mapp-dir-transit { width: 17px; height: 14px; background-position: 0px -425px; }
|
@@ -317,7 +336,7 @@
|
|
317 |
|
318 |
.mapp-dir-letter { cursor: move; display: inline-block; vertical-align: middle; margin: 0; padding: 0; background: transparent url('../images/directions.png') no-repeat; }
|
319 |
.mapp-dir-a { width: 24px; height: 24px; background-position: 0px -140px; }
|
320 |
-
.mapp-dir-b { width: 24px; height: 24px; background-position: 0px -
|
321 |
.mapp-dir-dot { width: 9px; height: 10px; background-position: 0px -108px; }
|
322 |
|
323 |
/*
|
@@ -354,40 +373,48 @@
|
|
354 |
vertical-align: baseline;
|
355 |
}
|
356 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
/*
|
358 |
-----------------------------------------------------------------------------------
|
359 |
Misc
|
360 |
-----------------------------------------------------------------------------------
|
361 |
*/
|
362 |
|
363 |
-
|
364 |
-
.
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
369 |
}
|
370 |
|
371 |
-
|
372 |
-
|
373 |
-
width: 24px !important;
|
374 |
-
height: 24px;
|
375 |
-
vertical-align: middle;
|
376 |
}
|
377 |
|
378 |
-
/*
|
379 |
-
.mapp-icon
|
380 |
-
width:
|
381 |
-
height:
|
382 |
vertical-align: middle;
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
/* Icons, aligned 'top' */
|
387 |
-
.mapp-icon-top {
|
388 |
-
max-width: 32px;
|
389 |
-
height: 32px;
|
390 |
-
vertical-align: top;
|
391 |
}
|
392 |
|
393 |
/* Error messages, e.g. invalid address */
|
@@ -399,36 +426,6 @@
|
|
399 |
border: 1px solid red !important;
|
400 |
}
|
401 |
|
402 |
-
/* Table for options settings */
|
403 |
-
.mapp-table {
|
404 |
-
width: auto;
|
405 |
-
height: auto;
|
406 |
-
background-color: rgb(249, 249, 249);
|
407 |
-
border: 1px solid #dfdfdf;
|
408 |
-
border-radius: 3px;
|
409 |
-
}
|
410 |
-
|
411 |
-
.mapp-table th {
|
412 |
-
font-weight: bold;
|
413 |
-
background-color: rgb(241, 241, 241);
|
414 |
-
width: auto;
|
415 |
-
height: auto;
|
416 |
-
border-bottom: 1px solid lightgray;
|
417 |
-
padding: 7px;
|
418 |
-
}
|
419 |
-
|
420 |
-
.mapp-table td {
|
421 |
-
width: auto;
|
422 |
-
height: auto;
|
423 |
-
border-bottom: 1px solid lightgray;
|
424 |
-
vertical-align: top;
|
425 |
-
padding: 5px;
|
426 |
-
}
|
427 |
-
|
428 |
-
.mapp-table tfoot {
|
429 |
-
background-color: rgb(241, 241, 241);
|
430 |
-
}
|
431 |
-
|
432 |
.mapp-spinner {
|
433 |
display: inline-block;
|
434 |
height:16px;
|
@@ -438,29 +435,12 @@
|
|
438 |
background: transparent url(../images/loading.gif) no-repeat center center;
|
439 |
}
|
440 |
|
441 |
-
|
442 |
-
|
443 |
-
height:16px;
|
444 |
-
width: 16px;
|
445 |
-
position: relative;
|
446 |
-
left: 50%;
|
447 |
-
top: 50%;
|
448 |
-
margin-left: -8px;
|
449 |
-
margin-top: -8px;
|
450 |
-
background: transparent url(../images/loading.gif) no-repeat center center;
|
451 |
}
|
452 |
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
border-bottom: 1px solid lightgray;
|
457 |
-
padding-left: 5px;
|
458 |
-
text-align: center;
|
459 |
-
color: #777;
|
460 |
}
|
461 |
|
462 |
-
.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; }
|
463 |
-
.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; }
|
464 |
-
.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; }
|
465 |
-
.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; }
|
466 |
-
.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; }
|
29 |
*/
|
30 |
|
31 |
.mapp-layout {
|
32 |
+
border: 1px solid black;
|
33 |
margin: 5px ;
|
34 |
padding: 0px ;
|
35 |
}
|
113 |
|
114 |
/* Override common theme / user agent styles that interfere */
|
115 |
.mapp-iw * {
|
116 |
+
color: black;
|
117 |
margin: 0px !important;
|
118 |
padding: 0px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
}
|
120 |
|
121 |
.mapp-iw .mapp-title {
|
140 |
border-top: 1px solid lightgray ;
|
141 |
}
|
142 |
|
143 |
+
/* Override theme link styles */
|
144 |
+
.mapp-iw a, .mapp-iw a:link, .mapp-iw a:active, .mapp-iw a:visited{
|
145 |
+
border: none !important;
|
146 |
color: #4272db !important;
|
147 |
text-decoration: none !important;
|
148 |
}
|
212 |
.mapp-poi-list {
|
213 |
overflow-y: auto ;
|
214 |
overflow-x: hidden ;
|
215 |
+
max-height: 300px; /* To show all entries put this in your styles.css: max-height: auto; */
|
216 |
}
|
217 |
|
218 |
.mapp-poi-list table {
|
220 |
width: 100% ;
|
221 |
line-height: normal !important; /* 2012 sets to 2 */
|
222 |
border-collapse: collapse ;
|
223 |
+
table-layout: auto; /* 2015 */
|
224 |
}
|
225 |
|
226 |
.mapp-poi-list th {
|
248 |
margin: 10px 0 0 0 ;
|
249 |
}
|
250 |
|
251 |
+
/* Hide print button in mobile - new Google URL parameters don't allow print mode */
|
252 |
+
.mobile .mapp-directions .mapp-dir-print {
|
253 |
+
display: none;
|
254 |
+
}
|
255 |
+
|
256 |
/* Directions travel mode buttons */
|
257 |
.mapp-travelmode {
|
258 |
+
border: 1px solid lightgray !important; /* 2015 */
|
259 |
display: inline-block ;
|
260 |
text-align: center ;
|
261 |
vertical-align: middle ;
|
273 |
|
274 |
.mapp-dir-swap {
|
275 |
display:inline-block;
|
276 |
+
border: none !important; /* 2015 */
|
277 |
text-align: center ;
|
278 |
vertical-align: middle ;
|
279 |
width: 24px ;
|
280 |
height: 24px ;
|
281 |
line-height: 24px ;
|
282 |
+
background-color: transparent;
|
283 |
padding: 0px ;
|
284 |
margin: 0px ;
|
285 |
position: relative;
|
286 |
vertical-align: bottom;
|
287 |
}
|
288 |
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
.mapp-route {
|
290 |
margin: 10px 0 0px 0 ;
|
291 |
}
|
299 |
padding: 2px ;
|
300 |
}
|
301 |
|
302 |
+
/* Put a border around route options */
|
303 |
+
.adp-list {
|
304 |
+
border: 1px solid lightgray ;
|
305 |
+
cursor: pointer ;
|
306 |
+
}
|
307 |
+
|
308 |
+
/* Override theme styles that interfere with rendered directions table */
|
309 |
+
.mapp-dir-renderer table {
|
310 |
+
table-layout: auto; /* 2015 */
|
311 |
+
}
|
312 |
+
|
313 |
+
.mapp-dir-renderer td {
|
314 |
+
border: none;
|
315 |
+
border-top: 1px solid #cdcdcd;
|
316 |
+
margin: 0;
|
317 |
+
padding: 0;
|
318 |
+
}
|
319 |
+
|
320 |
+
.mapp-dir-renderer img {
|
321 |
+
max-width: none;
|
322 |
+
}
|
323 |
+
|
324 |
+
.mapp-dir-renderer .adp-marker {
|
325 |
+
margin: 5px;
|
326 |
+
}
|
327 |
+
|
328 |
+
.mapp-dir-icon { cursor: pointer; display: inline-block; vertical-align: middle; margin: 0; padding: 0; background: transparent url('../images/directions.png') no-repeat center center; }
|
329 |
.mapp-dir-car { width: 15px; height: 12px; background-position: 0px -96px; }
|
330 |
+
.mapp-dir-bus { width: 10px; height: 15px; background-position: 0px -426px; }
|
331 |
.mapp-dir-walk { width: 10px; height: 16px; background-position: 0px -489px; }
|
332 |
.mapp-dir-bike { width: 17px; height: 14px; background-position: 0px -340px; }
|
333 |
.mapp-dir-transit { width: 17px; height: 14px; background-position: 0px -425px; }
|
336 |
|
337 |
.mapp-dir-letter { cursor: move; display: inline-block; vertical-align: middle; margin: 0; padding: 0; background: transparent url('../images/directions.png') no-repeat; }
|
338 |
.mapp-dir-a { width: 24px; height: 24px; background-position: 0px -140px; }
|
339 |
+
.mapp-dir-b { width: 24px; height: 24px; background-position: 0px -71px; }
|
340 |
.mapp-dir-dot { width: 9px; height: 10px; background-position: 0px -108px; }
|
341 |
|
342 |
/*
|
373 |
vertical-align: baseline;
|
374 |
}
|
375 |
|
376 |
+
/*
|
377 |
+
-----------------------------------------------------------------------------------
|
378 |
+
CSS tables
|
379 |
+
-----------------------------------------------------------------------------------
|
380 |
+
*/
|
381 |
+
.mapp-table {
|
382 |
+
display: table;
|
383 |
+
}
|
384 |
+
|
385 |
+
.mapp-table > div { display: table-row; }
|
386 |
+
.mapp-table > div > div, .mapp-table > div > label { display: table-cell; }
|
387 |
+
|
388 |
/*
|
389 |
-----------------------------------------------------------------------------------
|
390 |
Misc
|
391 |
-----------------------------------------------------------------------------------
|
392 |
*/
|
393 |
|
394 |
+
.mapp-close {
|
395 |
+
background: transparent url("../images/close.png") no-repeat;
|
396 |
+
cursor: pointer;
|
397 |
+
display: inline-block;
|
398 |
+
height: 15px;
|
399 |
+
margin: 0;
|
400 |
+
opacity: 0.6;
|
401 |
+
padding: 0;
|
402 |
+
position: absolute;
|
403 |
+
right: 5px;
|
404 |
+
top: 5px;
|
405 |
+
width: 15px;
|
406 |
}
|
407 |
|
408 |
+
.mapp-close:hover {
|
409 |
+
opacity: 1;
|
|
|
|
|
|
|
410 |
}
|
411 |
|
412 |
+
/* Icons */
|
413 |
+
.mapp-icon {
|
414 |
+
max-width: 32px !important; /* 2012 tries to override */
|
415 |
+
max-height: 32px;
|
416 |
vertical-align: middle;
|
417 |
+
box-shadow: none !important; /* 2012 applies box shadow to all images */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
}
|
419 |
|
420 |
/* Error messages, e.g. invalid address */
|
426 |
border: 1px solid red !important;
|
427 |
}
|
428 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
.mapp-spinner {
|
430 |
display: inline-block;
|
431 |
height:16px;
|
435 |
background: transparent url(../images/loading.gif) no-repeat center center;
|
436 |
}
|
437 |
|
438 |
+
*[data-mapp-action] {
|
439 |
+
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
}
|
441 |
|
442 |
+
/* Max-size element */
|
443 |
+
.mapp-max {
|
444 |
+
width: 100%;
|
|
|
|
|
|
|
|
|
445 |
}
|
446 |
|
|
|
|
|
|
|
|
|
|
css/mappress_admin.css
CHANGED
@@ -24,6 +24,10 @@
|
|
24 |
visibility: hidden;
|
25 |
}
|
26 |
|
|
|
|
|
|
|
|
|
27 |
tr:hover > td > .mapp-m-actions {
|
28 |
visibility: visible;
|
29 |
}
|
@@ -46,6 +50,38 @@ table.mapp-e-editor {
|
|
46 |
width: 100%;
|
47 |
}
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
.mapp-e-editor td {
|
50 |
vertical-align: top;
|
51 |
}
|
@@ -83,6 +119,10 @@ table.mapp-e-editor {
|
|
83 |
visibility: hidden;
|
84 |
}
|
85 |
|
|
|
|
|
|
|
|
|
86 |
tr:hover > td > .mapp-e-actions {
|
87 |
visibility: visible;
|
88 |
}
|
@@ -90,8 +130,8 @@ tr:hover > td > .mapp-e-actions {
|
|
90 |
.mapp-e-icon {
|
91 |
vertical-align: top;
|
92 |
padding-right: 5px;
|
93 |
-
max-height:
|
94 |
-
max-width:
|
95 |
}
|
96 |
|
97 |
.mapp-e-infobox {
|
@@ -124,13 +164,35 @@ tr:hover > td > .mapp-e-actions {
|
|
124 |
width: 350px;
|
125 |
}
|
126 |
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
}
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
|
135 |
/*
|
136 |
-----------------------------------------------------------------------------------
|
@@ -138,134 +200,121 @@ tr:hover > td > .mapp-e-actions {
|
|
138 |
-----------------------------------------------------------------------------------
|
139 |
*/
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
}
|
146 |
|
147 |
-
|
|
|
148 |
background-color: white;
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
|
|
154 |
}
|
155 |
|
156 |
-
.mapp-
|
157 |
-
|
|
|
158 |
overflow: auto;
|
|
|
|
|
159 |
}
|
160 |
|
161 |
-
.mapp-
|
162 |
-
|
163 |
-
|
164 |
-
line-height: normal;
|
165 |
-
user-select: none;
|
166 |
}
|
167 |
|
168 |
-
.mapp-icon-
|
169 |
border: 2px solid white;
|
170 |
-
display: inline-block;
|
171 |
user-select: none;
|
172 |
-
margin:
|
173 |
}
|
174 |
|
175 |
-
.mapp-icon-
|
176 |
border: 2px solid blue;
|
177 |
}
|
178 |
|
179 |
-
|
180 |
-
|
181 |
-
width: 32px;
|
182 |
-
height: 32px;
|
183 |
-
border: 1px dotted black;
|
184 |
-
}
|
185 |
|
186 |
-
.mapp-icon-sprite { background: transparent url('../images/icons.png') no-repeat; width: 32px; height: 32px }
|
187 |
|
188 |
/*
|
189 |
-----------------------------------------------------------------------------------
|
190 |
Color picker
|
191 |
-----------------------------------------------------------------------------------
|
192 |
*/
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
display: inline-block;
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
content: '';
|
203 |
}
|
204 |
|
205 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
position: absolute;
|
207 |
-
|
208 |
-
|
|
|
|
|
|
|
|
|
209 |
display: inline-block;
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
content: '';
|
214 |
}
|
215 |
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
*border-right-width: 2px;
|
232 |
-
*border-bottom-width: 2px;
|
233 |
-
|
234 |
-
-webkit-border-radius: 5px;
|
235 |
-
-moz-border-radius: 5px;
|
236 |
-
border-radius: 5px;
|
237 |
-
|
238 |
-
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
239 |
-
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
240 |
-
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
241 |
-
|
242 |
-
-webkit-background-clip: padding-box;
|
243 |
-
-moz-background-clip: padding;
|
244 |
-
background-clip: padding-box;
|
245 |
-
}
|
246 |
-
|
247 |
-
#mapp_colorpicker ul {
|
248 |
-
margin: 0;
|
249 |
-
padding: 0;
|
250 |
-
list-style-type: none;
|
251 |
}
|
252 |
|
253 |
-
|
254 |
-
|
255 |
-
|
|
|
256 |
}
|
257 |
|
258 |
-
#mapp_colorpicker ul li a {
|
259 |
-
display: block;
|
260 |
-
width: 15px;
|
261 |
-
height: 15px;
|
262 |
|
263 |
-
|
|
|
264 |
}
|
265 |
|
266 |
-
|
267 |
-
|
268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
-
border: 1px solid black;
|
271 |
-
}
|
24 |
visibility: hidden;
|
25 |
}
|
26 |
|
27 |
+
.mobile .mapp-m-actions {
|
28 |
+
visibility: visible;
|
29 |
+
}
|
30 |
+
|
31 |
tr:hover > td > .mapp-m-actions {
|
32 |
visibility: visible;
|
33 |
}
|
50 |
width: 100%;
|
51 |
}
|
52 |
|
53 |
+
.mapp-searchbox {
|
54 |
+
display: block;
|
55 |
+
width: 100%;
|
56 |
+
max-width: 500px;
|
57 |
+
}
|
58 |
+
|
59 |
+
.mapp-searchbox input {
|
60 |
+
vertical-align: middle;
|
61 |
+
width: 100%;
|
62 |
+
}
|
63 |
+
|
64 |
+
.mapp-search-button, .mapp-geolocate-button {
|
65 |
+
background-repeat: no-repeat !important;
|
66 |
+
background-position: center center !important;
|
67 |
+
margin: 0 !important;
|
68 |
+
vertical-align: middle !important;
|
69 |
+
}
|
70 |
+
|
71 |
+
.mapp-search-button:before, #mappress .mapp-geolocate-button:before {
|
72 |
+
content: "XX";
|
73 |
+
visibility: hidden;
|
74 |
+
}
|
75 |
+
|
76 |
+
.mapp-search-button, .mapp-search-button:hover, .mapp-search-button:focus {
|
77 |
+
background-image: url('../images/search.png') !important;
|
78 |
+
}
|
79 |
+
|
80 |
+
.mapp-geolocate-button, .mapp-geolocate-button:hover, .mapp-geolocate-button:focus {
|
81 |
+
background-image: url('../images/geolocate-2x.png') !important;
|
82 |
+
background-size: 18px 18px !important;
|
83 |
+
}
|
84 |
+
|
85 |
.mapp-e-editor td {
|
86 |
vertical-align: top;
|
87 |
}
|
119 |
visibility: hidden;
|
120 |
}
|
121 |
|
122 |
+
.mobile .mapp-e-actions {
|
123 |
+
visibility: visible;
|
124 |
+
}
|
125 |
+
|
126 |
tr:hover > td > .mapp-e-actions {
|
127 |
visibility: visible;
|
128 |
}
|
130 |
.mapp-e-icon {
|
131 |
vertical-align: top;
|
132 |
padding-right: 5px;
|
133 |
+
max-height: 24px;
|
134 |
+
max-width: 24px;
|
135 |
}
|
136 |
|
137 |
.mapp-e-infobox {
|
164 |
width: 350px;
|
165 |
}
|
166 |
|
167 |
+
|
168 |
+
/*
|
169 |
+
-----------------------------------------------------------------------------------
|
170 |
+
Settings
|
171 |
+
-----------------------------------------------------------------------------------
|
172 |
+
*/
|
173 |
+
.form-table table {
|
174 |
+
border-collapse: collapse;
|
175 |
+
width: auto;
|
176 |
+
height: auto;
|
177 |
+
border: 1px solid #dfdfdf;
|
178 |
}
|
179 |
|
180 |
+
.form-table table th {
|
181 |
+
font-weight: bold;
|
182 |
+
background-color: rgb(241, 241, 241);
|
183 |
+
width: auto;
|
184 |
+
height: auto;
|
185 |
+
border-bottom: 1px solid lightgray;
|
186 |
+
padding: 7px;
|
187 |
+
}
|
188 |
|
189 |
+
.form-table table td {
|
190 |
+
width: auto;
|
191 |
+
height: auto;
|
192 |
+
border-bottom: 1px solid lightgray;
|
193 |
+
vertical-align: top;
|
194 |
+
padding: 5px;
|
195 |
+
}
|
196 |
|
197 |
/*
|
198 |
-----------------------------------------------------------------------------------
|
200 |
-----------------------------------------------------------------------------------
|
201 |
*/
|
202 |
|
203 |
+
.mapp-iconpicker-toggle {
|
204 |
+
max-width: 24px;
|
205 |
+
max-height: 24px;
|
206 |
+
vertical-align: middle;
|
207 |
}
|
208 |
|
209 |
+
/* Panel */
|
210 |
+
.mapp-iconpicker {
|
211 |
background-color: white;
|
212 |
+
border: 1px solid gray;
|
213 |
+
display: none;
|
214 |
+
height: 330px;
|
215 |
+
position: absolute;
|
216 |
+
width: 350px;
|
217 |
+
z-index: 100300;
|
218 |
}
|
219 |
|
220 |
+
.mapp-iconpicker-wrapper {
|
221 |
+
height: 275px;
|
222 |
+
margin: 5px 20px 0 0;
|
223 |
overflow: auto;
|
224 |
+
padding: 5px;
|
225 |
+
user-select: none;
|
226 |
}
|
227 |
|
228 |
+
.mapp-iconpicker-toolbar {
|
229 |
+
padding: 5px;
|
230 |
+
border-top: 1px solid lightgray;
|
|
|
|
|
231 |
}
|
232 |
|
233 |
+
.mapp-iconpicker .mapp-icon, .mapp-iconpicker .mapp-icon-sprite {
|
234 |
border: 2px solid white;
|
|
|
235 |
user-select: none;
|
236 |
+
margin: 0;
|
237 |
}
|
238 |
|
239 |
+
.mapp-iconpicker img.mapp-icon:hover, .mapp-iconpicker span.mapp-icon-sprite:hover {
|
240 |
border: 2px solid blue;
|
241 |
}
|
242 |
|
243 |
+
.mapp-iconpicker .mapp-icon { max-width: 32px; }
|
244 |
+
.mapp-iconpicker .mapp-icon-sprite { display: inline-block; background: transparent url('../images/icons.png') no-repeat; width: 32px; height: 32px }
|
|
|
|
|
|
|
|
|
245 |
|
|
|
246 |
|
247 |
/*
|
248 |
-----------------------------------------------------------------------------------
|
249 |
Color picker
|
250 |
-----------------------------------------------------------------------------------
|
251 |
*/
|
252 |
+
|
253 |
+
.mapp-colorpicker-toggle {
|
254 |
+
border: 1px solid lightgray;
|
255 |
+
cursor: pointer;
|
256 |
display: inline-block;
|
257 |
+
height: 20px;
|
258 |
+
margin: 1px;
|
259 |
+
vertical-align: middle;
|
260 |
+
width: 20px;
|
|
|
261 |
}
|
262 |
|
263 |
+
.mapp-colorpicker {
|
264 |
+
background-color: white;
|
265 |
+
border: 1px solid gray;
|
266 |
+
box-shadow: 5px 5px 10px #888;
|
267 |
+
display: none;
|
268 |
+
line-height: 1;
|
269 |
+
padding: 5px;
|
270 |
position: absolute;
|
271 |
+
width: 265px;
|
272 |
+
z-index: 100200;
|
273 |
+
}
|
274 |
+
|
275 |
+
.mapp-colorpicker span {
|
276 |
+
border: 2px solid lightgray;
|
277 |
display: inline-block;
|
278 |
+
height: 15px;
|
279 |
+
margin: 1px;
|
280 |
+
width: 15px;
|
|
|
281 |
}
|
282 |
|
283 |
+
.mapp-colorpicker span:hover {
|
284 |
+
border: 2px solid black;
|
285 |
+
height: 15px;
|
286 |
+
width: 15px;
|
287 |
+
}
|
288 |
+
|
289 |
+
/*
|
290 |
+
-----------------------------------------------------------------------------------
|
291 |
+
Dropdown
|
292 |
+
-----------------------------------------------------------------------------------
|
293 |
+
*/
|
294 |
+
|
295 |
+
.mapp-dropdown {
|
296 |
+
display: inline-block;
|
297 |
+
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
}
|
299 |
|
300 |
+
.mapp-dropdown .mapp-dropdown-panel {
|
301 |
+
display: none;
|
302 |
+
position: absolute;
|
303 |
+
z-index: 160000;
|
304 |
}
|
305 |
|
|
|
|
|
|
|
|
|
306 |
|
307 |
+
.mapp-dropdown.mapp-open .mapp-dropdown-panel {
|
308 |
+
display: block;
|
309 |
}
|
310 |
|
311 |
+
.mapp-dropdown-backdrop {
|
312 |
+
display: none;
|
313 |
+
position: fixed;
|
314 |
+
left: 0;
|
315 |
+
right: 0;
|
316 |
+
top: 0;
|
317 |
+
bottom: 0;
|
318 |
+
z-index: 159900;
|
319 |
+
}
|
320 |
|
|
|
|
forms/map_editor.php
CHANGED
@@ -1,11 +1,19 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
<
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
</div>
|
8 |
-
|
|
|
9 |
<div class='mapp-e-edit-panel'>
|
10 |
<table class='mapp-e-editor'>
|
11 |
<tr>
|
@@ -21,6 +29,6 @@
|
|
21 |
</td>
|
22 |
</tr>
|
23 |
</table>
|
24 |
-
</div>
|
25 |
-
|
26 |
<?php require Mappress::$basedir . "/forms/map_editor_infobox.php"; ?>
|
1 |
+
|
2 |
+
<div class='mapp-table mapp-searchbox'>
|
3 |
+
<div>
|
4 |
+
<div class='mapp-max'>
|
5 |
+
<input style='width:100%' type='text' id='mapp_e_saddr' placeholder='<?php _e('Add POI', 'mappress'); ?>'/>
|
6 |
+
</div>
|
7 |
+
<div>
|
8 |
+
<button id='mapp_e_search' class='button button-primary mapp-search-button'></button>
|
9 |
+
</div>
|
10 |
+
<div>
|
11 |
+
<button id='mapp_e_myloc' class='button mapp-geolocate-button' title='<?php _e('My location', 'mappress');?>'></button>
|
12 |
+
</div>
|
13 |
+
</div>
|
14 |
</div>
|
15 |
+
<div id='mapp_e_saddr_err' style='display:none'></div>
|
16 |
+
|
17 |
<div class='mapp-e-edit-panel'>
|
18 |
<table class='mapp-e-editor'>
|
19 |
<tr>
|
29 |
</td>
|
30 |
</tr>
|
31 |
</table>
|
32 |
+
</div>
|
33 |
+
|
34 |
<?php require Mappress::$basedir . "/forms/map_editor_infobox.php"; ?>
|
forms/map_editor_infobox.php
CHANGED
@@ -14,22 +14,15 @@
|
|
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 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
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'>
|
@@ -42,12 +35,8 @@
|
|
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; ?>
|
14 |
<div>
|
15 |
<input id='mapp_e_poi_title' type='text' />
|
16 |
<input id='mapp_e_poi_iconid' type='hidden' />
|
|
|
17 |
</div>
|
18 |
|
19 |
+
<div id='mapp_e_poi_poly_fields' style='display: none;'>
|
20 |
+
<?php _e('Color', 'mappress'); ?>:
|
21 |
+
<span id='mapp_e_poi_color' class='mapp-colorpicker-toggle' tabindex="0"></span>
|
22 |
+
<?php _e('Opacity', 'mappress'); ?>:
|
23 |
+
<?php echo Mappress_Settings::dropdown($opacities, '', '', array('id' => 'mapp_e_poi_opacity', 'title' => __('Opacity', 'mappress')) ); ?>
|
24 |
+
<?php _e('Line', 'mappress'); ?>:
|
25 |
+
<?php echo Mappress_Settings::dropdown($weights, '', '', array('id' => 'mapp_e_poi_weight', 'title' => __('Weight', 'mappress')) ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</div>
|
27 |
|
28 |
<div id='mapp_e_poi_kml_fields' style='display: none'>
|
35 |
</div>
|
36 |
|
37 |
<div>
|
38 |
+
<input id='mapp_e_save_poi' class='button button-primary' type='button' value='<?php esc_attr_e('Save', 'mappress'); ?>' />
|
39 |
<input id='mapp_e_cancel_poi' class='button' type='button' value='<?php esc_attr_e('Cancel', 'mappress'); ?>' />
|
40 |
</div>
|
41 |
</div>
|
42 |
+
</div>
|
|
|
|
|
|
|
|
forms/map_media.php
CHANGED
@@ -22,18 +22,18 @@
|
|
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', 'mappress');?>:</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->sizes as $i => $size)
|
37 |
$sizes[] = "<a href='#' class='mapp-m-size' data-width='{$size['width']}' data-height='{$size['height']}'>" . $size['width'] . 'x' . $size['height'] . "</a>";
|
38 |
echo implode(' | ', $sizes);
|
39 |
?>
|
@@ -43,8 +43,8 @@
|
|
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/>
|
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', 'mappress');?>:</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->sizes as $i => $size)
|
37 |
$sizes[] = "<a href='#' class='mapp-m-size' data-width='{$size['width']}' data-height='{$size['height']}'>" . $size['width'] . 'x' . $size['height'] . "</a>";
|
38 |
echo implode(' | ', $sizes);
|
39 |
?>
|
43 |
</table>
|
44 |
</div>
|
45 |
<div>
|
46 |
+
<input class='button 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/>
|
images/close-2x.png
ADDED
Binary file
|
images/close.png
ADDED
Binary file
|
images/delete.png
DELETED
Binary file
|
images/geolocate-2x.png
ADDED
Binary file
|
images/icons.png
CHANGED
Binary file
|
images/news.png
DELETED
Binary file
|
images/next-off.png
DELETED
Binary file
|
images/next.png
DELETED
Binary file
|
images/prev-off.png
DELETED
Binary file
|
images/prev.png
DELETED
Binary file
|
images/remove.png
DELETED
Binary file
|
images/rss.png
DELETED
Binary file
|
images/swap.png
DELETED
Binary file
|
js/mappress.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var mapp=window.mapp||{};mapp.Poi=function(){this.address=null;this.body=null;this.html=null;this.iconid=null;this.map=null;this.overlay=null;this.postid=null;this.title="";this.url=null;this.type=null;this.viewport=null;for(var n in arguments[0])typeof arguments[0][n]!="undefined"&&(this[n]=arguments[0][n])};mapp.Poi.prototype={fromJSON:function(n){var u,f,i,o,t,r,s,e;this.address=n.correctedAddress;this.body=n.body;this.correctedAddress=n.correctedAddress;this.html=n.html;this.iconid=n.iconid;this.postid=n.postid;this.title=n.title;this.type=n.type;this.url=n.url;n.viewport&&(u=new google.maps.LatLng(n.viewport.sw.lat,n.viewport.sw.lng),f=new google.maps.LatLng(n.viewport.ne.lat,n.viewport.ne.lng),this.viewport=u.lat()==0&&u.lng()==0&&f.lat()==0&&f.lng()==0?null:new google.maps.LatLngBounds(u,f));i=[];o=[];switch(this.type){case"polygon":if(n.poly&&n.poly.paths)for(t=0;t<n.poly.paths.length;t++){for(i=[],r=0;r<n.poly.paths[t].length;r++)i.push(new google.maps.LatLng(n.poly.paths[t][r].lat,n.poly.paths[t][r].lng));o.push(new google.maps.MVCArray(i))}this.overlay=new google.maps.Polygon({paths:new google.maps.MVCArray(o)});this.setColors(n.poly);break;case"polyline":if(n.poly&&n.poly.path)for(t=0;t<n.poly.path.length;t++)i.push(new google.maps.LatLng(n.poly.path[t].lat,n.poly.path[t].lng));this.overlay=new google.maps.Polyline({path:new google.maps.MVCArray(i)});this.setColors(n.poly);break;case"circle":e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Circle({center:e,radius:parseFloat(n.poly.radius)});this.setColors(n.poly);break;case"rectangle":this.overlay=new google.maps.Rectangle({bounds:this.viewport});this.setColors(n.poly);break;case"kml":s=n.kml&&n.kml.url?n.kml.url:"";this.overlay=new google.maps.KmlLayer(s,{preserveViewport:!0,suppressInfoWindows:!0});break;case"":default:e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Marker({position:e})}},toJSON:function(){var n={address:this.address,body:this.body,correctedAddress:this.address,iconid:this.iconid,point:null,poly:null,title:this.title,type:this.type,viewport:null},r=this.getPosition(),t,i;if(n.point={lat:r.lat(),lng:r.lng()},t=this.viewport?this.viewport:this.getBounds(),t&&(n.viewport={sw:{lat:t.getSouthWest().lat(),lng:t.getSouthWest().lng()},ne:{lat:t.getNorthEast().lat(),lng:t.getNorthEast().lng()}}),this.type=="kml"&&(n.kml={url:this.overlay.getUrl()},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)}),(this.type=="polyline"||this.type=="polygon")&&google.maps.event.addListener(this.overlay,"rightclick",function(n){n.vertex!=null&&t.overlay.getPath().getLength()>2&&t.overlay.getPath().removeAt(n.vertex)}));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.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 i={};for(var t in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})n&&typeof n[t]!="undefined"&&(i[t]=n[t]);this.overlay.setOptions(i)},getColors:function(){var t={};for(var n in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})typeof this.overlay[n]!="undefined"&&(t[n]=this.overlay[n]);return t},center:function(n){var t=this.map.getMap(),i;if(!n){t.setCenter(this.getPosition());return}if(typeof n=="number"){t.setCenter(this.getPosition());t.setZoom(n);return}i=this.getBounds();i?(t.fitBounds(i),t.setCenter(this.getPosition())):(t.setCenter(this.getPosition()),t.setZoom(this.map.getPoiZoom()))},open:function(n){this.map.openPoi(this,n)},zoomIn:function(){var n=this.map.getMap(),r=n.getZoom(),t=this.getBounds(),i=Math.min(r+2,21);t&&n.fitBounds(t);i>n.getZoom()&&n.setZoom(i);n.setCenter(this.getPosition())},isPoly:function(){return jQuery.inArray(this.type,["polyline","polygon","circle","rectangle"])!=-1},getBounds:function(){var n;if(!this.map.getEditable()&&this.viewport)return this.viewport;switch(this.type){case"polyline":n=new google.maps.LatLngBounds;this.overlay.getPath().forEach(function(t){n.extend(t)});break;case"polygon":n=new google.maps.LatLngBounds;this.overlay.getPaths().forEach(function(t){t.forEach(function(t){n.extend(t)})});break;case"rectangle":case"circle":n=this.overlay.getBounds();break;case"kml":n=this.overlay.getDefaultViewport();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")}};mapp=window.mapp||{};mapp.Map=function(n){function pt(){var h,v,f;if(!c&&(c=["roadmap","satellite","terrain","hybrid"],mapp.Styles))for(h in mapp.Styles)c.push(h);for(o=o?new google.maps.LatLng(n.center.lat,n.center.lng):new google.maps.LatLng(0,0),v={backgroundColor:"transparent",center:o,draggable:fi,keyboardShortcuts:at,mapTypeControl:vi,mapTypeControlOptions:{style:yi,mapTypeIds:c},maxZoom:wi,minZoom:bi,overviewMapControl:ki,overviewMapControlOptions:{opened:di},panControl:gi,rotateControl:tr,scaleControl:ir,scrollwheel:rr,streetViewControl:er,tilt:sr,zoom:a?a:0,zoomControl:ar,zoomControlOptions:{style:vr}},i=new google.maps.Map(l,v),f=0;f<t.length;f++)t[f].setMap(r);yr();r.setMapTypeId(bt);pr();s=="ib"?(mapp.InfoBox.prototype=new google.maps.OverlayView,u=new mapp.InfoBox):u=new google.maps.InfoWindow;s=="ib"&&(at=!1);ot=new mapp.Geocoder(r,ai,ii);ct!="none"&&(e=new mapp.Directions(r,ct,ot,ri,ui));r.initCenter();dt&&jQuery(window).resize(function(){r.resize()})}function yr(){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),or==n&&i.setOptions({styles:t})}function pr(){cr&&st("traffic",mappl10n.traffic,hi);gt&&st("bicycling",mappl10n.bike,oi);lr&&st("transit",mappl10n.transit,ci)}function st(n,t,r){var e=f+"_"+n,o=r?"checked='checked'":"",s="<div class='gmnoprint mapp-control'><input type='checkbox' id='"+e+"' "+o+" /> "+t+"<\/div>",u=jQuery(s).get(0);i.controls[google.maps.ControlPosition.TOP_RIGHT].push(u);r&&wt(n);google.maps.event.clearListeners(u,"click");google.maps.event.addDomListener(u,"click",function(){wt(n)})}function wt(n){var r=f+"_"+n,t;switch(n){case"transit":d=d?d:new google.maps.TransitLayer;t=d;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 o=n.center,y=n.height,h=n.mapid,bt=n.mapTypeId?n.mapTypeId:"roadmap",kt=n.metaKey,f=n.name,ht=n.options,p=n.query,it=n.title,w=n.width,a=parseInt(n.zoom,10),dt=n.options.adaptive,gt=n.options.bicycling,ni=n.options.bigHeight,ti=n.options.bigWidth,ii=n.options.country,rt=n.options.dataTables,ct=n.options.directions,ri=n.options.directionsServer,ui=n.options.directionsUnits,fi=n.options.draggable,ei=n.options.editable,ut=n.options.from,oi=n.options.initialBicycling,si=n.options.initialOpenDirections,ft=n.options.initialOpenInfo,hi=n.options.initialTraffic,ci=n.options.initialTransit,li=n.options.iwFix,s=n.options.iwType,lt=n.options.iwDisableAutoPan,at=n.options.keyboardShortcuts,ai=n.options.language,vi=n.options.mapTypeControl,yi=parseInt(n.options.mapTypeControlStyle,10),c=n.options.mapTypeIds,pi=n.options.mashupClick,wi=parseInt(n.options.maxZoom),bi=parseInt(n.options.minZoom),ki=n.options.overviewMapControl,di=n.options.overviewMapControlOpened,gi=n.options.panControl,nr=n.options.poiZoom,tr=n.options.rotateControl,ir=n.options.scaleControl,rr=n.options.scrollwheel,ur=n.height,fr=n.width,er=n.options.streetViewControl,or=n.options.style,sr=parseInt(n.options.tilt),et=n.options.to,hr=n.options.tooltips,cr=n.options.traffic,lr=n.options.transit,ar=n.options.zoomControl,vr=parseInt(n.options.zoomControlStyle,10),r=this,b,k,d,e=null,g,vt,nt,l,v,ot=null,i=null,u=null,t=[],yt=!1,tt=0;this.display=function(){if(g=jQuery("#"+f+"_dialog"),vt=jQuery("#"+f+"_directions"),nt=jQuery("#"+f+"_layout"),l=document.getElementById(f),v=jQuery("#"+f+"_poi_list"),!l){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(vt.append(jQuery("#"+f+"_directions_").contents()),v.append(jQuery("#"+f+"_poi_list_").contents()),this.setDataTables(),p){this.ajaxQuery(function(){pt()});return}r.setPois(n.pois,!1);pt()};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:p,options:ht};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.getQuery=function(){return p};this.setQuery=function(n){p=n};this.setDialog=function(n){n=n?n:'<span class="mapp-spinner"><\/span>'+mappl10n.loading;n='<div class="mapp-dialog-inner">'+n+"<\/div>";jQuery(g).html(n);jQuery(g).show()};this.hideDialog=function(){jQuery(g).hide()};this.setPoiList=function(n){typeof n=="string"?v.html(n):v.append(n);this.setDataTables()};this.setDataTables=function(){if(rt&&typeof jQuery.fn.dataTable!="undefined"){var n=rt==!0?{bFilter:!1,bPaginate:!1}:rt;jQuery("table",v).dataTable(n)}};this.getOptions=function(){return ht};this.getResized=function(){return yt};this.show=function(){nt.show();this.display()};this.closeInfoWindow=function(){u.close()};this.openDirections=function(n,t,i){var r,u;typeof n=="object"?(r=n.address?n.address:n.getPosition().toUrlValue(),n.open()):r=n;typeof t=="object"?(u=t.address?t.address:t.getPosition().toUrlValue(),t.open()):u=t;e.open(r,u,i)};this.setMapTypeId=function(n){n=n&&jQuery.inArray(n,c)!=-1?n:c[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(nr)};this.poiToFront=function(n){if(tt++,tt>google.maps.Marker.MAX_ZINDEX){tt=1;for(var i=0;i<t.length;i++)t[i].setZIndex(0)}n.setZIndex(tt)};this.getMap=function(){return i};this.getGeocoder=function(){return ot};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 w};this.setWidth=function(n){w=n};this.getHeight=function(){return y};this.setHeight=function(n){y=n};this.getInfoWindow=function(){return u};this.getEditable=function(){return ei};this.getTooltips=function(){return hr};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,i=Array(),r=0;r<n.length;r++){if(u=parseInt(n[r]),isNaN(u))return!1;i.push(t[u])}return i.length!=t.length?!1:(t=i,!0)};this.openPoi=function(n,t){var u,i;if(s&&s!="none"){if(pi=="post"&&n.postid){window.location.assign(mappl10n.sitreUrl+"?p="+n.postid);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),s!="ib"&&li&&this.fixInfoWindow(),google.maps.event.addListenerOnce(u,"domready",function(){google.maps.event.trigger(r,"poidomready",n)}),lt){u.setOptions({disableAutoPan:lt});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.fixInfoWindow=function(){google.maps.event.addListenerOnce(u,"domready",function(){setTimeout(function(){var n=jQuery(".gm-style-iw",l);n.width(n.width()+1+"px");n.height(n.height()+1+"px");n.css("overflow")=="auto"&&(n.css("overflow","hidden"),setTimeout(function(){n.css("overflow","auto")},100))},0)})};this.resize=function(n,t){var r=i.getCenter();n&&t&&(jQuery(l).width(n),jQuery(l).height(t),w=n,y=t);google.maps.event.trigger(i,"resize");i.setCenter(r);yt=!0;return};this.initCenter=function(){if(this.closeInfoWindow(),google.maps.event.addListenerOnce(i,"idle",function(){r.initWindows()}),o&&o.lat()&&o.lng())i.setCenter(o),i.setZoom(a);else{var n=a?a:!0;r.autoCenter(n)}};this.initWindows=function(){var i,n,t;e&&si?(n=isNaN(ut)?ut:this.getPoi(ut),t=isNaN(et)?et:this.getPoi(et),typeof n=="object"?n.center(!1):typeof t=="object"&&t.center(!1),r.openDirections(n,t,!1)):ft&&(i=isNaN(parseInt(ft))?r.getPoi(0):r.getPoi(parseInt(ft)),i&&i.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(nt).width(ti),this.resize("100%",ni)):(jQuery(n).text(t),jQuery(nt).width(fr),this.resize("100%",ur))};this.toJSON=function(){return{center:{lat:i.getCenter().lat(),lng:i.getCenter().lng()},height:y,mapid:h,mapTypeId:i.getMapTypeId(),metaKey:kt,pois:t,title:it,width:w,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){mapp.Ajax("GET",{action:"mapp_create"},function(r){if(r.status=="OK"){jQuery.extend(r.data.map.options,t);r.data.map.name=n;var u=new mapp.Map(r.data.map);i(u)}})};mapp.Map.ajaxGet=function(n,t,i,r){var u={action:"mapp_get",mapid:n};mapp.Ajax("GET",u,function(n){if(n.status=="OK"){jQuery.extend(n.data.map.options,i);n.data.map.name=t;var u=new mapp.Map(n.data.map);r(u)}})};mapp.Map.ajaxDelete=function(n,t){var i={action:"mapp_delete",mapid:n};mapp.Ajax("POST",i,function(n){n.status=="OK"&&t&&t()})};mapp.Ajax=function(n,t,i){jQuery.ajax({type:n,cache:!1,url:mappl10n.ajaxurl,data:t,success:function(n){if(n.output&&mappl10n.ajaxErrors&&alert("AJAX Error\r\n"+n.output),n.status=="OK"){i(n);return}mappl10n.ajaxErrors&&(typeof n=="object"?alert("AJAX Error\r\n"+n.status):alert("AJAX Error\r\n"+n))},error:function(n,t,i){typeof i!="undefined"&&i!=""&&mappl10n.ajaxErrors&&alert("AJAX ERROR\r\nStatus="+t+"\r\nError="+i+"\r\nResponseText="+n.responseText)}})};mapp.on=function(n,t,i,r){if(jQuery.fn.on)jQuery(n).on(t,i,r);else i?jQuery(n+" "+i).live(t,r):jQuery(n).live(t,r)};mapp.on("body","tabsshow",null,function(n,t){t&&t.panel&&jQuery(".mapp-canvas",t.panel).each(function(){var t=jQuery(this).attr("id"),n;t&&(n=window[t],n.getResized()||(n.resize(),n.initCenter()))})});mapp.on("body","tabsactivate",null,function(n,t){t&&t.newPanel&&jQuery(".mapp-canvas",t.newPanel).each(function(){var t=jQuery(this).attr("id"),n;t&&(n=window[t],n.getResized()||(n.resize(),n.initCenter()))})});this.JSON||(this.JSON={}),function(){function i(n){return n<10?"0"+n:n}function f(n){return o.lastIndex=0,o.test(n)?'"'+n.replace(o,function(n){var t=s[n];return typeof t=="string"?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function r(i,e){var h,c,l,a,v=n,s,o=e[i];o&&typeof o=="object"&&typeof o.toJSON=="function"&&(o=o.toJSON(i));typeof t=="function"&&(o=t.call(e,i,o));switch(typeof o){case"string":return f(o);case"number":return isFinite(o)?String(o):"null";case"boolean":case"null":return String(o);case"object":if(!o)return"null";if(n+=u,s=[],Object.prototype.toString.apply(o)==="[object Array]"){for(a=o.length,h=0;h<a;h+=1)s[h]=r(h,o)||"null";return l=s.length===0?"[]":n?"[\n"+n+s.join(",\n"+n)+"\n"+v+"]":"["+s.join(",")+"]",n=v,l}if(t&&typeof t=="object")for(a=t.length,h=0;h<a;h+=1)c=t[h],typeof c=="string"&&(l=r(c,o))&&s.push(f(c)+(n?": ":":")+l);else for(c in o)Object.hasOwnProperty.call(o,c)&&(l=r(c,o))&&s.push(f(c)+(n?": ":":")+l);return l=s.length===0?"{}":n?"{\n"+n+s.join(",\n"+n)+"\n"+v+"}":"{"+s.join(",")+"}",n=v,l}}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,o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,u,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(u=n="",typeof e=="number")for(o=0;o<e;o+=1)u+=" ";else typeof e=="string"&&(u=e);if((t=f)&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw Error("JSON.stringify");return r("",{"":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]*$/.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){n=jQuery.extend({colors:["800000","FF0000","FFA500","FFFF00","808000","800080","FF00FF","FFFFFF","00FF00","008000","000080","0000FF","00FFFF","008080","000000","808080","C0C0C0",]},n);var r=function(n){var t=n.substr(1,2),i=n.substr(3,2),r=n.substr(5,2);return.212671*t+.71516*i+.072169*r<.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)})})}}();mapp=window.mapp||{};mapp.Directions=function(n,t,i,r,u){function p(){jQuery(".mapp-dir-swap",f).click(function(){var n=jQuery(".mapp-dir-daddr",f).val(),t=jQuery(".mapp-dir-saddr",f).val();return jQuery(".mapp-dir-saddr",f).val(n),jQuery(".mapp-dir-daddr",f).val(t),jQuery(".mapp-dir-get",f).click(),!1});jQuery(".mapp-dir-get",f).click(function(){return s.getDirections(),!1});jQuery(".mapp-dir-print",f).click(function(){s.printDirections()});jQuery(".mapp-dir-close",f).click(function(){return s.close(),!1});jQuery(".mapp-travelmode",f).click(function(){return jQuery(".mapp-travelmode",f).removeClass("mapp-travelmode-on"),jQuery(this).addClass("mapp-travelmode-on"),s.getDirections(),!1});jQuery(".mapp-myloc",f).click(function(){return c.geolocate(function(n){n?(jQuery(".mapp-dir-saddr",f).val("("+n.coords.latitude+", "+n.coords.longitude+")"),jQuery(".mapp-dir-get",f).click()):alert(mappl10n.no_geolocate)}),!1})}function w(n,t,i){var u=jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-walk")?google.maps.DirectionsTravelMode.WALKING:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-transit")?google.maps.DirectionsTravelMode.TRANSIT:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-bike")?google.maps.DirectionsTravelMode.BICYCLING:google.maps.DirectionsTravelMode.DRIVING;var o={travelMode:u,transitOptions:{departureTime:null},provideRouteAlternatives:!0,origin:n,destination:t,unitSystem:y},r=jQuery(".mapp-dir-renderer",f).get(0);jQuery(".mapp-dir-renderer",f).empty();l||(l=new google.maps.DirectionsService);l.route(o,function(n,t){switch(t){case google.maps.DirectionsStatus.OK:h.hidePois();e?(e.setDirections(n),e.setMap(a),e.setPanel(r)):e=new google.maps.DirectionsRenderer({map:a,panel:r,directions:n,hideRouteList:!1,draggable:!0});break;case google.maps.DirectionsStatus.NOT_FOUND:alert(mappl10n.dir_not_found);break;case google.maps.DirectionsStatus.ZERO_RESULTS:alert(mappl10n.dir_zero_results);break;default:alert(mappl10n.dir_default+t)}i()})}var h=n,v=t,c=i,o=r,y=u,f=jQuery("#"+n.getName()+"_directions"),e,l,a=n.getMap(),s=this;o.toLowerCase().indexOf("http")==-1&&(o="https://"+o);p();this.open=function(n,t,i){if(v=="google"){this.openGoogle(n,t,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 n=jQuery(".mapp-dir-saddr",f),t=jQuery(".mapp-dir-daddr",f),i=jQuery(".mapp-dir-saddr-err",f),r=jQuery(".mapp-dir-daddr-err",f);c.geocodeField(n,i,function(n){c.geocodeField(t,r,function(t){n&&t?w(n,t,function(){jQuery(".mapp-spinner",f).hide();return}):jQuery(".mapp-spinner",f).hide()})})};this.printDirections=function(){var 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=o;u+="?saddr="+encodeURIComponent(n);u+="&daddr="+encodeURIComponent(t);u+="&pw="+i;u+=r?"&dirflg="+r:"";window.open(u)}};mapp=window.mapp||{};mapp.Geocoder=function(n,t,i){function f(n,t){jQuery(n).removeClass("mapp-error");jQuery(t).hide()}function e(n,t,i){jQuery(n).addClass("mapp-error");jQuery(t).html(i);jQuery(t).show()}var o,u,s,h,c,r;o=i;h=t;c=n;s=c.getMap();r=this;this.geocode=function(n,t){var i=n instanceof google.maps.LatLng?{latLng:n}:{address:n,region:o,language:h};i.bounds=s.getBounds();u||(u=new google.maps.Geocoder);u.geocode(i,function(n,i){if(n){for(var r=0;r<n.length;r++)n[r].formatted_address==""&&n.splice(r,1);t(n[0],i)}else t(null,i)})};this.geolocate=function(n){if(!navigator||!navigator.geolocation)return null;navigator.geolocation.getCurrentPosition(function(t){n(t)},function(){n(null)},{timeout:1e4,enableHighAccuracy:!0,maximumAge:3e4})};this.stringToLatLng=function(n){var t=n.split(",",2),i=Number(t[0]),r=Number(t[1]);return isNaN(i)||isNaN(r)?!1:new google.maps.LatLng(i,r)};this.geocodeField=function(n,t,i){f(n,t);checkAddress(n,t,jQuery(n).val(),function(r){if(!r){e(n,t,mappl10n.no_address);i(null);return}if(r&&r.formatted_address){jQuery(n).val(r.formatted_address);i(r.formatted_address);return}i(r);return})};this.autocompleteField=function(n,t,i,u,o){jQuery(n).keypress(function(i){i.which==13&&(checkAddress(n,t,jQuery(n).val(),o),i.preventDefault())});jQuery(i).click(function(){return checkAddress(n,t,jQuery(n).val(),o),!1});jQuery(u).click(function(){return f(n,t),r.geolocate(function(i){if(i){var r="("+i.coords.latitude+", "+i.coords.longitude+")";jQuery(n).val("");checkAddress(n,t,r,o)}else e(n,t,mappl10n.no_geolocate);return}),!1})};checkAddress=function(n,t,i,u){if(f(n,t),i=jQuery.trim(i),i==""){u(null);return}var o=r.stringToLatLng(i);if(o){u(o);return}if(i.substring(0,4)=="http"){u(i);return}r.geocode(i,function(i,r){if(!i||r!=google.maps.GeocoderStatus.OK){e(n,t,mappl10n.no_address);u(null);return}u(i);return})}};mapp.Geocoder.parseAddress=function(n){return!n||n==""?{firstLine:"",secondLine:""}:(n.lastIndexOf(", USA")>0||n.lastIndexOf(", United States")>0)&&(n.lastIndexOf(", USA")>0&&(n=n.slice(0,n.lastIndexOf(", USA"))),n.lastIndexOf(", United States")>0&&(n=n.slice(0,n.lastIndexOf(", United States"))),n.indexOf(",")==n.lastIndexOf(","))?{firstLine:n,secondLine:""}:n.indexOf(",")==-1?{firstLine:n,secondLine:""}:{firstLine:n.slice(0,n.indexOf(",")),secondLine:n.slice(n.indexOf(", ")+2)}};mapp=window.mapp||{};mapp.Icons={};mapp.Icons.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){if(typeof mappl10n.id!="undefined"&&jQuery(".mapp-icon-picker").length!=0)return n=jQuery.extend({open:null,close:null,dialog:null},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})})}}();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),f,o,s;if(u.x=parseInt(u.x),u.y=parseInt(u.y),f=jQuery(this.getMap().getDiv()),u.x>f.width()||u.x<0||u.y>f.height()||u.y<0){jQuery(n).hide();jQuery(t).hide();return}jQuery(n).show();jQuery(t).show();o=f.offset().left+u.x;s=f.offset().top+u.y-32;jQuery(t).offset({top:s-t.outerHeight()-2,left:o-parseInt(t.outerWidth()/2)});var e=o-parseInt(n.outerWidth()/2),c=s-n.outerHeight()-t.outerHeight(),h=jQuery(document).width();e+n.outerWidth()>h&&(e=Math.max(h-n.outerWidth(),o-n.outerWidth()+parseInt(t.outerWidth()/2)));e<0&&(e=0);jQuery(n).offset({top:c,left:e})};this.onRemove=function(){jQuery(n).remove();jQuery(t).remove()};this.setPosition=function(n){i=n};this.open=function(n,t){f=n;t&&(i=typeof t.getPosition=="function"?t.getPosition():t.getBounds().getCenter());this.setMap(f);this.disableAutoPan&&n.getBounds().contains(i)||f.panTo(i);google.maps.event.addListenerOnce(n,"drag",function(){r.close()});google.maps.event.addListenerOnce(n,"click",function(){r.close()})};this.close=function(){google.maps.event.trigger(this,"closeclick");this.setMap(null)}}
|
1 |
+
var mapp=window.mapp||{};+function(){mapp.Map=function(n){function vt(){var s,v,f;if(!c&&(c=["roadmap","satellite","terrain","hybrid"],mappl10n.styles))for(s in mappl10n.styles)c.push(s);for(e=e?new google.maps.LatLng(n.center.lat,n.center.lng):new google.maps.LatLng(0,0),v={backgroundColor:"transparent",center:e,draggable:ri,keyboardShortcuts:ht,mapTypeControl:ci,mapTypeControlOptions:{style:li,mapTypeIds:c},maxZoom:vi,minZoom:yi,overviewMapControl:pi,overviewMapControlOptions:{opened:wi},panControl:bi,rotateControl:di,scaleControl:gi,scrollwheel:nr,streetViewControl:rr,tilt:fr,zoom:l?l:0,zoomControl:hr,zoomControlOptions:{style:cr}},i=new google.maps.Map(a,v),f=0;f<t.length;f++)t[f].setMap(r);lr();r.setMapTypeId(pt);ar();h=="ib"?(mapp.InfoBox.prototype=new google.maps.OverlayView,u=new mapp.InfoBox):u=new google.maps.InfoWindow;h=="ib"&&(ht=!1);ft=new mapp.Geocoder(r,hi,ni);ot!="none"&&(o=new mapp.Directions(r,ot,ft,ti,ii));r.initCenter()}function lr(){var n,t,r;for(n in mappl10n.styles)t=mappl10n.styles[n],r=new google.maps.StyledMapType(t,{name:n}),i.mapTypes.set(n,r),ur==n&&i.setOptions({styles:t})}function ar(){or&&et("traffic",mappl10n.traffic,oi);kt&&et("bicycling",mappl10n.bike,fi);sr&&et("transit",mappl10n.transit,si)}function et(n,t,r){var e=f+"_"+n,o=r?"checked='checked'":"",s="<div class='gmnoprint mapp-control'><input type='checkbox' id='"+e+"' "+o+" /> "+t+"<\/div>",u=jQuery(s).get(0);i.controls[google.maps.ControlPosition.TOP_RIGHT].push(u);r&&yt(n);google.maps.event.clearListeners(u,"click");google.maps.event.addDomListener(u,"click",function(){yt(n)})}function yt(n){var r=f+"_"+n,t;switch(n){case"transit":d=d?d:new google.maps.TransitLayer;t=d;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 e=n.center,p=n.height,s=n.mapid,pt=n.mapTypeId?n.mapTypeId:"roadmap",wt=n.metaKey,f=n.name,bt=n.options,tt=n.query,it=n.title,w=n.width,l=parseInt(n.zoom,10),kt=n.options.bicycling,dt=n.options.bigHeight,gt=n.options.bigWidth,ni=n.options.country,rt=n.options.dataTables,ot=n.options.directions,ti=n.options.directionsServer,ii=n.options.directionsUnits,ri=n.options.draggable,ui=n.options.editable,st=n.options.from,fi=n.options.initialBicycling,ei=n.options.initialOpenDirections,ut=n.options.initialOpenInfo,oi=n.options.initialTraffic,si=n.options.initialTransit,h=n.options.iwType,ht=n.options.keyboardShortcuts,hi=n.options.language,ci=n.options.mapTypeControl,li=parseInt(n.options.mapTypeControlStyle,10),c=n.options.mapTypeIds,ai=n.options.mashupClick,vi=parseInt(n.options.maxZoom),yi=parseInt(n.options.minZoom),pi=n.options.overviewMapControl,wi=n.options.overviewMapControlOpened,bi=n.options.panControl,ki=n.options.poiZoom,di=n.options.rotateControl,gi=n.options.scaleControl,nr=n.options.scrollwheel,tr=n.height,ir=n.width,rr=n.options.streetViewControl,ur=n.options.style,fr=parseInt(n.options.tilt),ct=n.options.to,er=n.options.tooltips,or=n.options.traffic,sr=n.options.transit,hr=n.options.zoomControl,cr=parseInt(n.options.zoomControlStyle,10),r=this,b,k,d,o=null,g,lt,nt,a,v,ft=null,i=null,u=null,t=[],at=!1,y;this.display=function(){if(g=jQuery("#"+f+"_dialog"),lt=jQuery("#"+f+"_directions"),nt=jQuery("#"+f+"_layout"),a=document.getElementById(f),v=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(y=google.maps.Marker.MAX_ZINDEX,lt.append(jQuery("#"+f+"_directions_").contents()),v.append(jQuery("#"+f+"_poi_list_").contents()),this.setDataTables(),tt){this.ajaxQuery(function(){vt()});return}r.setPois(n.pois,!1);vt()};this.getQuery=function(){return tt};this.setQuery=function(n){tt=n};this.setDialog=function(n){n=n?n:'<span class="mapp-spinner"><\/span>'+mappl10n.loading;n='<div class="mapp-dialog-inner">'+n+"<\/div>";jQuery(g).html(n);jQuery(g).show()};this.hideDialog=function(){jQuery(g).hide()};this.setPoiList=function(n){typeof n=="string"?v.html(n):v.append(n);this.setDataTables()};this.setDataTables=function(){if(rt&&typeof jQuery.fn.dataTable!="undefined"){var n=rt==!0?{bFilter:!1,bPaginate:!1}:rt;jQuery("table",v).dataTable(n)}};this.getOptions=function(){return bt};this.getResized=function(){return at};this.show=function(){nt.show();this.display()};this.closeInfoWindow=function(){u.close()};this.openDirections=function(n,t,i){var r,u;typeof n=="object"?(r=n.address?n.address:n.getPosition().toUrlValue(),n.open()):r=n;typeof t=="object"?(u=t.address?t.address:t.getPosition().toUrlValue(),t.open()):u=t;o.open(r,u,i)};this.setMapTypeId=function(n){n=n&&jQuery.inArray(n,c)!=-1?n:c[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(ki)};this.poiToFront=function(n){y++;n.setZIndex(y)};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 s};this.setMapid=function(n){s=n};this.getTitle=function(){return it};this.setTitle=function(n){it=n};this.getWidth=function(){return w};this.setWidth=function(n){w=n};this.getHeight=function(){return p};this.setHeight=function(n){p=n};this.getInfoWindow=function(){return u};this.getEditable=function(){return ui};this.getTooltips=function(){return er};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),u.setZIndex(y+n.length-1-r);y+=n.length-1};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,i=Array(),r=0;r<n.length;r++){if(u=parseInt(n[r]),isNaN(u))return!1;i.push(t[u])}return i.length!=t.length?!1:(t=i,!0)};this.openPoi=function(n,t){var u,i;if(h&&h!="none"){if(ai=="post"&&n.postid){window.location.assign(mappl10n.options.siteUrl+"?p="+n.postid);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){(o&&o.close(),h&&h!="none")&&(this.poiToFront(n),u.close(),u.setContent(t),google.maps.event.addListenerOnce(u,"domready",function(){google.maps.event.trigger(r,"poidomready",n)}),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),w=n,p=t);google.maps.event.trigger(i,"resize");i.setCenter(r);at=!0;return};this.initCenter=function(){if(this.closeInfoWindow(),google.maps.event.addListenerOnce(i,"idle",function(){r.initWindows()}),e&&e.lat()&&e.lng())i.setCenter(e),i.setZoom(l);else{var n=l?l:!0;r.autoCenter(n)}};this.initWindows=function(){var i,n,t;o&&ei?(n=jQuery.trim(st),t=st==null&&ct==null?"0":jQuery.trim(ct),n=jQuery.isNumeric(n)?this.getPoi(n):n,t=jQuery.isNumeric(t)?this.getPoi(t):t,typeof n=="object"?n.center(!1):typeof t=="object"&&t.center(!1),r.openDirections(n,t,!1)):ut&&(i=jQuery.isNumeric(ut)?r.getPoi(ut):r.getPoi(0),i&&i.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){o&&o.close();this.closeInfoWindow();jQuery(n).text()==t?(jQuery(n).text(i),jQuery(nt).width(gt),this.resize("100%",dt)):(jQuery(n).text(t),jQuery(nt).width(ir),this.resize("100%",tr))};this.toJSON=function(){return{center:{lat:i.getCenter().lat(),lng:i.getCenter().lng()},height:p,mapid:s,mapTypeId:i.getMapTypeId(),metaKey:wt,pois:t,title:it,width:w,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.options.postid};mapp.Ajax("POST",i,function(t){t.status=="OK"&&(s=t.data.mapid,n(t.data))})};this.ajaxDelete=function(n){s||n();var t={action:"mapp_delete",mapid:s};mapp.Ajax("POST",t,function(t){t.status=="OK"&&n()})}};mapp.Map.ajaxCreate=function(n,t,i){mapp.Ajax("GET",{action:"mapp_create"},function(r){if(r.status=="OK"){jQuery.extend(r.data.map.options,t);r.data.map.name=n;var u=new mapp.Map(r.data.map);i(u)}})};mapp.Map.ajaxGet=function(n,t,i,r){var u={action:"mapp_get",mapid:n};mapp.Ajax("GET",u,function(n){if(n.status=="OK"){jQuery.extend(n.data.map.options,i);n.data.map.name=t;var u=new mapp.Map(n.data.map);r(u)}})};mapp.Map.ajaxDelete=function(n,t){var i={action:"mapp_delete",mapid:n};mapp.Ajax("POST",i,function(n){n.status=="OK"&&t&&t()})};mapp.Ajax=function(n,t,i){jQuery.ajax({type:n,cache:!1,url:mappl10n.options.ajaxurl,data:t,success:function(n){if(n.output&&(mappl10n.options.admin||mappl10n.options.debug)&&alert("AJAX Error\r\n"+n.output),n.status=="OK"){i(n);return}(mappl10n.options.admin||mappl10n.options.debug)&&(typeof n=="object"?alert("AJAX Error\r\n"+n.status):alert("AJAX Error\r\n"+n))},error:function(n,t,i){typeof i!="undefined"&&i!=""&&mappl10n.ajaxErrors&&alert("AJAX ERROR\r\nStatus="+t+"\r\nError="+i+"\r\nResponseText="+n.responseText)}})}}(jQuery);mapp=window.mapp||{};mapp.Directions=function(n,t,i,r,u){function p(){jQuery(".mapp-dir-swap",f).click(function(){var n=jQuery(".mapp-dir-daddr",f).val(),t=jQuery(".mapp-dir-saddr",f).val();return jQuery(".mapp-dir-saddr",f).val(n),jQuery(".mapp-dir-daddr",f).val(t),jQuery(".mapp-dir-get",f).click(),!1});jQuery(".mapp-dir-get",f).click(function(){return s.getDirections(),!1});jQuery(".mapp-dir-print",f).click(function(){s.printDirections()});jQuery(".mapp-dir-close",f).click(function(){return s.close(),!1});jQuery(".mapp-travelmode",f).click(function(){return jQuery(".mapp-travelmode",f).removeClass("mapp-travelmode-on"),jQuery(this).addClass("mapp-travelmode-on"),s.getDirections(),!1});jQuery(".mapp-myloc",f).click(function(){return c.geolocate(function(n){n?(jQuery(".mapp-dir-saddr",f).val("("+n.coords.latitude+", "+n.coords.longitude+")"),jQuery(".mapp-dir-get",f).click()):alert(mappl10n.no_geolocate)}),!1})}function w(n,t,i){var u=jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-walk")?google.maps.DirectionsTravelMode.WALKING:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-transit")?google.maps.DirectionsTravelMode.TRANSIT:jQuery(".mapp-travelmode-on > span",f).hasClass("mapp-dir-bike")?google.maps.DirectionsTravelMode.BICYCLING:google.maps.DirectionsTravelMode.DRIVING;var o={travelMode:u,transitOptions:{departureTime:null},provideRouteAlternatives:!0,origin:n,destination:t,unitSystem:y},r=jQuery(".mapp-dir-renderer",f).get(0);jQuery(".mapp-dir-renderer",f).empty();l||(l=new google.maps.DirectionsService);l.route(o,function(n,t){switch(t){case google.maps.DirectionsStatus.OK:h.hidePois();e?(e.setDirections(n),e.setMap(a),e.setPanel(r)):e=new google.maps.DirectionsRenderer({map:a,panel:r,directions:n,hideRouteList:!1,draggable:!0});break;case google.maps.DirectionsStatus.NOT_FOUND:alert(mappl10n.dir_not_found);break;case google.maps.DirectionsStatus.ZERO_RESULTS:alert(mappl10n.dir_zero_results);break;default:alert(mappl10n.dir_default+t)}i()})}var h=n,v=t,c=i,o=r,y=u,f=jQuery("#"+n.getName()+"_directions"),e,l,a=n.getMap(),s=this;o.toLowerCase().indexOf("http")==-1&&(o="https://"+o);p();this.open=function(n,t,i){if(v=="google"){this.openGoogle(n,t);return}jQuery(f).show();jQuery(".mapp-dir-saddr",f).val(n);jQuery(".mapp-dir-daddr",f).val(t);(i||typeof i=="undefined")&&(jQuery(".mapp-dir-get",f).focus(),jQuery(".mapp-dir-saddr",f).focus())};this.close=function(){jQuery(f).hide();e&&(e.setPanel(null),e.getMap()&&(e.setMap(null),h.showPois()))};this.getDirections=function(){h.closeInfoWindow();jQuery(".mapp-spinner",f).show();var n=jQuery(".mapp-dir-saddr",f),t=jQuery(".mapp-dir-daddr",f),i=jQuery(".mapp-dir-saddr-err",f),r=jQuery(".mapp-dir-daddr-err",f);c.geocodeField(n,i,function(n){c.geocodeField(t,r,function(t){n&&t?w(n,t,function(){jQuery(".mapp-spinner",f).hide();return}):jQuery(".mapp-spinner",f).hide()})})};this.printDirections=function(){var 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(),2,n)};this.openGoogle=function(n,t,i,r){var u=o;u+="?saddr="+encodeURIComponent(n);u+="&daddr="+encodeURIComponent(t);i&&(u+="&pw="+i);r&&(u+="&dirflg="+r);window.open(u)}};mapp=window.mapp||{};mapp.Geocoder=function(n,t,i){function f(n,t){jQuery(n).removeClass("mapp-error");jQuery(t).hide()}function e(n,t,i){jQuery(n).addClass("mapp-error");jQuery(t).html(i);jQuery(t).show()}var o,u,s,h,c,r;o=i;h=t;c=n;s=c.getMap();r=this;this.geocode=function(n,t){var i=n instanceof google.maps.LatLng?{latLng:n}:{address:n,region:o,language:h};i.bounds=s.getBounds();u||(u=new google.maps.Geocoder);u.geocode(i,function(n,i){if(n){for(var r=0;r<n.length;r++)n[r].formatted_address==""&&n.splice(r,1);t(n[0],i)}else t(null,i)})};this.geolocate=function(n){if(!navigator||!navigator.geolocation)return null;navigator.geolocation.getCurrentPosition(function(t){n(t)},function(){n(null)},{timeout:1e4,enableHighAccuracy:!0,maximumAge:3e4})};this.stringToLatLng=function(n){var t=n.split(",",2),i=Number(t[0]),r=Number(t[1]);return isNaN(i)||isNaN(r)?!1:new google.maps.LatLng(i,r)};this.geocodeField=function(n,t,i){f(n,t);checkAddress(n,t,jQuery(n).val(),function(r){if(!r){e(n,t,mappl10n.no_address);i(null);return}if(r&&r.formatted_address){jQuery(n).val(r.formatted_address);i(r.formatted_address);return}i(r);return})};this.autocompleteField=function(n,t,i,u,o){jQuery(n).keypress(function(i){i.which==13&&(checkAddress(n,t,jQuery(n).val(),o),i.preventDefault())});jQuery(i).click(function(){return checkAddress(n,t,jQuery(n).val(),o),!1});jQuery(u).click(function(){return f(n,t),r.geolocate(function(i){if(i){var r="("+i.coords.latitude+", "+i.coords.longitude+")";jQuery(n).val("");checkAddress(n,t,r,o)}else e(n,t,mappl10n.no_geolocate);return}),!1})};checkAddress=function(n,t,i,u){if(f(n,t),i=jQuery.trim(i),i==""){u(null);return}var o=r.stringToLatLng(i);if(o){u(o);return}if(i.substring(0,4)=="http"){u(i);return}r.geocode(i,function(i,r){if(!i||r!=google.maps.GeocoderStatus.OK){e(n,t,mappl10n.no_address);u(null);return}u(i);return})}};mapp.Geocoder.parseAddress=function(n){return!n||n==""?{firstLine:"",secondLine:""}:(n.lastIndexOf(", USA")>0||n.lastIndexOf(", United States")>0)&&(n.lastIndexOf(", USA")>0&&(n=n.slice(0,n.lastIndexOf(", USA"))),n.lastIndexOf(", United States")>0&&(n=n.slice(0,n.lastIndexOf(", United States"))),n.indexOf(",")==n.lastIndexOf(","))?{firstLine:n,secondLine:""}:n.indexOf(",")==-1?{firstLine:n,secondLine:""}:{firstLine:n.slice(0,n.indexOf(",")),secondLine:n.slice(n.indexOf(", ")+2)}};mapp=window.mapp||{};mapp.Icons={};mapp.Icons.get=function(){return"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"};mapp.Icons.getUrl=function(){return"https://maps.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png"};mapp=window.mapp||{};mapp.InfoBox=function(){var u,f,n,i,t,r=this;this.setContent=function(n){u=n};this.onAdd=function(){n=jQuery("<div class='mapp-ib'><div class='mapp-ib-close'>X<\/div><\/div>");t=jQuery("<div class='mapp-ib-tip'><\/div>");typeof u=="string"?jQuery(n).append(u):jQuery(n).append(jQuery(u));jQuery("body").append(n);jQuery("body").append(t);jQuery(".mapp-ib-close",n).click(function(){r.close()});jQuery(window).resize(function(){r.close()})};this.draw=function(){var c=jQuery(n).is(":visible"),u=r.getProjection().fromLatLngToContainerPixel(i),f,o,s;if(u.x=parseInt(u.x),u.y=parseInt(u.y),f=jQuery(this.getMap().getDiv()),u.x>f.width()||u.x<0||u.y>f.height()||u.y<0){jQuery(n).hide();jQuery(t).hide();return}jQuery(n).show();jQuery(t).show();o=f.offset().left+u.x;s=f.offset().top+u.y-32;jQuery(t).offset({top:s-t.outerHeight()-2,left:o-parseInt(t.outerWidth()/2)});var e=o-parseInt(n.outerWidth()/2),l=s-n.outerHeight()-t.outerHeight(),h=jQuery(document).width();e+n.outerWidth()>h&&(e=Math.max(h-n.outerWidth(),o-n.outerWidth()+parseInt(t.outerWidth()/2)));e<0&&(e=0);jQuery(n).offset({top:l,left:e});c||google.maps.event.trigger(this,"domready")};this.onRemove=function(){jQuery(n).remove();jQuery(t).remove()};this.setPosition=function(n){i=n};this.open=function(n,t){f=n;t&&(i=typeof t.getPosition=="function"?t.getPosition():t.getBounds().getCenter());this.setMap(f);this.disableAutoPan&&n.getBounds().contains(i)||f.panTo(i);google.maps.event.addListenerOnce(n,"drag",function(){r.close()});google.maps.event.addListenerOnce(n,"click",function(){r.close()})};this.close=function(){google.maps.event.trigger(this,"closeclick");this.setMap(null)}};mapp=window.mapp||{};this.JSON||(this.JSON={}),function(){function i(n){return n<10?"0"+n:n}function f(n){return o.lastIndex=0,o.test(n)?'"'+n.replace(o,function(n){var t=s[n];return typeof t=="string"?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function r(i,e){var h,c,l,a,v=n,s,o=e[i];o&&typeof o=="object"&&typeof o.toJSON=="function"&&(o=o.toJSON(i));typeof t=="function"&&(o=t.call(e,i,o));switch(typeof o){case"string":return f(o);case"number":return isFinite(o)?String(o):"null";case"boolean":case"null":return String(o);case"object":if(!o)return"null";if(n+=u,s=[],Object.prototype.toString.apply(o)==="[object Array]"){for(a=o.length,h=0;h<a;h+=1)s[h]=r(h,o)||"null";return l=s.length===0?"[]":n?"[\n"+n+s.join(",\n"+n)+"\n"+v+"]":"["+s.join(",")+"]",n=v,l}if(t&&typeof t=="object")for(a=t.length,h=0;h<a;h+=1)c=t[h],typeof c=="string"&&(l=r(c,o))&&s.push(f(c)+(n?": ":":")+l);else for(c in o)Object.hasOwnProperty.call(o,c)&&(l=r(c,o))&&s.push(f(c)+(n?": ":":")+l);return l=s.length===0?"{}":n?"{\n"+n+s.join(",\n"+n)+"\n"+v+"}":"{"+s.join(",")+"}",n=v,l}}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,o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,u,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(u=n="",typeof e=="number")for(o=0;o<e;o+=1)u+=" ";else typeof e=="string"&&(u=e);if((t=f)&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw Error("JSON.stringify");return r("",{"":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]*$/.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");})}();mapp.lib={ajax:function(n){var i,t;if(jQuery.extend({type:"GET",cache:!1,data:null,spinner:null,callback:jQuery.noop},n),n.cache)for(typeof mapp.lib.ajax.cache=="undefined"&&(mapp.lib.ajax.cache=[]),i=JSON.stringify(n.data),t=0;t<mapp.lib.ajax.cache.length;t++)if(mapp.lib.ajax.cache[t].data==i){n.callback(mapp.lib.ajax.cache[t].response);return}n.spinner&&mapp.lib.spinner(n.spinner,!0);jQuery.ajax({type:n.type,cache:!1,url:mappl10n.options.ajaxurl,data:n.data,success:function(t,i,r){if(mapp.lib.spinner(n.spinner,!1),t.output&&(mappl10n.options.admin||mappl10n.options.debug)){alert("AJAX Error\r\n"+t.output);return}if(t.status=="OK"){n.cache&&mapp.lib.ajax.cache.push({data:JSON.stringify(n.data),response:t});n.callback&&n.callback(t,i,r);return}if(mappl10n.options.admin||mappl10n.options.debug){var u=typeof t=="object"?t.status:t;alert("AJAX ERROR\r\nResponse="+u+" TextStatus="+i+"\r\nResponseText="+r.responseText);return}},error:function(t,i,r){if((n.spinner&&mapp.lib.spinner(n.spinner,!1),typeof r!="undefined"&&r!="")&&(mappl10n.options.admin||mappl10n.options.debug)){alert("AJAX ERROR\r\nTextStatus="+i+"\r\nError="+r+"\r\nResponseText="+t.responseText);return}}})},spinner:function(n,t){return t?(jQuery(n).addClass("mapp-spinner"),jQuery(n).prepend('<div class="mapp-spinner-overlay"><\/div><div class="mapp-spinner-icon"><\/div>')):(jQuery(n).removeClass("mapp-spinner"),jQuery(".mapp-spinner-overlay, .mapp-spinner-icon",n).remove()),n},scrollTo:function(n,t){if(n&&t&&n.length&&t.length){var r=jQuery(n).scrollTop(),u=jQuery(n).height(),i=jQuery(t).position().top,f=i+jQuery(t).height();(i<0||f>u)&&jQuery(n).scrollTop(r+i)}},stringToInt:function(n){for(arg in n){var t=n[arg];typeof t=="object"?mapp.lib.stringToInt(t):n[arg]=jQuery.isNumeric(t)?parseInt(t):t}return n}};jQuery("body").on("tabsactivate tabsshow",function(n,t){var i=t.newPanel?t.newPanel:t.panel;i&&jQuery(".mapp-canvas",i).each(function(){var n=jQuery(this).attr("id");window[n].resize();window[n].init()})});mapp=window.mapp||{};+function(n){mapp.Places=function(t,i){function l(){i=n.extend({callback:n.noop,gmap:null,kml:!1,parse:!0,types:["geocode"]},i);h=n(t);o=i.gmap;r=n("input",t);f=new google.maps.places.Autocomplete(r.get(0),{types:i.types});f.bindTo("bounds",o);s=new google.maps.places.AutocompleteService;_placesService=new google.maps.places.PlacesService(o);google.maps.event.addListener(f,"place_changed",function(){var n=f.getPlace();i.parse?n&&n.geometry&&n.geometry.viewport?(e.set(c(n.formatted_address,"text")),i.callback(n)):e.parse(i.callback):i.callback});n("[data-mapp-geolocate]",h).click(function(){return e.geolocate(),!1})}function c(n,t){var i;return(n=jQuery.trim(n),n=n.replace(", United States of America","").replace(", USA","").replace(", United States",""),t=="text")?n:(i=n.indexOf(","),i==-1?[n]:[n.substring(0,i),jQuery.trim(n.substring(i+1))])}function u(n){r.toggleClass("mapp-error",!!n)}var f,s,o,r,h,e=this;this.set=function(n){r.blur();r.val(n)};this.get=function(){return n.trim(r.val())};this.focus=function(){r.focus()};this.parse=function(n){if(u(!1),value=this.get(),!value)return this.focus(),u(!0);if(i.kml){if(input=="kml")return n("http://kml-samples.googlecode.com/svn/trunk/kml/Placemark/placemark.kml");if(input.substring(0,4)=="http")return n(input)}var t=value.split(",");if(t.length==2&&!isNaN(t[0])&&!isNaN(t[1]))return n({geometry:{location:new google.maps.LatLng(t[0],t[1])}});s.getPlacePredictions({input:value,types:i.types},function(t,i){if(i!="OK"||t==null||t.length==0)return u(!0);_placesService.getDetails({placeId:t[0].place_id},function(t,i){return i!="OK"||!t||!t.geometry?u(!0):(e.set(c(t.formatted_address,"text")),n(t))})})};this.geolocate=function(){if(u(!1),!navigator||!navigator.geolocation){alert(mappl10n.no_geolocate);return}navigator.geolocation.getCurrentPosition(function(n){i.callback(new google.maps.LatLng(n.coords.latitude,n.coords.longitude))},function(){return u(!0)},{timeout:1e4,enableHighAccuracy:!0,maximumAge:3e4})};l.apply(this)}}(jQuery);mapp=window.mapp||{};mapp.Poi=function(){this.address=null;this.body=null;this.html=null;this.iconid=null;this.map=null;this.overlay=null;this.postid=null;this.title="";this.url=null;this.type=null;this.viewport=null;for(var n in arguments[0])typeof arguments[0][n]!="undefined"&&(this[n]=arguments[0][n])};mapp.Poi.prototype={fromJSON:function(n){var u,f,i,o,t,r,s,e;this.address=n.correctedAddress;this.body=n.body;this.correctedAddress=n.correctedAddress;this.html=n.html;this.iconid=n.iconid;this.postid=n.postid;this.title=n.title;this.type=n.type;this.url=n.url;n.viewport&&n.viewport.sw&&n.viewport.ne&&(u=new google.maps.LatLng(n.viewport.sw.lat,n.viewport.sw.lng),f=new google.maps.LatLng(n.viewport.ne.lat,n.viewport.ne.lng),this.viewport=u.lat()==0&&u.lng()==0&&f.lat()==0&&f.lng()==0?null:new google.maps.LatLngBounds(u,f));i=[];o=[];switch(this.type){case"polygon":if(n.poly&&n.poly.paths)for(t=0;t<n.poly.paths.length;t++){for(i=[],r=0;r<n.poly.paths[t].length;r++)i.push(new google.maps.LatLng(n.poly.paths[t][r].lat,n.poly.paths[t][r].lng));o.push(new google.maps.MVCArray(i))}this.overlay=new google.maps.Polygon({paths:new google.maps.MVCArray(o)});this.setColors(n.poly);break;case"polyline":if(n.poly&&n.poly.path)for(t=0;t<n.poly.path.length;t++)i.push(new google.maps.LatLng(n.poly.path[t].lat,n.poly.path[t].lng));this.overlay=new google.maps.Polyline({path:new google.maps.MVCArray(i)});this.setColors(n.poly);break;case"circle":e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Circle({center:e,radius:parseFloat(n.poly.radius)});this.setColors(n.poly);break;case"rectangle":this.overlay=new google.maps.Rectangle({bounds:this.viewport});this.setColors(n.poly);break;case"kml":s=n.kml&&n.kml.url?n.kml.url:"";this.overlay=new google.maps.KmlLayer(s,{preserveViewport:!0,suppressInfoWindows:!0});break;case"":default:e=new google.maps.LatLng(n.point.lat,n.point.lng);this.overlay=new google.maps.Marker({position:e})}},toJSON:function(){var n={address:this.address,body:this.body,correctedAddress:this.address,iconid:this.iconid,point:null,poly:null,title:this.title,type:this.type,viewport:null},r=this.getPosition(),i,t;if(n.point={lat:r.lat(),lng:r.lng()},i=this.viewport?this.viewport:this.getBounds(),i&&(n.viewport={sw:{lat:i.getSouthWest().lat(),lng:i.getSouthWest().lng()},ne:{lat:i.getNorthEast().lat(),lng:i.getNorthEast().lng()}}),this.type=="kml"&&(n.kml={url:this.overlay.getUrl()},t=this.overlay.getDefaultViewport(),n.viewport={sw:{lat:t.getSouthWest().lat(),lng:t.getSouthWest().lng()},ne:{lat:t.getNorthEast().lat(),lng:t.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)});break;case"rectangle":t=this.overlay.getBounds();n.viewport={sw:{lat:t.getSouthWest().lat(),lng:t.getSouthWest().lng()},ne:{lat:t.getNorthEast().lat(),lng:t.getNorthEast().lng()}}}}return n},setTooltip:function(n){this.map.getTooltips()&&(this.type||(n?this.overlay.setTitle(n):this.overlay.setTitle(jQuery("<div>").html(this.title).text())))},setMap:function(n){var t=this;if(google.maps.event.clearInstanceListeners(this.overlay),n==null){this.overlay.setMap(null);return}this.type=="kml"&&(google.maps.event.addListener(this.overlay,"defaultviewport_changed",function(){t.viewport=t.overlay.getDefaultViewport()}),google.maps.event.addListener(this.overlay,"status_changed",function(){var n=t.overlay.getStatus();n!="OK"&&mappl10n.ajaxErrors&&alert(mappl10n.kml_error+":"+n)}));this.map=n;this.overlay.setMap(n.getMap());this.setEditable(this.map.getEditable());this.setIcon(this.iconid);this.setTooltip();google.maps.event.addListener(this.overlay,"click",function(n){t.open(n)})},setEditable:function(n){var t=this;this.type!="kml"&&(this.overlay.setDraggable(n),this.isPoly()&&this.overlay.setEditable(n),google.maps.event.clearListeners(this.overlay,"rightclick"),google.maps.event.clearListeners(this.overlay,"dragstart"),n&&(google.maps.event.addListener(this.overlay,"dragstart",function(){t.viewport=null;t.map.closeInfoWindow()}),(this.type=="polygon"||this.type=="polyline")&&google.maps.event.addListener(this.overlay,"rightclick",function(n){n.vertex!=null&&t.overlay.getPath().getLength()>2&&t.overlay.getPath().removeAt(n.vertex)})))},getZIndex:function(){return this.type?this.overlay.zIndex:this.overlay.getZIndex()},setZIndex:function(n){this.type?this.overlay.zIndex=n:this.overlay.setZIndex(n)},setIcon:function(n){this.type||(this.overlay.setIcon(null),this.overlay.setIcon(mapp.Icons.get(n)),this.iconid=n?n:null)},setVisible:function(n){typeof this.overlay.setVisible!="undefined"&&this.overlay.setVisible(n)},setColors:function(n){var i={};for(var t in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})n&&typeof n[t]!="undefined"&&(i[t]=n[t]);this.overlay.setOptions(i)},getColors:function(){var t={};for(var n in{strokeColor:"",strokeOpacity:"",strokeWeight:"",fillColor:"",fillOpacity:""})typeof this.overlay[n]!="undefined"&&(t[n]=this.overlay[n]);return t},center:function(n){var t=this.map.getMap(),i;if(!n){t.setCenter(this.getPosition());return}if(typeof n=="number"){t.setCenter(this.getPosition());t.setZoom(n);return}i=this.getBounds();i?(t.fitBounds(i),t.setCenter(this.getPosition())):(t.setCenter(this.getPosition()),t.setZoom(this.map.getPoiZoom()))},open:function(n){this.map.openPoi(this,n)},zoomIn:function(){var n=this.map.getMap(),r=n.getZoom(),t=this.getBounds(),i=Math.min(r+2,21);t&&n.fitBounds(t);i>n.getZoom()&&n.setZoom(i);n.setCenter(this.getPosition())},isPoly:function(){return jQuery.inArray(this.type,["polyline","polygon","circle","rectangle"])!=-1},getBounds:function(){var n;if(!this.map.getEditable()&&this.viewport)return this.viewport;switch(this.type){case"polyline":n=new google.maps.LatLngBounds;this.overlay.getPath().forEach(function(t){n.extend(t)});break;case"polygon":n=new google.maps.LatLngBounds;this.overlay.getPaths().forEach(function(t){t.forEach(function(t){n.extend(t)})});break;case"rectangle":case"circle":n=this.overlay.getBounds();break;case"kml":n=this.overlay.getDefaultViewport();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")}}
|
js/mappress_editor.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var mapp=window.mapp||{};mapp.Media=function(){function u(i){n=i;jQuery("#mapp_m_editor").empty();jQuery("#mapp_m_editor").append(r.clone());var u=n.getMapid();u?jQuery("#mapp_m_mapid").text(u):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 f(){t.close();n=null;t=null;jQuery("#mapp_m_edit_panel").hide();jQuery("#mapp_m_list_panel").show()}function o(){mapp.Map.ajaxCreate("mapp_edit",i,function(n){u(n)})}function s(n){mapp.Map.ajaxGet(n,"mapp_edit",i,function(n){u(n)})}function h(n){var t='[mappress mapid="'+n+'"]';send_to_editor(t)}function e(){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);f()})}}function c(n){confirm(mappl10n.delete_map_prompt)&&(jQuery("#mapp_m_maplist tr[data-mapid='"+n+"']").remove(),mapp.Map.ajaxDelete(n))}var t,n,r,l=this,i;r=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 o(),!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")?(s(t),!1):jQuery(n.target).hasClass("mapp-maplist-delete")?(c(t),!1):jQuery(n.target).hasClass("mapp-maplist-insert")?(h(t),!1):void 0});jQuery(".mapp-m-size").click(function(){var n=jQuery(this).data("width"),i=jQuery(this).data("height");return jQuery("#mapp_m_width").val(n),jQuery("#mapp_m_height").val(i),t.resize(n,i),!1});jQuery("#mapp_m_width, #mapp_m_height").change(function(){var n=jQuery("#mapp_m_width").val(),i=jQuery("#mapp_m_height").val();return t.resize(n,i),!1});jQuery("#publish, #post-preview").click(function(){e()});jQuery("#mapp_m_save").click(function(){return e(),!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 f(),!1});jQuery("#mapp_m_insert").click(function(){var t=n.getMapid(),i='[mappress mapid="'+n.getMapid()+'"]';return t?send_to_editor(i):alert(mappl10n.save_first),!1});this.getMap=function(){return n}};mapp.Editor=function(n){function l(){s=jQuery("#mapp_e_infobox").detach();t=n;t.display();this.resize(t.getWidth(),t.getHeight());i();typeof mappl10n.id!="undefined"&&(r=new google.maps.drawing.DrawingManager({circleOptions:u,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:u,polylineOptions:u,rectangleOptions:u}),r.setMap(t.getMap()),google.maps.event.addListener(r,"overlaycomplete",function(n){b(n)}));t.getGeocoder().autocompleteField("#mapp_e_saddr","#mapp_e_saddr_err","#mapp_e_search","#mapp_e_myloc",y);google.maps.event.addListener(t,"poicontent",a);google.maps.event.addListener(t,"poidomready",v);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 f=r[n].title.replace(/\'/g,"’"),e=r[n].getImage("mapp-e-icon"),o=r[n].address;u+="<tr id='"+n+"'><td>"+e+"<\/td><td style='width:100%'><a href='#' title='"+o+"'><b>"+f+"<\/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&&g(i),!1):(t.getPoi(r).click(),!1)})}function a(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 v(n){var r={title:n.title,body:n.body,iconid:n.iconid,colors:n.getColors()};k();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);u=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"&&(f=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=r.title,n.body=r.body,n.iconid=r.iconid,n.setIcon(r.iconid),n.setColors(r.colors),i(),!1})}function y(n){if(n){if(n.geometry){var t=mapp.Geocoder.parseAddress(n.formatted_address),i=n.name?n.name:t.firstLine,r=n.name?t.firstLine+", "+t.secondLine:t.secondLine,u=new mapp.Poi({address:n.formatted_address,body:r,iconid:f,overlay:new google.maps.Marker({position:n.geometry.location}),title:i,type:null,viewport:n.geometry.viewport?n.geometry.viewport:null});e(u,!0);return}if(n instanceof google.maps.LatLng)return w(n);if(typeof n=="string"&&n.substring(0,4)=="http")return p(n);alert("Internal error, unable to add location")}}function p(n){var t=new mapp.Poi({iconid:f,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)});e(t,!0)}function w(n){poi=new mapp.Poi({body:"",iconid:f,overlay:new google.maps.Marker({position:n}),title:n.toUrlValue(4)});e(poi,!0)}function b(n){var t;r.setDrawingMode(null);switch(n.type){case"polygon":case"polyline":case"circle":case"rectangle":t=new mapp.Poi({body:"",colors:u,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})}e(t,!1)}function e(n,u){t.closeInfoWindow();r&&r.setDrawingMode(null);t.insertPoi(n);u&&n.center(!0);i()}function k(){typeof tinyMCE!="undefined"&&typeof tinyMCE.init!="undefined"&&(d(),o&&h(),jQuery("#mapp_e_visual").click(function(){h();o=!0}),jQuery("#mapp_e_html").click(function(){c();o=!1}),google.maps.event.addListenerOnce(t.getInfoWindow(),"closeclick",function(){tinyMCE.get("mapp_e_poi_body")&&(tinyMCE.get("mapp_e_poi_body").save(),c())}))}function d(){var i="en",t,n;typeof window.tinyMCEPreInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit.content!="undefined"&&(t=window.tinyMCEPreInit.mceInit.content,i=typeof t.language!="undefined"?t.language:"en");n={mode:"none",height:"175px",convert_urls:!1,language:i,menubar:!1,plugins:"paste,wplink,textcolor,image",relative_urls:!1,remove_script_host:!1,statusbar:!1,theme:"modern",toolbar1:"formatselect,forecolor,bold,italic,alignleft,aligncenter,alignright,link,unlink,image",toolbar2:"",toolbar3:"",toolbar4:""};tinyMCE.majorVersion<"4"&&(oldOpts={plugins:"paste",skin:"wp_theme",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:""},n=jQuery.extend(n,oldOpts));tinyMCE.init(n)}function h(){tinyMCE.majorVersion>="4"?tinyMCE.execCommand("mceAddEditor",!1,"mapp_e_poi_body"):tinyMCE.execCommand("mceAddControl",!1,"mapp_e_poi_body")}function c(){tinyMCE.majorVersion>="4"?tinyMCE.execCommand("mceRemoveEditor",!1,"mapp_e_poi_body"):tinyMCE.execCommand("mceRemoveControl",!1,"mapp_e_poi_body")}function g(n){return t.closeInfoWindow(),confirm(mappl10n.delete_prompt)?(t.removePoi(n),i(),!0):!1}var r,s,f=null,u={fillColor:"#9FC6E7",fillOpacity:.5,strokeColor:"#0000FF",strokeOpacity:1,strokeWeight:2},o=!0,t=n;this.close=function(){t.closeInfoWindow()};this.resize=function(n,i){t.resize(n,i);t.closeInfoWindow();var r=jQuery("#mapp_e_top_toolbar").outerHeight(),u=jQuery("#mapp_edit").outerHeight();jQuery("#mapp_e_poi_list").height(r+u)};l.apply(this)}
|
1 |
+
var mapp=window.mapp||{};mapp.Media=function(){function u(i){n=i;jQuery("#mapp_m_editor").empty();jQuery("#mapp_m_editor").append(r.clone());var u=n.getMapid();u?jQuery("#mapp_m_mapid").text(u):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 f(){t.close();n=null;t=null;jQuery("#mapp_m_edit_panel").hide();jQuery("#mapp_m_list_panel").show()}function o(){mapp.Map.ajaxCreate("mapp_edit",i,function(n){u(n)})}function s(n){mapp.Map.ajaxGet(n,"mapp_edit",i,function(n){u(n)})}function h(n){var t='[mappress mapid="'+n+'"]';send_to_editor(t)}function e(){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);f()})}}function c(n){confirm(mappl10n.delete_map_prompt)&&(jQuery("#mapp_m_maplist tr[data-mapid='"+n+"']").remove(),mapp.Map.ajaxDelete(n))}var t,n,r,l=this,i;r=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 o(),!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")?(s(t),!1):jQuery(n.target).hasClass("mapp-maplist-delete")?(c(t),!1):jQuery(n.target).hasClass("mapp-maplist-insert")?(h(t),!1):void 0});jQuery(".mapp-m-size").click(function(){var n=jQuery(this).data("width"),i=jQuery(this).data("height");return jQuery("#mapp_m_width").val(n),jQuery("#mapp_m_height").val(i),t.resize(n,i),!1});jQuery("#mapp_m_width, #mapp_m_height").change(function(){var n=jQuery("#mapp_m_width").val(),i=jQuery("#mapp_m_height").val();return t.resize(n,i),!1});jQuery("#publish, #post-preview").click(function(){e()});jQuery("#mapp_m_save").click(function(){return e(),!1});jQuery("#mapp_m_title").keydown(function(n){if(n.which==13)return n.preventDefault(),jQuery("#mapp_m_save").click(),!1});jQuery("#mapp_m_cancel").click(function(){return f(),!1});jQuery("#mapp_m_insert").click(function(){var t=n.getMapid(),i='[mappress mapid="'+n.getMapid()+'"]';return t?send_to_editor(i):alert(mappl10n.save_first),!1});this.getMap=function(){return n}};mapp.Editor=function(n){function c(){o=jQuery("#mapp_e_infobox").detach();t=n;t.display();this.resize(t.getWidth(),t.getHeight());i();t.getGeocoder().autocompleteField("#mapp_e_saddr","#mapp_e_saddr_err","#mapp_e_search","#mapp_e_myloc",v);google.maps.event.addListener(t,"poicontent",l);google.maps.event.addListener(t,"poidomready",a);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 f=r[n].title.replace(/\'/g,"’"),e=mapp.Icons.getUrl(r[n].iconid),o=r[n].address;u+="<tr id='"+n+"'><td><img class='mapp-e-icon' src='"+e+"'><\/td><td style='width:100%'><a href='#' title='"+o+"'><b>"+f+"<\/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=t.getPoi(r);return jQuery(n.target).hasClass("mapp-e-poi-list-zoom")?i.zoomIn():jQuery(n.target).hasClass("mapp-e-poi-list-delete")?k(i):t.openPoi(i),!1})}function l(n,t){var i=jQuery(o).clone();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.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 a(n){var f={title:n.title,body:n.body,iconid:n.iconid,colors:n.getColors()},u;if(w(),jQuery("#mapp_e_poi_title").focus(),n.isPoly()){jQuery("#mapp_e_poi_poly_fields").show();u=n.getColors();jQuery("#mapp_e_poi_color").mappColorPicker({color:n.type=="polyline"?u.strokeColor:u.fillColor});jQuery("#mapp_e_poi_opacity").val(n.type=="polyline"?u.strokeOpacity*100:u.fillOpacity*100);jQuery("#mapp_e_poi_weight").val(u.strokeWeight);jQuery("#mapp_e_poi_color, #mapp_e_poi_opacity, #mapp_e_poi_weight").on("change change.mapp.colorpicker",function(){var t=jQuery("#mapp_e_poi_color").attr("data-mapp-color"),i=jQuery("#mapp_e_poi_opacity").val(),r=jQuery("#mapp_e_poi_weight").val();n.type=="polyline"?n.setColors({strokeColor:t,strokeOpacity:i/100,strokeWeight:r}):n.setColors({fillColor:t,fillOpacity:i/100,strokeColor:t,strokeWeight:r,strokeOpacity:1})})}if(!n.type){jQuery("#mapp_e_poi_iconid").mappIconPicker();jQuery("#mapp_e_poi_iconid").on("change.mapp.iconpicker",function(){n.setIcon(jQuery("#mapp_e_poi_iconid").val());r=n.iconid;i()})}google.maps.event.addListenerOnce(t.getInfoWindow(),"closeclick",function(){n.title=jQuery("#mapp_e_poi_title").val();n.body=jQuery("#mapp_e_poi_body").val();i()});jQuery("#mapp_e_save_poi").click(function(n){t.closeInfoWindow();n.preventDefault()});jQuery("#mapp_e_cancel_poi").click(function(r){t.closeInfoWindow();n.title=f.title;n.body=f.body;n.iconid=f.iconid;n.setIcon(f.iconid);n.setColors(f.colors);i();r.preventDefault()})}function v(n){if(n){if(n.geometry){var t=mapp.Geocoder.parseAddress(n.formatted_address),i=n.name?n.name:t.firstLine,f=n.name?t.firstLine+", "+t.secondLine:t.secondLine,e=new mapp.Poi({address:n.formatted_address,body:f,iconid:r,overlay:new google.maps.Marker({position:n.geometry.location}),title:i,type:null,viewport:n.geometry.viewport?n.geometry.viewport:null});u(e,!0);return}if(n instanceof google.maps.LatLng)return p(n);if(typeof n=="string"&&n.substring(0,4)=="http")return y(n);alert("Internal error, unable to add location")}}function y(n){var t=new mapp.Poi({iconid:r,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)});u(t,!0)}function p(n){poi=new mapp.Poi({body:"",iconid:r,overlay:new google.maps.Marker({position:n}),title:n.toUrlValue(4)});u(poi,!0)}function u(n,r){t.closeInfoWindow();f&&f.setDrawingMode(null);t.insertPoi(n);r&&n.center(!0);i()}function w(){typeof tinyMCE!="undefined"&&typeof tinyMCE.init!="undefined"&&(b(),e&&s(),jQuery("#mapp_e_visual").click(function(){s();e=!0}),jQuery("#mapp_e_html").click(function(){h();e=!1}),google.maps.event.addListenerOnce(t.getInfoWindow(),"closeclick",function(){tinyMCE.get("mapp_e_poi_body")&&(tinyMCE.get("mapp_e_poi_body").save(),h())}))}function b(){var i="en",t,n;typeof tinyMCEPreInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit!="undefined"&&typeof window.tinyMCEPreInit.mceInit.content!="undefined"&&(t=window.tinyMCEPreInit.mceInit.content,i=typeof t.language!="undefined"?t.language:"en");n={mode:"none",height:"175px",convert_urls:!1,language:i,menubar:!1,plugins:"paste,wplink,textcolor,image",relative_urls:!1,remove_script_host:!1,statusbar:!1,theme:"modern",toolbar1:"formatselect,forecolor,bold,italic,alignleft,aligncenter,alignright,link,unlink,image",toolbar2:"",toolbar3:"",toolbar4:""};tinyMCE.majorVersion<"4"&&(oldOpts={plugins:"paste",skin:"wp_theme",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:""},n=jQuery.extend(n,oldOpts));tinyMCE.init(n)}function s(){tinyMCE.majorVersion>="4"?tinyMCE.execCommand("mceAddEditor",!1,"mapp_e_poi_body"):tinyMCE.execCommand("mceAddControl",!1,"mapp_e_poi_body")}function h(){tinyMCE.majorVersion>="4"?tinyMCE.execCommand("mceRemoveEditor",!1,"mapp_e_poi_body"):tinyMCE.execCommand("mceRemoveControl",!1,"mapp_e_poi_body")}function k(n){return t.closeInfoWindow(),confirm(mappl10n.delete_prompt)?(t.removePoi(n),i(),!0):!1}var f,o,r=null,e=!0,t=n;this.close=function(){t.closeInfoWindow()};this.resize=function(n,i){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(r+u)};c.apply(this)}
|
js/mappress_settings.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
+function(n){function t(t,i,r){mapp.lib.ajax({data:{action:i,key:r},cache:!0,spinner:t,callback:function(i){var u="",r,f;for(r in i.data)f=n(t).val()==r?" selected ":"",u+='<option value="'+r+'" '+f+">"+i.data[r]+"<\/option>";n(t).html(u);n(t).change()}})}n(document).ready(function(){n('input[name="mappress_options[defaultIcon]"]').on("change.mapp.iconpicker",function(t,i){mappl10n.options.defaultIcon=i;n("[data-mapp-iconpicker]").mappIconPicker("setImage")});n("[data-mapp-grid]").on("add.mapp.grid",function(t,i){n("[data-mapp-iconpicker]",i).mappIconPicker()});jQuery("[data-mapp-grid]").on("change",".mapp-rule-key",function(){var i=jQuery(this).closest("tr");t(jQuery(".mapp-rule-values",i),"mapp_get_rule_values",n(this).val())});n("#mapp_styles").edt();n(".mapp-expand").on("focus",function(){n(this).attr({rows:20,cols:100})});n(".mapp-expand").on("blur",function(){n(this).attr({rows:1,cols:20})})})}(jQuery);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-fr_FR.mo
CHANGED
Binary file
|
languages/mappress-fr_FR.po
CHANGED
@@ -1,23 +1,47 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: MapPress Easy Google Maps v2.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
-
"Language-Team:
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
13 |
-
"X-Poedit-
|
14 |
-
"X-Poedit-
|
15 |
-
"
|
16 |
-
"
|
17 |
"X-Poedit-Basepath: ..\n"
|
18 |
"X-Textdomain-Support: yes\n"
|
|
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
# @ mappress
|
22 |
#: mappress.php:122
|
23 |
msgid "Version"
|
@@ -31,603 +55,561 @@ msgstr "Documentation"
|
|
31 |
# @ mappress
|
32 |
#: mappress.php:131
|
33 |
msgid "Support"
|
34 |
-
msgstr ""
|
35 |
|
36 |
# @ mappress
|
37 |
#: mappress.php:132
|
38 |
msgid "Contact"
|
39 |
-
msgstr ""
|
40 |
|
41 |
# @ mappress
|
42 |
#: mappress.php:135
|
43 |
msgid "Upgrade to MapPress Pro"
|
44 |
-
msgstr ""
|
45 |
|
46 |
# @ mappress
|
47 |
-
#: mappress.php:
|
48 |
-
msgid "
|
49 |
-
|
|
|
|
|
|
|
|
|
50 |
|
51 |
# @ mappress
|
52 |
-
#: mappress.php:
|
53 |
-
msgid "
|
|
|
|
|
54 |
msgstr ""
|
|
|
|
|
55 |
|
56 |
# @ mappress
|
57 |
-
#: mappress.php:
|
58 |
-
msgid "
|
|
|
|
|
59 |
msgstr ""
|
|
|
|
|
60 |
|
61 |
# @ mappress
|
62 |
-
#: mappress.php:
|
63 |
msgid "Bicycling"
|
64 |
msgstr "A vélo"
|
65 |
|
66 |
# @ mappress
|
67 |
-
#: mappress.php:
|
68 |
msgid "Bike"
|
69 |
-
msgstr ""
|
70 |
|
71 |
# @ mappress
|
72 |
-
#: mappress.php:
|
73 |
msgid "One of the addresses could not be found."
|
74 |
-
msgstr ""
|
75 |
|
76 |
# @ mappress
|
77 |
-
#: mappress.php:
|
78 |
-
msgid "
|
79 |
-
|
|
|
|
|
|
|
|
|
80 |
|
81 |
# @ mappress
|
82 |
-
#: mappress.php:
|
83 |
msgid "Unknown error, unable to return directions. Status code = "
|
84 |
msgstr "Erreur inconnue, impossible de définir l'itinéraire. Code de statut ="
|
85 |
|
86 |
# @ mappress
|
87 |
-
#: mappress.php:
|
88 |
-
#: mappress_poi.php:282
|
89 |
-
#: mappress_settings.php:129
|
90 |
-
#: pro/mappress_widget.php:108
|
91 |
-
msgid "Directions"
|
92 |
-
msgstr "Itinéraires"
|
93 |
-
|
94 |
-
# @ mappress
|
95 |
-
#: mappress.php:539
|
96 |
msgid "Error reading KML file"
|
97 |
-
msgstr ""
|
98 |
|
99 |
# @ mappress
|
100 |
-
#: mappress.php:
|
101 |
msgid "Loading..."
|
102 |
-
msgstr ""
|
103 |
|
104 |
# @ mappress
|
105 |
-
#: mappress.php:
|
106 |
msgid "No matching address"
|
107 |
msgstr "Aucune adresse trouvée"
|
108 |
|
109 |
# @ mappress
|
110 |
-
#: mappress.php:
|
111 |
msgid "Unable to get your location"
|
112 |
-
msgstr ""
|
113 |
|
114 |
# @ mappress
|
115 |
-
#: mappress.php:
|
116 |
-
#: mappress_settings.php:321
|
117 |
msgid "Traffic"
|
118 |
msgstr "Circulation"
|
119 |
|
120 |
# @ mappress
|
121 |
-
#: mappress.php:
|
122 |
msgid "Transit"
|
123 |
-
msgstr ""
|
124 |
-
|
125 |
-
# @ mappress
|
126 |
-
#: mappress.php:545
|
127 |
-
#: mappress_poi.php:331
|
128 |
-
#: mappress_settings.php:316
|
129 |
-
#: mappress_settings.php:455
|
130 |
-
#: pro/mappress_widget.php:124
|
131 |
-
msgid "Zoom"
|
132 |
-
msgstr "Zoom"
|
133 |
|
134 |
# @ mappress
|
135 |
-
#: mappress.php:
|
136 |
msgid "Add"
|
137 |
msgstr "Ajouter"
|
138 |
|
139 |
# @ mappress
|
140 |
-
#: mappress.php:
|
141 |
msgid "Click & drag to move"
|
142 |
-
msgstr ""
|
143 |
|
144 |
# @ mappress
|
145 |
-
#: mappress.php:
|
146 |
msgid "Click to change"
|
147 |
-
msgstr ""
|
148 |
|
149 |
# @ mappress
|
150 |
-
#: mappress.php:
|
151 |
-
#: mappress_map.php:428
|
152 |
msgid "Delete"
|
153 |
msgstr "Supprimer"
|
154 |
|
155 |
# @ mappress
|
156 |
-
#: mappress.php:
|
157 |
msgid "Delete this POI?"
|
158 |
-
msgstr ""
|
159 |
|
160 |
# @ mappress
|
161 |
-
#: mappress.php:
|
162 |
msgid "Delete this map?"
|
163 |
-
msgstr "Supprimer cette carte
|
164 |
|
165 |
# @ mappress
|
166 |
-
#: mappress.php:
|
167 |
msgid "Please save the map first"
|
168 |
-
msgstr ""
|
169 |
|
170 |
# @ mappress
|
171 |
-
#: mappress.php:
|
172 |
msgid "Shape"
|
173 |
-
msgstr ""
|
174 |
|
175 |
# @ mappress
|
176 |
-
#: mappress.php:
|
177 |
msgid "Untitled"
|
178 |
msgstr "Sans titre"
|
179 |
|
180 |
-
# @
|
181 |
-
#:
|
182 |
-
msgid "
|
183 |
-
msgstr ""
|
184 |
-
|
185 |
-
# @ mappress
|
186 |
-
#: mappress_map.php:196
|
187 |
-
#: mappress_map.php:202
|
188 |
-
msgid "Internal error, your data has not been saved!"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
# @ mappress
|
192 |
-
#: mappress_map.php:427
|
193 |
-
msgid "Edit"
|
194 |
-
msgstr "Editer"
|
195 |
-
|
196 |
-
# @ mappress
|
197 |
-
#: mappress_map.php:467
|
198 |
-
msgid "Show map"
|
199 |
-
msgstr ""
|
200 |
-
|
201 |
-
# @ mappress
|
202 |
-
#: mappress_map.php:479
|
203 |
-
#: mappress_settings.php:447
|
204 |
-
#: forms/map_editor.php:5
|
205 |
-
msgid "Center map"
|
206 |
-
msgstr ""
|
207 |
-
|
208 |
-
# @ mappress
|
209 |
-
#: mappress_map.php:488
|
210 |
-
#: mappress_settings.php:448
|
211 |
-
msgid "Reset map"
|
212 |
-
msgstr ""
|
213 |
-
|
214 |
-
# @ mappress
|
215 |
-
#: mappress_map.php:497
|
216 |
-
#: mappress_settings.php:446
|
217 |
-
msgid "Bigger map"
|
218 |
-
msgstr "Agrandir"
|
219 |
-
|
220 |
-
# @ mappress
|
221 |
-
#: mappress_map.php:498
|
222 |
-
msgid "Smaller map"
|
223 |
-
msgstr "Rétrécir"
|
224 |
|
225 |
# @ mappress
|
226 |
-
#:
|
227 |
-
|
228 |
-
|
229 |
-
msgstr ""
|
230 |
|
231 |
-
# @ default
|
232 |
# @ mappress
|
233 |
-
#:
|
234 |
-
|
235 |
-
msgid "
|
236 |
-
msgstr ""
|
237 |
|
238 |
# @ mappress
|
239 |
-
#: mappress_settings.php:
|
240 |
msgid "Basic Settings"
|
241 |
msgstr "Paramètres"
|
242 |
|
243 |
# @ mappress
|
244 |
-
#: mappress_settings.php:
|
245 |
msgid "Post types"
|
246 |
msgstr "Types d'article"
|
247 |
|
248 |
# @ mappress
|
249 |
-
#: mappress_settings.php:
|
250 |
msgid "Automatic map display"
|
251 |
msgstr "Affichage de la carte automatique"
|
252 |
|
253 |
# @ mappress
|
254 |
-
#: mappress_settings.php:
|
255 |
msgid "Map Controls"
|
256 |
-
msgstr ""
|
257 |
|
258 |
# @ mappress
|
259 |
-
#: mappress_settings.php:
|
260 |
msgid "Draggable"
|
261 |
-
msgstr ""
|
262 |
|
263 |
# @ mappress
|
264 |
-
#: mappress_settings.php:
|
265 |
msgid "Keyboard shortcuts"
|
266 |
msgstr "Raccourcis clavier"
|
267 |
|
268 |
# @ mappress
|
269 |
-
#: mappress_settings.php:
|
270 |
msgid "Scroll wheel zoom"
|
271 |
msgstr "Zoomer avec la roulette de souris"
|
272 |
|
273 |
# @ mappress
|
274 |
-
#: mappress_settings.php:
|
275 |
msgid "Map Types"
|
276 |
-
msgstr ""
|
277 |
|
278 |
# @ mappress
|
279 |
-
#: mappress_settings.php:
|
280 |
msgid "Map controls"
|
281 |
-
msgstr ""
|
282 |
|
283 |
# @ mappress
|
284 |
-
#: mappress_settings.php:
|
285 |
msgid "Map Settings"
|
286 |
-
msgstr ""
|
287 |
|
288 |
# @ mappress
|
289 |
-
#: mappress_settings.php:
|
290 |
msgid "Map links"
|
291 |
-
msgstr ""
|
292 |
|
293 |
# @ mappress
|
294 |
-
#: mappress_settings.php:
|
295 |
msgid "Map alignment"
|
296 |
msgstr "Plan d'alignement"
|
297 |
|
298 |
# @ mappress
|
299 |
-
#: mappress_settings.php:
|
300 |
msgid "Map border"
|
301 |
-
msgstr ""
|
302 |
|
303 |
# @ mappress
|
304 |
-
#: mappress_settings.php:
|
305 |
msgid "Map border color"
|
306 |
-
msgstr ""
|
307 |
|
308 |
# @ mappress
|
309 |
-
#: mappress_settings.php:
|
310 |
msgid "Open first POI"
|
311 |
-
msgstr ""
|
312 |
|
313 |
# @ mappress
|
314 |
-
#: mappress_settings.php:
|
315 |
msgid "POI Settings"
|
316 |
-
msgstr ""
|
317 |
|
318 |
# @ mappress
|
319 |
-
#: mappress_settings.php:
|
320 |
msgid "POI links"
|
321 |
-
msgstr ""
|
322 |
|
323 |
# @ mappress
|
324 |
-
#: mappress_settings.php:
|
325 |
msgid "Tooltips"
|
326 |
msgstr "Infobulles"
|
327 |
|
328 |
# @ mappress
|
329 |
-
#: mappress_settings.php:
|
330 |
msgid "Default zoom"
|
331 |
-
msgstr ""
|
332 |
|
333 |
# @ mappress
|
334 |
-
#: mappress_settings.php:
|
335 |
msgid "Mashups"
|
336 |
-
msgstr ""
|
337 |
|
338 |
# @ mappress
|
339 |
-
#: mappress_settings.php:
|
340 |
msgid "Icons"
|
341 |
-
msgstr ""
|
342 |
|
343 |
# @ mappress
|
344 |
-
#: mappress_settings.php:
|
345 |
msgid "Styled Maps"
|
346 |
-
msgstr ""
|
347 |
|
348 |
# @ mappress
|
349 |
-
#: mappress_settings.php:
|
350 |
msgid "Geocoding"
|
351 |
-
msgstr ""
|
352 |
|
353 |
# @ mappress
|
354 |
-
#: mappress_settings.php:
|
355 |
msgid "Localization"
|
356 |
-
msgstr ""
|
357 |
|
358 |
# @ mappress
|
359 |
-
#: mappress_settings.php:
|
360 |
msgid "Language"
|
361 |
msgstr "Langue"
|
362 |
|
363 |
# @ mappress
|
364 |
-
#: mappress_settings.php:
|
365 |
msgid "Country"
|
366 |
msgstr "Pays"
|
367 |
|
368 |
# @ mappress
|
369 |
-
#: mappress_settings.php:
|
370 |
msgid "Directions server"
|
371 |
-
msgstr ""
|
372 |
|
373 |
# @ mappress
|
374 |
-
#: mappress_settings.php:
|
375 |
msgid "Directions units"
|
376 |
-
msgstr ""
|
377 |
|
378 |
# @ mappress
|
379 |
-
#: mappress_settings.php:
|
380 |
msgid "Miscellaneous"
|
381 |
-
msgstr ""
|
382 |
|
383 |
# @ mappress
|
384 |
-
#: mappress_settings.php:
|
385 |
-
msgid "
|
386 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
387 |
|
388 |
# @ mappress
|
389 |
-
#: mappress_settings.php:
|
390 |
msgid "Turn off CSS"
|
391 |
-
msgstr ""
|
392 |
|
393 |
# @ mappress
|
394 |
-
#: mappress_settings.php:
|
|
|
|
|
|
|
|
|
|
|
395 |
msgid "Load maps last"
|
396 |
-
msgstr ""
|
397 |
|
398 |
# @ default
|
399 |
-
#: mappress_settings.php:
|
400 |
msgid "Use the settings below to automatically create maps from custom fields."
|
401 |
msgstr ""
|
|
|
|
|
402 |
|
403 |
# @ mappress
|
404 |
-
#: mappress_settings.php:
|
405 |
msgid "Posts"
|
406 |
-
msgstr ""
|
407 |
|
408 |
# @ mappress
|
409 |
-
#: mappress_settings.php:
|
410 |
msgid "Pages"
|
411 |
-
msgstr ""
|
412 |
|
413 |
# @ mappress
|
414 |
-
#: mappress_settings.php:
|
415 |
msgid "country code"
|
416 |
-
msgstr "Code
|
417 |
|
418 |
# @ mappress
|
419 |
-
#: mappress_settings.php:
|
420 |
#, php-format
|
421 |
msgid "Enter a %s to use when searching (leave blank for USA)"
|
422 |
-
msgstr "
|
|
|
|
|
423 |
|
424 |
# @ mappress
|
425 |
-
#: mappress_settings.php:
|
426 |
msgid "Enter a google server URL for directions/printing"
|
427 |
-
msgstr ""
|
428 |
|
429 |
# @ mappress
|
430 |
-
#: mappress_settings.php:
|
431 |
msgid "(Default)"
|
432 |
-
msgstr ""
|
433 |
|
434 |
# @ mappress
|
435 |
-
#: mappress_settings.php:
|
436 |
msgid "Metric (kilometers)"
|
437 |
-
msgstr ""
|
438 |
|
439 |
# @ mappress
|
440 |
-
#: mappress_settings.php:
|
441 |
msgid "Imperial (miles)"
|
442 |
-
msgstr ""
|
443 |
|
444 |
# @ mappress
|
445 |
-
#: mappress_settings.php:
|
446 |
msgid "Enable map dragging with the mouse"
|
447 |
-
msgstr ""
|
448 |
|
449 |
# @ mappress
|
450 |
-
#: mappress_settings.php:
|
451 |
msgid "Enable zoom with the mouse scroll wheel"
|
452 |
msgstr "Activer le zoom avec la roulette de la souris"
|
453 |
|
454 |
# @ mappress
|
455 |
-
#: mappress_settings.php:
|
456 |
msgid "Enable keyboard panning and zooming"
|
457 |
-
msgstr "Activer
|
458 |
|
459 |
# @ mappress
|
460 |
-
#: mappress_settings.php:
|
461 |
msgid "language"
|
462 |
msgstr "Langue"
|
463 |
|
464 |
# @ mappress
|
465 |
-
#: mappress_settings.php:
|
466 |
#, php-format
|
467 |
msgid "Use a specific %s for map controls and geocoding"
|
468 |
-
msgstr ""
|
469 |
|
470 |
# @ mappress
|
471 |
-
#: mappress_settings.php:
|
472 |
-
#: mappress_settings.php:
|
473 |
-
#: mappress_settings.php:384
|
474 |
msgid "Default"
|
475 |
msgstr "Défaut"
|
476 |
|
477 |
# @ mappress
|
478 |
-
#: mappress_settings.php:
|
479 |
msgid "Horizontal"
|
480 |
-
msgstr ""
|
481 |
|
482 |
# @ mappress
|
483 |
-
#: mappress_settings.php:
|
484 |
msgid "Dropdown"
|
485 |
-
msgstr ""
|
486 |
|
487 |
# @ mappress
|
488 |
-
#: mappress_settings.php:
|
489 |
msgid "Small"
|
490 |
msgstr "Petit"
|
491 |
|
492 |
# @ mappress
|
493 |
-
#: mappress_settings.php:
|
494 |
msgid "Large"
|
495 |
msgstr "Grand"
|
496 |
|
497 |
# @ mappress
|
498 |
-
#: mappress_settings.php:
|
499 |
msgid "Android"
|
500 |
-
msgstr ""
|
501 |
|
502 |
# @ mappress
|
503 |
-
#: mappress_settings.php:
|
504 |
msgid "Open initially"
|
505 |
-
msgstr ""
|
506 |
|
507 |
# @ mappress
|
508 |
-
#: mappress_settings.php:
|
509 |
-
#: mappress_settings.php:
|
510 |
-
#: mappress_settings.php:309
|
511 |
msgid "Checked initially"
|
512 |
-
msgstr ""
|
513 |
|
514 |
# @ mappress
|
515 |
-
#: mappress_settings.php:
|
516 |
msgid "Control"
|
517 |
-
msgstr ""
|
518 |
|
519 |
# @ default
|
520 |
-
#: mappress_settings.php:
|
521 |
msgid "Enable"
|
522 |
-
msgstr ""
|
523 |
|
524 |
# @ mappress
|
525 |
-
#: mappress_settings.php:
|
526 |
-
#: mappress_settings.php:409
|
527 |
msgid "Style"
|
528 |
-
msgstr ""
|
529 |
|
530 |
# @ mappress
|
531 |
-
#: mappress_settings.php:
|
532 |
msgid "Map types"
|
533 |
msgstr "Types de carte"
|
534 |
|
535 |
# @ mappress
|
536 |
-
#: mappress_settings.php:
|
537 |
msgid "Pan"
|
538 |
-
msgstr ""
|
539 |
|
540 |
# @ mappress
|
541 |
-
#: mappress_settings.php:
|
542 |
msgid "Street view"
|
543 |
-
msgstr ""
|
544 |
|
545 |
# @ mappress
|
546 |
-
#: mappress_settings.php:
|
547 |
msgid "Scale"
|
548 |
-
msgstr ""
|
549 |
|
550 |
# @ mappress
|
551 |
-
#: mappress_settings.php:
|
552 |
msgid "Overview map"
|
553 |
-
msgstr ""
|
554 |
|
555 |
# @ mappress
|
556 |
-
#: mappress_settings.php:
|
557 |
msgid "Public transit"
|
558 |
-
msgstr ""
|
559 |
|
560 |
# @ mappress
|
561 |
-
#: mappress_settings.php:
|
562 |
msgid "Bike routes"
|
563 |
-
msgstr ""
|
564 |
|
565 |
# @ mappress
|
566 |
-
#: mappress_settings.php:
|
567 |
msgid "Road map"
|
568 |
-
msgstr ""
|
569 |
|
570 |
# @ mappress
|
571 |
-
#: mappress_settings.php:
|
572 |
-
#: pro/mappress_widget.php:142
|
573 |
msgid "Satellite"
|
574 |
-
msgstr ""
|
575 |
|
576 |
# @ mappress
|
577 |
-
#: mappress_settings.php:
|
578 |
-
#: pro/mappress_widget.php:143
|
579 |
msgid "Terrain"
|
580 |
-
msgstr ""
|
581 |
|
582 |
# @ mappress
|
583 |
-
#: mappress_settings.php:
|
584 |
-
#: pro/mappress_widget.php:141
|
585 |
msgid "Hybrid"
|
586 |
-
msgstr ""
|
587 |
|
588 |
# @ mappress
|
589 |
-
#: mappress_settings.php:
|
590 |
msgid "Inline (in your blog)"
|
591 |
msgstr "Incorporé (dans votre blog)"
|
592 |
|
593 |
# @ mappress
|
594 |
-
#: mappress_settings.php:
|
595 |
-
#: pro/mappress_pro_settings.php:165
|
596 |
-
#: pro/mappress_widget.php:110
|
597 |
msgid "Google"
|
598 |
msgstr "Google"
|
599 |
|
600 |
# @ mappress
|
601 |
-
#: mappress_settings.php:
|
602 |
-
#: pro/mappress_widget.php:111
|
603 |
msgid "None"
|
604 |
msgstr "Aucun"
|
605 |
|
606 |
# @ mappress
|
607 |
-
#: mappress_settings.php:
|
608 |
msgid "Automatically open the first POI when a map is displayed"
|
609 |
msgstr ""
|
|
|
|
|
610 |
|
611 |
# @ mappress
|
612 |
-
#: mappress_settings.php:
|
613 |
-
#: mappress_settings.php:368
|
614 |
msgid "Show control"
|
615 |
-
msgstr ""
|
616 |
|
617 |
# @ mappress
|
618 |
-
#: mappress_settings.php:
|
619 |
-
#: mappress_settings.php:372
|
620 |
msgid "Enabled by default"
|
621 |
-
msgstr ""
|
622 |
|
623 |
# @ mappress
|
624 |
#: mappress_settings.php:377
|
625 |
msgid "Show POI titles as a \"tooltip\" on mouse-over"
|
626 |
-
msgstr ""
|
627 |
|
628 |
# @ mappress
|
629 |
#: mappress_settings.php:385
|
630 |
-
#: pro/mappress_widget.php:116
|
631 |
msgid "Center"
|
632 |
msgstr "Centre"
|
633 |
|
@@ -644,605 +626,304 @@ msgstr "Droite"
|
|
644 |
# @ mappress
|
645 |
#: mappress_settings.php:399
|
646 |
msgid "solid"
|
647 |
-
msgstr ""
|
648 |
|
649 |
# @ mappress
|
650 |
#: mappress_settings.php:400
|
651 |
msgid "dashed"
|
652 |
-
msgstr ""
|
653 |
|
654 |
# @ mappress
|
655 |
#: mappress_settings.php:401
|
656 |
msgid "dotted"
|
657 |
-
msgstr ""
|
658 |
|
659 |
# @ mappress
|
660 |
#: mappress_settings.php:402
|
661 |
msgid "double"
|
662 |
-
msgstr ""
|
663 |
|
664 |
# @ mappress
|
665 |
#: mappress_settings.php:403
|
666 |
msgid "groove"
|
667 |
-
msgstr ""
|
668 |
|
669 |
# @ mappress
|
670 |
#: mappress_settings.php:404
|
671 |
msgid "inset"
|
672 |
-
msgstr ""
|
673 |
|
674 |
# @ mappress
|
675 |
#: mappress_settings.php:405
|
676 |
msgid "outset"
|
677 |
-
msgstr ""
|
678 |
|
679 |
# @ mappress
|
680 |
-
#: mappress_settings.php:417
|
681 |
msgid "Width"
|
682 |
-
msgstr ""
|
683 |
|
684 |
# @ mappress
|
685 |
#: mappress_settings.php:423
|
686 |
msgid "Corner radius"
|
687 |
-
msgstr ""
|
688 |
|
689 |
# @ mappress
|
690 |
-
#: mappress_settings.php:
|
691 |
msgid "Color"
|
692 |
-
msgstr ""
|
693 |
|
694 |
# @ mappress
|
695 |
-
#: mappress_settings.php:
|
696 |
msgid "Display shadow"
|
697 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
698 |
|
699 |
# @ mappress
|
700 |
-
#: mappress_settings.php:
|
|
|
|
|
|
|
|
|
|
|
701 |
msgid "Default zoom for POIs entered by lat/lng"
|
702 |
-
msgstr ""
|
703 |
|
704 |
# @ mappress
|
705 |
-
#: mappress_settings.php:
|
706 |
msgid "Top of post"
|
707 |
msgstr "Haut de l'article"
|
708 |
|
709 |
# @ mappress
|
710 |
-
#: mappress_settings.php:
|
711 |
msgid "Bottom of post"
|
712 |
msgstr "Bas de l'article"
|
713 |
|
714 |
# @ mappress
|
715 |
-
#: mappress_settings.php:
|
716 |
msgid "No automatic display"
|
717 |
msgstr "Pas d'affichage automatique"
|
718 |
|
|
|
|
|
|
|
|
|
719 |
# @ mappress
|
720 |
-
#: mappress_settings.php:
|
721 |
msgid "Recenter maps when window is resized"
|
722 |
-
msgstr ""
|
723 |
|
724 |
# @ mappress
|
725 |
-
#: mappress_settings.php:
|
726 |
#, php-format
|
727 |
msgid "Don't load the %s stylesheet"
|
728 |
-
msgstr ""
|
729 |
|
730 |
# @ mappress
|
731 |
-
#: mappress_settings.php:
|
732 |
msgid "Load maps in window 'load' event"
|
733 |
-
msgstr ""
|
734 |
|
735 |
# @ mappress
|
736 |
-
#: mappress_settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
737 |
msgid "Rate it 5 Stars"
|
738 |
-
msgstr ""
|
739 |
|
740 |
# @ mappress
|
741 |
-
#: mappress_settings.php:
|
742 |
#, php-format
|
743 |
msgid "%s on WordPress.org"
|
744 |
-
msgstr ""
|
745 |
|
746 |
# @ mappress
|
747 |
-
#: mappress_settings.php:
|
748 |
msgid "Thanks for your support!"
|
749 |
-
msgstr ""
|
750 |
|
751 |
# @ mappress
|
752 |
-
#: mappress_settings.php:
|
753 |
msgid "MapPress"
|
754 |
-
msgstr ""
|
755 |
|
756 |
# @ mappress
|
757 |
-
#: mappress_settings.php:
|
758 |
msgid "Easy Google Maps"
|
759 |
-
msgstr ""
|
760 |
|
761 |
# @ mappress
|
762 |
-
#: mappress_settings.php:
|
763 |
msgid "Like this plugin?"
|
764 |
-
msgstr ""
|
765 |
|
766 |
# @ mappress
|
767 |
-
#: mappress_settings.php:
|
768 |
msgid "Sample Map"
|
769 |
-
msgstr ""
|
770 |
|
771 |
# @ mappress
|
772 |
-
#: mappress_settings.php:
|
773 |
msgid "Save Changes"
|
774 |
msgstr "Sauvergarder les modifications"
|
775 |
|
776 |
# @ mappress
|
777 |
-
#: mappress_settings.php:
|
778 |
msgid "Reset Defaults"
|
779 |
msgstr "Réinitialiser"
|
780 |
|
781 |
-
# @ default
|
782 |
-
#: mappress_updater.php:19
|
783 |
-
msgid "Settings"
|
784 |
-
msgstr ""
|
785 |
-
|
786 |
-
# @ mappress
|
787 |
-
#: mappress_updater.php:45
|
788 |
-
msgid "download it now"
|
789 |
-
msgstr ""
|
790 |
-
|
791 |
-
# @ mappress
|
792 |
-
#: mappress_updater.php:50
|
793 |
-
#, php-format
|
794 |
-
msgid "A PRO Version update is available for manual installation: %s"
|
795 |
-
msgstr ""
|
796 |
-
|
797 |
-
# @ mappress
|
798 |
-
#: forms/map_editor.php:4
|
799 |
-
#: templates/map_directions.php:11
|
800 |
-
msgid "My location"
|
801 |
-
msgstr ""
|
802 |
-
|
803 |
# @ mappress
|
804 |
-
#:
|
805 |
-
msgid "
|
806 |
-
msgstr ""
|
807 |
-
|
808 |
-
# @ mappress
|
809 |
-
#: forms/map_editor_infobox.php:22
|
810 |
-
msgid "Line: "
|
811 |
-
msgstr ""
|
812 |
-
|
813 |
-
# @ mappress
|
814 |
-
#: forms/map_editor_infobox.php:24
|
815 |
-
msgid "Weight"
|
816 |
-
msgstr ""
|
817 |
|
818 |
# @ mappress
|
819 |
-
#:
|
820 |
-
|
821 |
-
|
822 |
-
msgstr ""
|
823 |
|
824 |
# @ mappress
|
825 |
-
#: forms/
|
826 |
-
msgid "
|
827 |
-
msgstr ""
|
828 |
|
829 |
# @ mappress
|
830 |
-
#:
|
831 |
-
msgid "
|
832 |
-
msgstr ""
|
833 |
|
834 |
# @ mappress
|
835 |
-
#:
|
836 |
-
msgid "
|
837 |
-
msgstr ""
|
838 |
|
839 |
# @ mappress
|
840 |
-
#: forms/map_media.php:
|
841 |
msgid "Maps for This Post"
|
842 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
843 |
|
844 |
# @ mappress
|
845 |
-
#: forms/map_media.php:
|
846 |
msgid "Map ID"
|
847 |
msgstr "ID de la carte"
|
848 |
|
849 |
-
# @ mappress
|
850 |
-
#: forms/map_media.php:24
|
851 |
-
msgid "Size"
|
852 |
-
msgstr ""
|
853 |
-
|
854 |
# @ default
|
855 |
-
#: forms/map_media.php:
|
856 |
msgid "Map Title"
|
857 |
-
msgstr ""
|
858 |
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
#: pro/mappress_geocoders.php:76
|
864 |
-
#, php-format
|
865 |
-
msgid "Invalid status: %s, address: %s"
|
866 |
-
msgstr ""
|
867 |
-
|
868 |
-
#: pro/mappress_geocoders.php:85
|
869 |
-
#: pro/mappress_geocoders.php:149
|
870 |
-
#, php-format
|
871 |
-
msgid "No results for address: %s"
|
872 |
-
msgstr ""
|
873 |
|
874 |
-
#:
|
875 |
-
|
876 |
-
|
877 |
-
msgstr ""
|
878 |
|
879 |
-
|
880 |
-
#: pro/mappress_icons.php:62
|
881 |
msgid "Cancel"
|
882 |
msgstr "Annuler"
|
883 |
|
884 |
# @ mappress
|
885 |
-
#:
|
886 |
-
|
887 |
-
|
888 |
-
msgstr "Réinitialiser"
|
889 |
-
|
890 |
-
# @ mappress
|
891 |
-
#: pro/mappress_pro.php:151
|
892 |
-
#, fuzzy
|
893 |
-
msgid "Automatic"
|
894 |
-
msgstr "Affichage de la carte automatique"
|
895 |
-
|
896 |
-
#: pro/mappress_pro_settings.php:10
|
897 |
-
msgid "POI list"
|
898 |
-
msgstr ""
|
899 |
-
|
900 |
-
#: pro/mappress_pro_settings.php:11
|
901 |
-
msgid "Use DataTables"
|
902 |
-
msgstr ""
|
903 |
-
|
904 |
-
#: pro/mappress_pro_settings.php:13
|
905 |
-
msgid "InfoWindow type"
|
906 |
-
msgstr ""
|
907 |
-
|
908 |
-
#: pro/mappress_pro_settings.php:14
|
909 |
-
msgid "InfoWindow panning"
|
910 |
-
msgstr ""
|
911 |
-
|
912 |
-
# @ mappress
|
913 |
-
#: pro/mappress_pro_settings.php:16
|
914 |
-
#, fuzzy
|
915 |
-
msgid "Default icon"
|
916 |
-
msgstr "Défaut"
|
917 |
-
|
918 |
-
#: pro/mappress_pro_settings.php:17
|
919 |
-
msgid "Custom icons directory"
|
920 |
-
msgstr ""
|
921 |
-
|
922 |
-
#: pro/mappress_pro_settings.php:19
|
923 |
-
msgid "Mashup POI title"
|
924 |
-
msgstr ""
|
925 |
-
|
926 |
-
#: pro/mappress_pro_settings.php:20
|
927 |
-
msgid "Mashup POI body"
|
928 |
-
msgstr ""
|
929 |
-
|
930 |
-
#: pro/mappress_pro_settings.php:21
|
931 |
-
msgid "Mashup POI click"
|
932 |
-
msgstr ""
|
933 |
|
934 |
# @ mappress
|
935 |
-
#:
|
936 |
-
|
937 |
-
|
938 |
-
msgstr "Sans titre"
|
939 |
-
|
940 |
-
#: pro/mappress_pro_settings.php:23
|
941 |
-
msgid "Mashup Thumbnails"
|
942 |
-
msgstr ""
|
943 |
-
|
944 |
-
#: pro/mappress_pro_settings.php:24
|
945 |
-
msgid "Thumbnail Size"
|
946 |
-
msgstr ""
|
947 |
|
948 |
# @ mappress
|
949 |
-
#:
|
950 |
-
|
951 |
-
|
952 |
-
msgstr "Rétrécir"
|
953 |
|
954 |
# @ mappress
|
955 |
-
#:
|
956 |
-
|
957 |
-
|
958 |
-
msgstr "Défaut"
|
959 |
-
|
960 |
-
#: pro/mappress_pro_settings.php:29
|
961 |
-
msgid "Geocoder(s)"
|
962 |
-
msgstr ""
|
963 |
-
|
964 |
-
#: pro/mappress_pro_settings.php:30
|
965 |
-
msgid "Geocoding fields"
|
966 |
-
msgstr ""
|
967 |
-
|
968 |
-
#: pro/mappress_pro_settings.php:32
|
969 |
-
msgid "API key (optional)"
|
970 |
-
msgstr ""
|
971 |
|
972 |
# @ mappress
|
973 |
-
#:
|
974 |
-
|
975 |
-
|
976 |
-
msgstr "Types de carte"
|
977 |
-
|
978 |
-
#: pro/mappress_pro_settings.php:34
|
979 |
-
msgid "Force resize"
|
980 |
-
msgstr ""
|
981 |
-
|
982 |
-
#: pro/mappress_pro_settings.php:63
|
983 |
-
msgid "Show a list of POIs under each map"
|
984 |
-
msgstr ""
|
985 |
-
|
986 |
-
#: pro/mappress_pro_settings.php:68
|
987 |
-
#, php-format
|
988 |
-
msgid "Show the POI list as a sortable %s"
|
989 |
-
msgstr ""
|
990 |
-
|
991 |
-
#: pro/mappress_pro_settings.php:72
|
992 |
-
msgid "POI title"
|
993 |
-
msgstr ""
|
994 |
|
995 |
# @ mappress
|
996 |
-
#:
|
997 |
-
|
998 |
-
|
999 |
-
msgstr "Types d'article"
|
1000 |
-
|
1001 |
-
#: pro/mappress_pro_settings.php:77
|
1002 |
-
msgid "POI body"
|
1003 |
-
msgstr ""
|
1004 |
|
1005 |
# @ mappress
|
1006 |
-
#:
|
1007 |
-
|
1008 |
-
|
1009 |
-
msgstr "Ajouter"
|
1010 |
-
|
1011 |
-
#: pro/mappress_pro_settings.php:77
|
1012 |
-
msgid "Post excerpt"
|
1013 |
-
msgstr ""
|
1014 |
-
|
1015 |
-
#: pro/mappress_pro_settings.php:82
|
1016 |
-
msgid "Link POI titles to the underlying post"
|
1017 |
-
msgstr ""
|
1018 |
-
|
1019 |
-
#: pro/mappress_pro_settings.php:86
|
1020 |
-
msgid "Open the POI"
|
1021 |
-
msgstr ""
|
1022 |
-
|
1023 |
-
#: pro/mappress_pro_settings.php:86
|
1024 |
-
msgid "Go directly to the post"
|
1025 |
-
msgstr ""
|
1026 |
-
|
1027 |
-
#: pro/mappress_pro_settings.php:92
|
1028 |
-
msgid "Google InfoWindow"
|
1029 |
-
msgstr ""
|
1030 |
-
|
1031 |
-
#: pro/mappress_pro_settings.php:93
|
1032 |
-
msgid "InfoBox (can be styled and extend outside the map)"
|
1033 |
-
msgstr ""
|
1034 |
-
|
1035 |
-
#: pro/mappress_pro_settings.php:99
|
1036 |
-
msgid "Disable map panning when infoWindow / infoBox is opened"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
-
#: pro/mappress_pro_settings.php:103
|
1040 |
-
msgid "Show featured image thumbnails in mashup POIs"
|
1041 |
-
msgstr ""
|
1042 |
-
|
1043 |
-
#: pro/mappress_pro_settings.php:111
|
1044 |
-
msgid "Use existing size: "
|
1045 |
-
msgstr ""
|
1046 |
-
|
1047 |
-
#: pro/mappress_pro_settings.php:114
|
1048 |
-
msgid "or resize to (px): "
|
1049 |
-
msgstr ""
|
1050 |
-
|
1051 |
-
#: pro/mappress_pro_settings.php:129
|
1052 |
-
msgid "styled maps"
|
1053 |
-
msgstr ""
|
1054 |
-
|
1055 |
-
#: pro/mappress_pro_settings.php:130
|
1056 |
-
msgid "styled maps wizard"
|
1057 |
-
msgstr ""
|
1058 |
-
|
1059 |
-
#: pro/mappress_pro_settings.php:132
|
1060 |
-
#, php-format
|
1061 |
-
msgid "Enter JSON for %s from Google's %s"
|
1062 |
-
msgstr ""
|
1063 |
-
|
1064 |
-
#: pro/mappress_pro_settings.php:141
|
1065 |
-
msgid "Style name"
|
1066 |
-
msgstr ""
|
1067 |
-
|
1068 |
-
#: pro/mappress_pro_settings.php:155
|
1069 |
-
msgid "No styles have been defined yet"
|
1070 |
-
msgstr ""
|
1071 |
-
|
1072 |
-
#: pro/mappress_pro_settings.php:166
|
1073 |
-
msgid "Nominatim"
|
1074 |
-
msgstr ""
|
1075 |
-
|
1076 |
-
#: pro/mappress_pro_settings.php:178
|
1077 |
-
msgid "Address Line 1"
|
1078 |
-
msgstr ""
|
1079 |
-
|
1080 |
-
#: pro/mappress_pro_settings.php:179
|
1081 |
-
msgid "Address Line 2"
|
1082 |
-
msgstr ""
|
1083 |
-
|
1084 |
-
#: pro/mappress_pro_settings.php:180
|
1085 |
-
msgid "Address Line 3"
|
1086 |
-
msgstr ""
|
1087 |
-
|
1088 |
-
#: pro/mappress_pro_settings.php:181
|
1089 |
-
msgid "Address Line 4"
|
1090 |
-
msgstr ""
|
1091 |
-
|
1092 |
-
#: pro/mappress_pro_settings.php:182
|
1093 |
-
msgid "Latitude"
|
1094 |
-
msgstr ""
|
1095 |
-
|
1096 |
-
#: pro/mappress_pro_settings.php:183
|
1097 |
-
msgid "Longitude"
|
1098 |
-
msgstr ""
|
1099 |
-
|
1100 |
-
#: pro/mappress_pro_settings.php:184
|
1101 |
-
msgid "Icon"
|
1102 |
-
msgstr ""
|
1103 |
|
1104 |
# @ mappress
|
1105 |
-
#:
|
1106 |
-
|
1107 |
-
|
1108 |
-
msgstr "Sans titre"
|
1109 |
-
|
1110 |
-
#: pro/mappress_pro_settings.php:186
|
1111 |
-
msgid "Body"
|
1112 |
-
msgstr ""
|
1113 |
|
1114 |
# @ mappress
|
1115 |
-
#:
|
1116 |
-
|
1117 |
-
|
1118 |
-
msgstr "Zoom"
|
1119 |
|
1120 |
# @ mappress
|
1121 |
-
#:
|
1122 |
-
|
1123 |
-
|
1124 |
-
msgid "Map"
|
1125 |
-
msgstr "ID de la carte"
|
1126 |
-
|
1127 |
-
#: pro/mappress_pro_settings.php:190
|
1128 |
-
msgid "Custom Field"
|
1129 |
-
msgstr ""
|
1130 |
-
|
1131 |
-
#: pro/mappress_pro_settings.php:199
|
1132 |
-
msgid "Overwrite existing maps when upating"
|
1133 |
-
msgstr ""
|
1134 |
-
|
1135 |
-
#: pro/mappress_pro_settings.php:204
|
1136 |
-
msgid "usage tracking"
|
1137 |
-
msgstr ""
|
1138 |
-
|
1139 |
-
#: pro/mappress_pro_settings.php:205
|
1140 |
-
#, php-format
|
1141 |
-
msgid "API keys is needed only for premium services or %s"
|
1142 |
-
msgstr ""
|
1143 |
-
|
1144 |
-
#: pro/mappress_pro_settings.php:209
|
1145 |
-
msgid "Enter default map sizes"
|
1146 |
-
msgstr ""
|
1147 |
-
|
1148 |
-
#: pro/mappress_pro_settings.php:213
|
1149 |
-
msgid "Width(px)"
|
1150 |
-
msgstr ""
|
1151 |
-
|
1152 |
-
#: pro/mappress_pro_settings.php:213
|
1153 |
-
msgid "Height(px)"
|
1154 |
-
msgstr ""
|
1155 |
-
|
1156 |
-
#: pro/mappress_pro_settings.php:228
|
1157 |
-
msgid "Permanently resize existing maps"
|
1158 |
-
msgstr ""
|
1159 |
-
|
1160 |
-
#: pro/mappress_pro_settings.php:230
|
1161 |
-
#, php-format
|
1162 |
-
msgid "from %s to %s"
|
1163 |
-
msgstr ""
|
1164 |
-
|
1165 |
-
#: pro/mappress_pro_settings.php:231
|
1166 |
-
msgid "Force Resize"
|
1167 |
-
msgstr ""
|
1168 |
-
|
1169 |
-
#: pro/mappress_widget.php:78
|
1170 |
-
msgid "Widget title"
|
1171 |
-
msgstr ""
|
1172 |
-
|
1173 |
-
#: pro/mappress_widget.php:83
|
1174 |
-
msgid "Map size"
|
1175 |
-
msgstr ""
|
1176 |
-
|
1177 |
-
#: pro/mappress_widget.php:89
|
1178 |
-
msgid "Show"
|
1179 |
-
msgstr ""
|
1180 |
-
|
1181 |
-
#: pro/mappress_widget.php:90
|
1182 |
-
msgid "Current posts"
|
1183 |
-
msgstr ""
|
1184 |
-
|
1185 |
-
#: pro/mappress_widget.php:91
|
1186 |
-
msgid "Hide if empty"
|
1187 |
-
msgstr ""
|
1188 |
-
|
1189 |
-
#: pro/mappress_widget.php:93
|
1190 |
-
msgid "All posts"
|
1191 |
-
msgstr ""
|
1192 |
-
|
1193 |
-
#: pro/mappress_widget.php:94
|
1194 |
-
msgid "Custom query"
|
1195 |
-
msgstr ""
|
1196 |
-
|
1197 |
-
#: pro/mappress_widget.php:97
|
1198 |
-
msgid "Learn about queries"
|
1199 |
-
msgstr ""
|
1200 |
-
|
1201 |
-
#: pro/mappress_widget.php:102
|
1202 |
-
msgid "Show POI list"
|
1203 |
-
msgstr ""
|
1204 |
-
|
1205 |
-
#: pro/mappress_widget.php:104
|
1206 |
-
msgid "Link POIs to posts"
|
1207 |
-
msgstr ""
|
1208 |
-
|
1209 |
-
#: pro/mappress_widget.php:109
|
1210 |
-
msgid "Inline"
|
1211 |
-
msgstr ""
|
1212 |
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
msgid "Map type"
|
1217 |
-
msgstr "Types de carte"
|
1218 |
|
1219 |
# @ mappress
|
1220 |
-
#:
|
1221 |
-
|
1222 |
-
|
1223 |
-
msgstr "Paramètres"
|
1224 |
|
1225 |
-
#:
|
1226 |
-
msgid "
|
1227 |
-
msgstr ""
|
1228 |
|
1229 |
# @ mappress
|
1230 |
-
#: templates/map_directions.php:
|
1231 |
msgid "Swap start and end"
|
1232 |
msgstr "Inverser Début et Fin"
|
1233 |
|
1234 |
# @ mappress
|
1235 |
-
#: templates/map_directions.php:
|
|
|
|
|
|
|
|
|
|
|
1236 |
msgid "Print"
|
1237 |
-
msgstr ""
|
1238 |
|
1239 |
# @ mappress
|
1240 |
-
#: templates/map_directions.php:
|
1241 |
msgid "Close"
|
1242 |
msgstr "Fermer"
|
1243 |
-
|
1244 |
-
# @ mappress
|
1245 |
-
#: templates/map_poi_list.php:5
|
1246 |
-
msgid "Location"
|
1247 |
-
msgstr "Emplacement"
|
1248 |
-
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: MapPress Easy Google Maps v2.42.1\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-04-18 18:10+0100\n"
|
6 |
+
"PO-Revision-Date: 2014-04-18 18:11+0100\n"
|
7 |
+
"Last-Translator: BONALDI <nomail@nomail.fr>\n"
|
8 |
+
"Language-Team: Bonaldi <bonaldi.fr>\n"
|
9 |
+
"Language: fr_FR\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;esc_attr_e;esc_html_e;_e;__ngettext:1,2;_n:1,2;"
|
16 |
+
"__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;"
|
17 |
+
"_nx_noop:4c,1,2\n"
|
18 |
"X-Poedit-Basepath: ..\n"
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
+
"X-Generator: Poedit 1.5.4\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
+
# @ mappress
|
24 |
+
#: mappress_poi.php:214 mappress_settings.php:457
|
25 |
+
msgid "Directions to"
|
26 |
+
msgstr "Itinéraires vers"
|
27 |
+
|
28 |
+
# @ default
|
29 |
+
# @ mappress
|
30 |
+
#: mappress_poi.php:216 mappress_settings.php:458
|
31 |
+
msgid "Directions from"
|
32 |
+
msgstr "Itinéraires de"
|
33 |
+
|
34 |
+
# @ mappress
|
35 |
+
#: mappress_poi.php:249 mappress.php:552 mappress_settings.php:133
|
36 |
+
msgid "Directions"
|
37 |
+
msgstr "Itinéraires"
|
38 |
+
|
39 |
+
# @ mappress
|
40 |
+
#: mappress_poi.php:298 mappress.php:559 mappress_settings.php:317
|
41 |
+
#: mappress_settings.php:456
|
42 |
+
msgid "Zoom"
|
43 |
+
msgstr "Zoom"
|
44 |
+
|
45 |
# @ mappress
|
46 |
#: mappress.php:122
|
47 |
msgid "Version"
|
55 |
# @ mappress
|
56 |
#: mappress.php:131
|
57 |
msgid "Support"
|
58 |
+
msgstr "Support"
|
59 |
|
60 |
# @ mappress
|
61 |
#: mappress.php:132
|
62 |
msgid "Contact"
|
63 |
+
msgstr "Contact"
|
64 |
|
65 |
# @ mappress
|
66 |
#: mappress.php:135
|
67 |
msgid "Upgrade to MapPress Pro"
|
68 |
+
msgstr "Mise à niveau vers MapPress Pro"
|
69 |
|
70 |
# @ mappress
|
71 |
+
#: mappress.php:333
|
72 |
+
msgid ""
|
73 |
+
"MapPress database tables are missing. Please deactivate the plugin and "
|
74 |
+
"activate it again to fix this."
|
75 |
+
msgstr ""
|
76 |
+
"Les tables de la base de données MapPress sont manquantes. S'il vous plaît "
|
77 |
+
"désactiver l'extension et l'activer à nouveau pour résoudre ce problème."
|
78 |
|
79 |
# @ mappress
|
80 |
+
#: mappress.php:338
|
81 |
+
msgid ""
|
82 |
+
"WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade "
|
83 |
+
"before using MapPress."
|
84 |
msgstr ""
|
85 |
+
"ATTENTION: MapPress requiers WordPress 3.2 ou suivants. Svp, mettez-vous à "
|
86 |
+
"niveau avant d'utiliser MapPress."
|
87 |
|
88 |
# @ mappress
|
89 |
+
#: mappress.php:343
|
90 |
+
msgid ""
|
91 |
+
"WARNING: MapPress is not compfatible with the WP-Geo plugin. Please "
|
92 |
+
"deactivate or uninstall WP-Geo before using MapPress."
|
93 |
msgstr ""
|
94 |
+
"ATTENTION: MapPress n'est pas compatible avec l'extension WP-Geo. Svp, "
|
95 |
+
"désactivez-la avant d'utiliser MapPress."
|
96 |
|
97 |
# @ mappress
|
98 |
+
#: mappress.php:547 templates/map_directions.php:6
|
99 |
msgid "Bicycling"
|
100 |
msgstr "A vélo"
|
101 |
|
102 |
# @ mappress
|
103 |
+
#: mappress.php:548
|
104 |
msgid "Bike"
|
105 |
+
msgstr "Cycles"
|
106 |
|
107 |
# @ mappress
|
108 |
+
#: mappress.php:549
|
109 |
msgid "One of the addresses could not be found."
|
110 |
+
msgstr "Une des adresses n'a pu être trouvée."
|
111 |
|
112 |
# @ mappress
|
113 |
+
#: mappress.php:550
|
114 |
+
msgid ""
|
115 |
+
"Google cannot return directions between those addresses. There is no route "
|
116 |
+
"between them or the routing information is not available."
|
117 |
+
msgstr ""
|
118 |
+
"Google ne peut afficher l'itinéraire. Il n'y a pas de route ou les "
|
119 |
+
"informations sont indisponibles."
|
120 |
|
121 |
# @ mappress
|
122 |
+
#: mappress.php:551
|
123 |
msgid "Unknown error, unable to return directions. Status code = "
|
124 |
msgstr "Erreur inconnue, impossible de définir l'itinéraire. Code de statut ="
|
125 |
|
126 |
# @ mappress
|
127 |
+
#: mappress.php:553
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
msgid "Error reading KML file"
|
129 |
+
msgstr "Erreur de lecture fichier KML"
|
130 |
|
131 |
# @ mappress
|
132 |
+
#: mappress.php:554
|
133 |
msgid "Loading..."
|
134 |
+
msgstr "Charge..."
|
135 |
|
136 |
# @ mappress
|
137 |
+
#: mappress.php:555
|
138 |
msgid "No matching address"
|
139 |
msgstr "Aucune adresse trouvée"
|
140 |
|
141 |
# @ mappress
|
142 |
+
#: mappress.php:556
|
143 |
msgid "Unable to get your location"
|
144 |
+
msgstr "Impossible de trouver votre emplacement"
|
145 |
|
146 |
# @ mappress
|
147 |
+
#: mappress.php:557 mappress_settings.php:322
|
|
|
148 |
msgid "Traffic"
|
149 |
msgstr "Circulation"
|
150 |
|
151 |
# @ mappress
|
152 |
+
#: mappress.php:558
|
153 |
msgid "Transit"
|
154 |
+
msgstr "Transports"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
# @ mappress
|
157 |
+
#: mappress.php:564
|
158 |
msgid "Add"
|
159 |
msgstr "Ajouter"
|
160 |
|
161 |
# @ mappress
|
162 |
+
#: mappress.php:565
|
163 |
msgid "Click & drag to move"
|
164 |
+
msgstr "Cliquez & glissez pour déplacer"
|
165 |
|
166 |
# @ mappress
|
167 |
+
#: mappress.php:566
|
168 |
msgid "Click to change"
|
169 |
+
msgstr "Cliquez pour changer"
|
170 |
|
171 |
# @ mappress
|
172 |
+
#: mappress.php:567 mappress_map.php:444
|
|
|
173 |
msgid "Delete"
|
174 |
msgstr "Supprimer"
|
175 |
|
176 |
# @ mappress
|
177 |
+
#: mappress.php:568
|
178 |
msgid "Delete this POI?"
|
179 |
+
msgstr "Effacer ce POI"
|
180 |
|
181 |
# @ mappress
|
182 |
+
#: mappress.php:569
|
183 |
msgid "Delete this map?"
|
184 |
+
msgstr "Supprimer cette carte?"
|
185 |
|
186 |
# @ mappress
|
187 |
+
#: mappress.php:570
|
188 |
msgid "Please save the map first"
|
189 |
+
msgstr "Svp, enregistrez d'abord la carte"
|
190 |
|
191 |
# @ mappress
|
192 |
+
#: mappress.php:571
|
193 |
msgid "Shape"
|
194 |
+
msgstr "Forme"
|
195 |
|
196 |
# @ mappress
|
197 |
+
#: mappress.php:572 mappress_map.php:55
|
198 |
msgid "Untitled"
|
199 |
msgstr "Sans titre"
|
200 |
|
201 |
+
# @ default
|
202 |
+
#: mappress_updater.php:19
|
203 |
+
msgid "Settings"
|
204 |
+
msgstr "Réglages"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
|
206 |
# @ mappress
|
207 |
+
#: mappress_updater.php:41
|
208 |
+
msgid "download it now"
|
209 |
+
msgstr "téléchargez le maintenant"
|
|
|
210 |
|
|
|
211 |
# @ mappress
|
212 |
+
#: mappress_updater.php:46
|
213 |
+
#, php-format
|
214 |
+
msgid "A PRO Version update is available for manual installation: %s"
|
215 |
+
msgstr "Une version PRO est disponible pour installation manuelle: %s"
|
216 |
|
217 |
# @ mappress
|
218 |
+
#: mappress_settings.php:130
|
219 |
msgid "Basic Settings"
|
220 |
msgstr "Paramètres"
|
221 |
|
222 |
# @ mappress
|
223 |
+
#: mappress_settings.php:131
|
224 |
msgid "Post types"
|
225 |
msgstr "Types d'article"
|
226 |
|
227 |
# @ mappress
|
228 |
+
#: mappress_settings.php:132
|
229 |
msgid "Automatic map display"
|
230 |
msgstr "Affichage de la carte automatique"
|
231 |
|
232 |
# @ mappress
|
233 |
+
#: mappress_settings.php:135
|
234 |
msgid "Map Controls"
|
235 |
+
msgstr "Contrôles carte"
|
236 |
|
237 |
# @ mappress
|
238 |
+
#: mappress_settings.php:136
|
239 |
msgid "Draggable"
|
240 |
+
msgstr "Glissable"
|
241 |
|
242 |
# @ mappress
|
243 |
+
#: mappress_settings.php:137
|
244 |
msgid "Keyboard shortcuts"
|
245 |
msgstr "Raccourcis clavier"
|
246 |
|
247 |
# @ mappress
|
248 |
+
#: mappress_settings.php:138
|
249 |
msgid "Scroll wheel zoom"
|
250 |
msgstr "Zoomer avec la roulette de souris"
|
251 |
|
252 |
# @ mappress
|
253 |
+
#: mappress_settings.php:139
|
254 |
msgid "Map Types"
|
255 |
+
msgstr "Type carte"
|
256 |
|
257 |
# @ mappress
|
258 |
+
#: mappress_settings.php:140
|
259 |
msgid "Map controls"
|
260 |
+
msgstr "Contrôles carte"
|
261 |
|
262 |
# @ mappress
|
263 |
+
#: mappress_settings.php:142
|
264 |
msgid "Map Settings"
|
265 |
+
msgstr "Réglages carte"
|
266 |
|
267 |
# @ mappress
|
268 |
+
#: mappress_settings.php:143
|
269 |
msgid "Map links"
|
270 |
+
msgstr "Liens sur carte"
|
271 |
|
272 |
# @ mappress
|
273 |
+
#: mappress_settings.php:144
|
274 |
msgid "Map alignment"
|
275 |
msgstr "Plan d'alignement"
|
276 |
|
277 |
# @ mappress
|
278 |
+
#: mappress_settings.php:145
|
279 |
msgid "Map border"
|
280 |
+
msgstr "Bordure carte"
|
281 |
|
282 |
# @ mappress
|
283 |
+
#: mappress_settings.php:146
|
284 |
msgid "Map border color"
|
285 |
+
msgstr "Couleur bordure carte"
|
286 |
|
287 |
# @ mappress
|
288 |
+
#: mappress_settings.php:147
|
289 |
msgid "Open first POI"
|
290 |
+
msgstr "Ouvrir le premier POI"
|
291 |
|
292 |
# @ mappress
|
293 |
+
#: mappress_settings.php:149
|
294 |
msgid "POI Settings"
|
295 |
+
msgstr "Réglages POI"
|
296 |
|
297 |
# @ mappress
|
298 |
+
#: mappress_settings.php:150
|
299 |
msgid "POI links"
|
300 |
+
msgstr "Liens POI"
|
301 |
|
302 |
# @ mappress
|
303 |
+
#: mappress_settings.php:151
|
304 |
msgid "Tooltips"
|
305 |
msgstr "Infobulles"
|
306 |
|
307 |
# @ mappress
|
308 |
+
#: mappress_settings.php:152
|
309 |
msgid "Default zoom"
|
310 |
+
msgstr "Zoom défaut"
|
311 |
|
312 |
# @ mappress
|
313 |
+
#: mappress_settings.php:155
|
314 |
msgid "Mashups"
|
315 |
+
msgstr "Agrégations"
|
316 |
|
317 |
# @ mappress
|
318 |
+
#: mappress_settings.php:156
|
319 |
msgid "Icons"
|
320 |
+
msgstr "Icônes"
|
321 |
|
322 |
# @ mappress
|
323 |
+
#: mappress_settings.php:157
|
324 |
msgid "Styled Maps"
|
325 |
+
msgstr "Cartes stylées"
|
326 |
|
327 |
# @ mappress
|
328 |
+
#: mappress_settings.php:158
|
329 |
msgid "Geocoding"
|
330 |
+
msgstr "Géolocalisation"
|
331 |
|
332 |
# @ mappress
|
333 |
+
#: mappress_settings.php:161
|
334 |
msgid "Localization"
|
335 |
+
msgstr "Localisation"
|
336 |
|
337 |
# @ mappress
|
338 |
+
#: mappress_settings.php:162
|
339 |
msgid "Language"
|
340 |
msgstr "Langue"
|
341 |
|
342 |
# @ mappress
|
343 |
+
#: mappress_settings.php:163
|
344 |
msgid "Country"
|
345 |
msgstr "Pays"
|
346 |
|
347 |
# @ mappress
|
348 |
+
#: mappress_settings.php:164
|
349 |
msgid "Directions server"
|
350 |
+
msgstr "Serveur adresses"
|
351 |
|
352 |
# @ mappress
|
353 |
+
#: mappress_settings.php:165
|
354 |
msgid "Directions units"
|
355 |
+
msgstr "Unités itinéraires"
|
356 |
|
357 |
# @ mappress
|
358 |
+
#: mappress_settings.php:167
|
359 |
msgid "Miscellaneous"
|
360 |
+
msgstr "Divers"
|
361 |
|
362 |
# @ mappress
|
363 |
+
#: mappress_settings.php:168
|
364 |
+
msgid "Map sizes"
|
365 |
+
msgstr "Tailles carte"
|
366 |
+
|
367 |
+
#: mappress_settings.php:169
|
368 |
+
msgid "Fix Scrollbars"
|
369 |
+
msgstr "Ascenseurs"
|
370 |
|
371 |
# @ mappress
|
372 |
+
#: mappress_settings.php:170
|
373 |
msgid "Turn off CSS"
|
374 |
+
msgstr "Désactiver CSS"
|
375 |
|
376 |
# @ mappress
|
377 |
+
#: mappress_settings.php:171
|
378 |
+
msgid "Adaptive display"
|
379 |
+
msgstr "Affichage adaptatif"
|
380 |
+
|
381 |
+
# @ mappress
|
382 |
+
#: mappress_settings.php:172
|
383 |
msgid "Load maps last"
|
384 |
+
msgstr "Charger cartes en dernier"
|
385 |
|
386 |
# @ default
|
387 |
+
#: mappress_settings.php:222
|
388 |
msgid "Use the settings below to automatically create maps from custom fields."
|
389 |
msgstr ""
|
390 |
+
"Utilisez les paramètres ci-dessous pour créer automatiquement des cartes de "
|
391 |
+
"champs personnalisés."
|
392 |
|
393 |
# @ mappress
|
394 |
+
#: mappress_settings.php:228
|
395 |
msgid "Posts"
|
396 |
+
msgstr "Articles"
|
397 |
|
398 |
# @ mappress
|
399 |
+
#: mappress_settings.php:229
|
400 |
msgid "Pages"
|
401 |
+
msgstr "Pages"
|
402 |
|
403 |
# @ mappress
|
404 |
+
#: mappress_settings.php:241
|
405 |
msgid "country code"
|
406 |
+
msgstr "Code pays"
|
407 |
|
408 |
# @ mappress
|
409 |
+
#: mappress_settings.php:243
|
410 |
#, php-format
|
411 |
msgid "Enter a %s to use when searching (leave blank for USA)"
|
412 |
+
msgstr ""
|
413 |
+
"Entrer un %s à utiliser par défaut pour les recherches d'adresse. (laisser "
|
414 |
+
"vide pour les USA)"
|
415 |
|
416 |
# @ mappress
|
417 |
+
#: mappress_settings.php:250
|
418 |
msgid "Enter a google server URL for directions/printing"
|
419 |
+
msgstr "Entrez URL du serveur Google pour itinéraires / impression"
|
420 |
|
421 |
# @ mappress
|
422 |
+
#: mappress_settings.php:255
|
423 |
msgid "(Default)"
|
424 |
+
msgstr "(Défaut)"
|
425 |
|
426 |
# @ mappress
|
427 |
+
#: mappress_settings.php:255
|
428 |
msgid "Metric (kilometers)"
|
429 |
+
msgstr "Métrique (kilomètres)"
|
430 |
|
431 |
# @ mappress
|
432 |
+
#: mappress_settings.php:255
|
433 |
msgid "Imperial (miles)"
|
434 |
+
msgstr "Impérial (miles)"
|
435 |
|
436 |
# @ mappress
|
437 |
+
#: mappress_settings.php:260
|
438 |
msgid "Enable map dragging with the mouse"
|
439 |
+
msgstr "Autoriser le glissement de la carte avec la souris"
|
440 |
|
441 |
# @ mappress
|
442 |
+
#: mappress_settings.php:264
|
443 |
msgid "Enable zoom with the mouse scroll wheel"
|
444 |
msgstr "Activer le zoom avec la roulette de la souris"
|
445 |
|
446 |
# @ mappress
|
447 |
+
#: mappress_settings.php:268
|
448 |
msgid "Enable keyboard panning and zooming"
|
449 |
+
msgstr "Activer déplacement et zoom clavier"
|
450 |
|
451 |
# @ mappress
|
452 |
+
#: mappress_settings.php:274
|
453 |
msgid "language"
|
454 |
msgstr "Langue"
|
455 |
|
456 |
# @ mappress
|
457 |
+
#: mappress_settings.php:276
|
458 |
#, php-format
|
459 |
msgid "Use a specific %s for map controls and geocoding"
|
460 |
+
msgstr "Utilisez un %s spécifique pour contrôles de carte et géolocalisation"
|
461 |
|
462 |
# @ mappress
|
463 |
+
#: mappress_settings.php:284 mappress_settings.php:290
|
464 |
+
#: mappress_settings.php:384 mappress_settings.php:497
|
|
|
465 |
msgid "Default"
|
466 |
msgstr "Défaut"
|
467 |
|
468 |
# @ mappress
|
469 |
+
#: mappress_settings.php:285
|
470 |
msgid "Horizontal"
|
471 |
+
msgstr "Horizontal"
|
472 |
|
473 |
# @ mappress
|
474 |
+
#: mappress_settings.php:286
|
475 |
msgid "Dropdown"
|
476 |
+
msgstr "Déroulant"
|
477 |
|
478 |
# @ mappress
|
479 |
+
#: mappress_settings.php:291
|
480 |
msgid "Small"
|
481 |
msgstr "Petit"
|
482 |
|
483 |
# @ mappress
|
484 |
+
#: mappress_settings.php:292
|
485 |
msgid "Large"
|
486 |
msgstr "Grand"
|
487 |
|
488 |
# @ mappress
|
489 |
+
#: mappress_settings.php:293
|
490 |
msgid "Android"
|
491 |
+
msgstr "Android"
|
492 |
|
493 |
# @ mappress
|
494 |
+
#: mappress_settings.php:304
|
495 |
msgid "Open initially"
|
496 |
+
msgstr "Activé initialement"
|
497 |
|
498 |
# @ mappress
|
499 |
+
#: mappress_settings.php:306 mappress_settings.php:308
|
500 |
+
#: mappress_settings.php:310
|
|
|
501 |
msgid "Checked initially"
|
502 |
+
msgstr "Coché initialement"
|
503 |
|
504 |
# @ mappress
|
505 |
+
#: mappress_settings.php:312
|
506 |
msgid "Control"
|
507 |
+
msgstr "Contrôle"
|
508 |
|
509 |
# @ default
|
510 |
+
#: mappress_settings.php:312
|
511 |
msgid "Enable"
|
512 |
+
msgstr "Activer"
|
513 |
|
514 |
# @ mappress
|
515 |
+
#: mappress_settings.php:312 mappress_settings.php:409
|
|
|
516 |
msgid "Style"
|
517 |
+
msgstr "Style"
|
518 |
|
519 |
# @ mappress
|
520 |
+
#: mappress_settings.php:315
|
521 |
msgid "Map types"
|
522 |
msgstr "Types de carte"
|
523 |
|
524 |
# @ mappress
|
525 |
+
#: mappress_settings.php:316
|
526 |
msgid "Pan"
|
527 |
+
msgstr "Déplacement"
|
528 |
|
529 |
# @ mappress
|
530 |
+
#: mappress_settings.php:318
|
531 |
msgid "Street view"
|
532 |
+
msgstr "Vue rue"
|
533 |
|
534 |
# @ mappress
|
535 |
+
#: mappress_settings.php:319
|
536 |
msgid "Scale"
|
537 |
+
msgstr "Echelle"
|
538 |
|
539 |
# @ mappress
|
540 |
+
#: mappress_settings.php:320
|
541 |
msgid "Overview map"
|
542 |
+
msgstr "Vue générale"
|
543 |
|
544 |
# @ mappress
|
545 |
+
#: mappress_settings.php:321
|
546 |
msgid "Public transit"
|
547 |
+
msgstr "Transports publiques"
|
548 |
|
549 |
# @ mappress
|
550 |
+
#: mappress_settings.php:323
|
551 |
msgid "Bike routes"
|
552 |
+
msgstr "Pistes cyclables"
|
553 |
|
554 |
# @ mappress
|
555 |
+
#: mappress_settings.php:330
|
556 |
msgid "Road map"
|
557 |
+
msgstr "Carte routière"
|
558 |
|
559 |
# @ mappress
|
560 |
+
#: mappress_settings.php:331
|
|
|
561 |
msgid "Satellite"
|
562 |
+
msgstr "Satellite"
|
563 |
|
564 |
# @ mappress
|
565 |
+
#: mappress_settings.php:332
|
|
|
566 |
msgid "Terrain"
|
567 |
+
msgstr "Reliefs"
|
568 |
|
569 |
# @ mappress
|
570 |
+
#: mappress_settings.php:333
|
|
|
571 |
msgid "Hybrid"
|
572 |
+
msgstr "Hybride"
|
573 |
|
574 |
# @ mappress
|
575 |
+
#: mappress_settings.php:346
|
576 |
msgid "Inline (in your blog)"
|
577 |
msgstr "Incorporé (dans votre blog)"
|
578 |
|
579 |
# @ mappress
|
580 |
+
#: mappress_settings.php:347
|
|
|
|
|
581 |
msgid "Google"
|
582 |
msgstr "Google"
|
583 |
|
584 |
# @ mappress
|
585 |
+
#: mappress_settings.php:348
|
|
|
586 |
msgid "None"
|
587 |
msgstr "Aucun"
|
588 |
|
589 |
# @ mappress
|
590 |
+
#: mappress_settings.php:355
|
591 |
msgid "Automatically open the first POI when a map is displayed"
|
592 |
msgstr ""
|
593 |
+
"Ouvrir automatiquement le premier POI à l'affichage d'une carte (Point Of "
|
594 |
+
"Interest)"
|
595 |
|
596 |
# @ mappress
|
597 |
+
#: mappress_settings.php:360 mappress_settings.php:369
|
|
|
598 |
msgid "Show control"
|
599 |
+
msgstr "Voir contrôle"
|
600 |
|
601 |
# @ mappress
|
602 |
+
#: mappress_settings.php:364 mappress_settings.php:373
|
|
|
603 |
msgid "Enabled by default"
|
604 |
+
msgstr "Activé par défaut"
|
605 |
|
606 |
# @ mappress
|
607 |
#: mappress_settings.php:377
|
608 |
msgid "Show POI titles as a \"tooltip\" on mouse-over"
|
609 |
+
msgstr "Voir titres POI en \"infobulles\" au survol de la souris"
|
610 |
|
611 |
# @ mappress
|
612 |
#: mappress_settings.php:385
|
|
|
613 |
msgid "Center"
|
614 |
msgstr "Centre"
|
615 |
|
626 |
# @ mappress
|
627 |
#: mappress_settings.php:399
|
628 |
msgid "solid"
|
629 |
+
msgstr "solide"
|
630 |
|
631 |
# @ mappress
|
632 |
#: mappress_settings.php:400
|
633 |
msgid "dashed"
|
634 |
+
msgstr "tirets"
|
635 |
|
636 |
# @ mappress
|
637 |
#: mappress_settings.php:401
|
638 |
msgid "dotted"
|
639 |
+
msgstr "pointillés"
|
640 |
|
641 |
# @ mappress
|
642 |
#: mappress_settings.php:402
|
643 |
msgid "double"
|
644 |
+
msgstr "double"
|
645 |
|
646 |
# @ mappress
|
647 |
#: mappress_settings.php:403
|
648 |
msgid "groove"
|
649 |
+
msgstr "rainuré"
|
650 |
|
651 |
# @ mappress
|
652 |
#: mappress_settings.php:404
|
653 |
msgid "inset"
|
654 |
+
msgstr "interne"
|
655 |
|
656 |
# @ mappress
|
657 |
#: mappress_settings.php:405
|
658 |
msgid "outset"
|
659 |
+
msgstr "externe"
|
660 |
|
661 |
# @ mappress
|
662 |
+
#: mappress_settings.php:417 mappress_settings.php:497
|
663 |
msgid "Width"
|
664 |
+
msgstr "Largeur"
|
665 |
|
666 |
# @ mappress
|
667 |
#: mappress_settings.php:423
|
668 |
msgid "Corner radius"
|
669 |
+
msgstr "Arrondis"
|
670 |
|
671 |
# @ mappress
|
672 |
+
#: mappress_settings.php:432
|
673 |
msgid "Color"
|
674 |
+
msgstr "Couleur"
|
675 |
|
676 |
# @ mappress
|
677 |
+
#: mappress_settings.php:442
|
678 |
msgid "Display shadow"
|
679 |
+
msgstr "Afficher ombre"
|
680 |
+
|
681 |
+
# @ mappress
|
682 |
+
#: mappress_settings.php:447 mappress_map.php:513
|
683 |
+
msgid "Bigger map"
|
684 |
+
msgstr "Agrandir"
|
685 |
+
|
686 |
+
# @ mappress
|
687 |
+
#: mappress_settings.php:448 mappress_map.php:495 forms/map_editor.php:17
|
688 |
+
msgid "Center map"
|
689 |
+
msgstr "Centrer"
|
690 |
|
691 |
# @ mappress
|
692 |
+
#: mappress_settings.php:449 mappress_map.php:504
|
693 |
+
msgid "Reset map"
|
694 |
+
msgstr "Réinitialiser"
|
695 |
+
|
696 |
+
# @ mappress
|
697 |
+
#: mappress_settings.php:466
|
698 |
msgid "Default zoom for POIs entered by lat/lng"
|
699 |
+
msgstr "Zoom par défaut des POI entrés par lat/lng"
|
700 |
|
701 |
# @ mappress
|
702 |
+
#: mappress_settings.php:472
|
703 |
msgid "Top of post"
|
704 |
msgstr "Haut de l'article"
|
705 |
|
706 |
# @ mappress
|
707 |
+
#: mappress_settings.php:473
|
708 |
msgid "Bottom of post"
|
709 |
msgstr "Bas de l'article"
|
710 |
|
711 |
# @ mappress
|
712 |
+
#: mappress_settings.php:474
|
713 |
msgid "No automatic display"
|
714 |
msgstr "Pas d'affichage automatique"
|
715 |
|
716 |
+
#: mappress_settings.php:481
|
717 |
+
msgid "Fix InfoWindow Scrollbars"
|
718 |
+
msgstr "Réglage Ascenseurs Fenêtre Info"
|
719 |
+
|
720 |
# @ mappress
|
721 |
+
#: mappress_settings.php:485
|
722 |
msgid "Recenter maps when window is resized"
|
723 |
+
msgstr "Recentre la carte lorsque la fenêtre est redimensionnée"
|
724 |
|
725 |
# @ mappress
|
726 |
+
#: mappress_settings.php:489
|
727 |
#, php-format
|
728 |
msgid "Don't load the %s stylesheet"
|
729 |
+
msgstr "Ne charge pas la feuille de style %s"
|
730 |
|
731 |
# @ mappress
|
732 |
+
#: mappress_settings.php:493
|
733 |
msgid "Load maps in window 'load' event"
|
734 |
+
msgstr "Charge la carte dans un événement window 'load'"
|
735 |
|
736 |
# @ mappress
|
737 |
+
#: mappress_settings.php:497
|
738 |
+
msgid "Height"
|
739 |
+
msgstr "Hauteur"
|
740 |
+
|
741 |
+
#: mappress_settings.php:508
|
742 |
+
msgid "Enter sizes in px or %"
|
743 |
+
msgstr "Entrer tailles en px ou %"
|
744 |
+
|
745 |
+
# @ mappress
|
746 |
+
#: mappress_settings.php:518
|
747 |
msgid "Rate it 5 Stars"
|
748 |
+
msgstr "Noter 5 étoiles"
|
749 |
|
750 |
# @ mappress
|
751 |
+
#: mappress_settings.php:520
|
752 |
#, php-format
|
753 |
msgid "%s on WordPress.org"
|
754 |
+
msgstr "%s sur WordPress.org"
|
755 |
|
756 |
# @ mappress
|
757 |
+
#: mappress_settings.php:521
|
758 |
msgid "Thanks for your support!"
|
759 |
+
msgstr "Merci de votre soutien!"
|
760 |
|
761 |
# @ mappress
|
762 |
+
#: mappress_settings.php:548
|
763 |
msgid "MapPress"
|
764 |
+
msgstr "MapPress"
|
765 |
|
766 |
# @ mappress
|
767 |
+
#: mappress_settings.php:549
|
768 |
msgid "Easy Google Maps"
|
769 |
+
msgstr "Easy Google Maps"
|
770 |
|
771 |
# @ mappress
|
772 |
+
#: mappress_settings.php:598
|
773 |
msgid "Like this plugin?"
|
774 |
+
msgstr "Vous aimez cette extension?"
|
775 |
|
776 |
# @ mappress
|
777 |
+
#: mappress_settings.php:600
|
778 |
msgid "Sample Map"
|
779 |
+
msgstr "Carte exemple"
|
780 |
|
781 |
# @ mappress
|
782 |
+
#: mappress_settings.php:619
|
783 |
msgid "Save Changes"
|
784 |
msgstr "Sauvergarder les modifications"
|
785 |
|
786 |
# @ mappress
|
787 |
+
#: mappress_settings.php:620
|
788 |
msgid "Reset Defaults"
|
789 |
msgstr "Réinitialiser"
|
790 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
791 |
# @ mappress
|
792 |
+
#: mappress_map.php:122
|
793 |
+
msgid "Map not found"
|
794 |
+
msgstr "Carte non trouvée"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
795 |
|
796 |
# @ mappress
|
797 |
+
#: mappress_map.php:442
|
798 |
+
msgid "Edit"
|
799 |
+
msgstr "Editer"
|
|
|
800 |
|
801 |
# @ mappress
|
802 |
+
#: mappress_map.php:443 forms/map_media.php:48
|
803 |
+
msgid "Insert into post"
|
804 |
+
msgstr "Insérer dans l'article"
|
805 |
|
806 |
# @ mappress
|
807 |
+
#: mappress_map.php:483
|
808 |
+
msgid "Show map"
|
809 |
+
msgstr "Voir carte"
|
810 |
|
811 |
# @ mappress
|
812 |
+
#: mappress_map.php:514
|
813 |
+
msgid "Smaller map"
|
814 |
+
msgstr "Rétrécir"
|
815 |
|
816 |
# @ mappress
|
817 |
+
#: forms/map_media.php:11
|
818 |
msgid "Maps for This Post"
|
819 |
+
msgstr "Cartes pour Cet article"
|
820 |
+
|
821 |
+
#: forms/map_media.php:12
|
822 |
+
msgid "New Map"
|
823 |
+
msgstr "Nouvelle Carte"
|
824 |
|
825 |
# @ mappress
|
826 |
+
#: forms/map_media.php:22
|
827 |
msgid "Map ID"
|
828 |
msgstr "ID de la carte"
|
829 |
|
|
|
|
|
|
|
|
|
|
|
830 |
# @ default
|
831 |
+
#: forms/map_media.php:27
|
832 |
msgid "Map Title"
|
833 |
+
msgstr "Titre carte"
|
834 |
|
835 |
+
# @ mappress
|
836 |
+
#: forms/map_media.php:32
|
837 |
+
msgid "Size"
|
838 |
+
msgstr "Taille"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
839 |
|
840 |
+
#: forms/map_media.php:46 forms/map_editor_infobox.php:45
|
841 |
+
msgid "Save"
|
842 |
+
msgstr "Enregistrer"
|
|
|
843 |
|
844 |
+
#: forms/map_media.php:47 forms/map_editor_infobox.php:46
|
|
|
845 |
msgid "Cancel"
|
846 |
msgstr "Annuler"
|
847 |
|
848 |
# @ mappress
|
849 |
+
#: forms/map_editor_infobox.php:22
|
850 |
+
msgid "Line: "
|
851 |
+
msgstr "Ligne: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
852 |
|
853 |
# @ mappress
|
854 |
+
#: forms/map_editor_infobox.php:24
|
855 |
+
msgid "Weight"
|
856 |
+
msgstr "Poids"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
857 |
|
858 |
# @ mappress
|
859 |
+
#: forms/map_editor_infobox.php:25 forms/map_editor_infobox.php:31
|
860 |
+
msgid "Opacity"
|
861 |
+
msgstr "Opacité"
|
|
|
862 |
|
863 |
# @ mappress
|
864 |
+
#: forms/map_editor_infobox.php:29
|
865 |
+
msgid "Fill: "
|
866 |
+
msgstr "Remplissage: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
867 |
|
868 |
# @ mappress
|
869 |
+
#: forms/map_editor_infobox.php:40
|
870 |
+
msgid "Visual"
|
871 |
+
msgstr "Visuel"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
872 |
|
873 |
# @ mappress
|
874 |
+
#: forms/map_editor_infobox.php:40
|
875 |
+
msgid "HTML"
|
876 |
+
msgstr "HTML"
|
|
|
|
|
|
|
|
|
|
|
877 |
|
878 |
# @ mappress
|
879 |
+
#: forms/map_editor.php:2
|
880 |
+
msgid "Add POI"
|
881 |
+
msgstr "Ajouter POI"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
882 |
|
883 |
# @ mappress
|
884 |
+
#: forms/map_editor.php:5
|
885 |
+
msgid "My location"
|
886 |
+
msgstr "Mon emplacement"
|
|
|
|
|
|
|
|
|
|
|
887 |
|
888 |
# @ mappress
|
889 |
+
#: forms/map_editor.php:18
|
890 |
+
msgid "Click map for lat/lng: "
|
891 |
+
msgstr "Cliquez sur la carte pour lat/lng"
|
|
|
892 |
|
893 |
# @ mappress
|
894 |
+
#: templates/map_poi_list.php:5
|
895 |
+
msgid "Location"
|
896 |
+
msgstr "Emplacement"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
|
898 |
+
#: templates/map_directions.php:3
|
899 |
+
msgid "By car"
|
900 |
+
msgstr "En voiture"
|
|
|
|
|
901 |
|
902 |
# @ mappress
|
903 |
+
#: templates/map_directions.php:4
|
904 |
+
msgid "Public Transit"
|
905 |
+
msgstr "Transports Publics"
|
|
|
906 |
|
907 |
+
#: templates/map_directions.php:5
|
908 |
+
msgid "Walking"
|
909 |
+
msgstr "A pied"
|
910 |
|
911 |
# @ mappress
|
912 |
+
#: templates/map_directions.php:15
|
913 |
msgid "Swap start and end"
|
914 |
msgstr "Inverser Début et Fin"
|
915 |
|
916 |
# @ mappress
|
917 |
+
#: templates/map_directions.php:25
|
918 |
+
msgid "Get Directions"
|
919 |
+
msgstr "Itinéraires"
|
920 |
+
|
921 |
+
# @ mappress
|
922 |
+
#: templates/map_directions.php:26
|
923 |
msgid "Print"
|
924 |
+
msgstr "Imprimer"
|
925 |
|
926 |
# @ mappress
|
927 |
+
#: templates/map_directions.php:27
|
928 |
msgid "Close"
|
929 |
msgstr "Fermer"
|
|
|
|
|
|
|
|
|
|
|
|
languages/mappress-ru_RU.mo
ADDED
Binary file
|
languages/mappress-ru_RU.po
ADDED
@@ -0,0 +1,1087 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: AG translate RU\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-04-12 15:45-0800\n"
|
6 |
+
"PO-Revision-Date: 2014-09-03 15:45+0400\n"
|
7 |
+
"Last-Translator: AG <helirexi@gmail.com>\n"
|
8 |
+
"Language-Team: helirexi <helirexi@gmail.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;esc_attr_e;esc_attr__;"
|
13 |
+
"esc_html_e;esc_html__\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Generator: Poedit 1.6.7\n"
|
16 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
17 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
18 |
+
"Language: ru_RU\n"
|
19 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
20 |
+
"X-Poedit-SearchPath-0: ..\n"
|
21 |
+
|
22 |
+
#: ../mappress.php:122
|
23 |
+
msgid "Version"
|
24 |
+
msgstr "Version"
|
25 |
+
|
26 |
+
#: ../mappress.php:130
|
27 |
+
msgid "Documentation"
|
28 |
+
msgstr "Documentation"
|
29 |
+
|
30 |
+
#: ../mappress.php:131
|
31 |
+
msgid "Support"
|
32 |
+
msgstr "Support"
|
33 |
+
|
34 |
+
#: ../mappress.php:132
|
35 |
+
msgid "Contact"
|
36 |
+
msgstr "Contact"
|
37 |
+
|
38 |
+
#: ../mappress.php:135
|
39 |
+
msgid "Upgrade to MapPress Pro"
|
40 |
+
msgstr "обновить до MapPress Pro"
|
41 |
+
|
42 |
+
#: ../mappress.php:333
|
43 |
+
msgid ""
|
44 |
+
"MapPress database tables are missing. Please deactivate the plugin and "
|
45 |
+
"activate it again to fix this."
|
46 |
+
msgstr ""
|
47 |
+
"Таблицы БД MapPress не найдены. Пожалуйста деактивируйте плагин и "
|
48 |
+
"активируйте снова чтобы исправить это."
|
49 |
+
|
50 |
+
#: ../mappress.php:338
|
51 |
+
msgid ""
|
52 |
+
"WARNING: MapPress now requires WordPress 3.2 or higher. Please upgrade "
|
53 |
+
"before using MapPress."
|
54 |
+
msgstr ""
|
55 |
+
"ВНИМАНИЕ: MapPress требует WordPress 3.2 и выше. Обновитесь перед "
|
56 |
+
"использованием MapPress."
|
57 |
+
|
58 |
+
#: ../mappress.php:343
|
59 |
+
msgid ""
|
60 |
+
"WARNING: MapPress is not compfatible with the WP-Geo plugin. Please "
|
61 |
+
"deactivate or uninstall WP-Geo before using MapPress."
|
62 |
+
msgstr ""
|
63 |
+
"ВНИМАНИЕ: MapPress не совместим с WP-Geo плагином. Удалите или "
|
64 |
+
"деактивируйте WP-Geo перед использованием MapPress."
|
65 |
+
|
66 |
+
#: ../mappress.php:547 ../templates/map_directions.php:6
|
67 |
+
msgid "Bicycling"
|
68 |
+
msgstr "На велосипеде"
|
69 |
+
|
70 |
+
#: ../mappress.php:548
|
71 |
+
msgid "Bike"
|
72 |
+
msgstr "Велосипед"
|
73 |
+
|
74 |
+
#: ../mappress.php:549
|
75 |
+
msgid "One of the addresses could not be found."
|
76 |
+
msgstr "Один из адресов не может быть найден"
|
77 |
+
|
78 |
+
#: ../mappress.php:550
|
79 |
+
msgid ""
|
80 |
+
"Google cannot return directions between those addresses. There is no route "
|
81 |
+
"between them or the routing information is not available."
|
82 |
+
msgstr ""
|
83 |
+
"Google не может вернуть маршруты между этими адресами. Нет маршрутов между "
|
84 |
+
"ними или информация о маршрутах недоступна."
|
85 |
+
|
86 |
+
#: ../mappress.php:551
|
87 |
+
msgid "Unknown error, unable to return directions. Status code = "
|
88 |
+
msgstr "Неизвестная ошибка, невозможно получить направления. Код статуса ="
|
89 |
+
|
90 |
+
#: ../mappress.php:552 ../mappress_poi.php:251 ../mappress_settings.php:133
|
91 |
+
#: ../pro/mappress_widget.php:108
|
92 |
+
msgid "Directions"
|
93 |
+
msgstr "Направления"
|
94 |
+
|
95 |
+
#: ../mappress.php:553
|
96 |
+
msgid "Error reading KML file"
|
97 |
+
msgstr "Ошибка чтения файла KLM"
|
98 |
+
|
99 |
+
#: ../mappress.php:554
|
100 |
+
msgid "Loading..."
|
101 |
+
msgstr "Загрузка..."
|
102 |
+
|
103 |
+
#: ../mappress.php:555
|
104 |
+
msgid "No matching address"
|
105 |
+
msgstr "Нет подходящего адреса"
|
106 |
+
|
107 |
+
#: ../mappress.php:556
|
108 |
+
msgid "Unable to get your location"
|
109 |
+
msgstr "Невозможно определить ваше местонахождение"
|
110 |
+
|
111 |
+
#: ../mappress.php:557 ../mappress_settings.php:322
|
112 |
+
msgid "Traffic"
|
113 |
+
msgstr "Движение"
|
114 |
+
|
115 |
+
#: ../mappress.php:558
|
116 |
+
msgid "Transit"
|
117 |
+
msgstr "Проездом"
|
118 |
+
|
119 |
+
#: ../mappress.php:559 ../mappress_poi.php:300 ../mappress_settings.php:317
|
120 |
+
#: ../mappress_settings.php:456 ../pro/mappress_widget.php:124
|
121 |
+
msgid "Zoom"
|
122 |
+
msgstr "Масштаб"
|
123 |
+
|
124 |
+
#: ../mappress.php:564
|
125 |
+
msgid "Add"
|
126 |
+
msgstr "Добавить"
|
127 |
+
|
128 |
+
#: ../mappress.php:565
|
129 |
+
msgid "Click & drag to move"
|
130 |
+
msgstr "Кликните и удерживайте для перемещения"
|
131 |
+
|
132 |
+
#: ../mappress.php:566
|
133 |
+
msgid "Click to change"
|
134 |
+
msgstr "Изменить"
|
135 |
+
|
136 |
+
#: ../mappress.php:567 ../mappress_map.php:444
|
137 |
+
msgid "Delete"
|
138 |
+
msgstr "Удалить"
|
139 |
+
|
140 |
+
#: ../mappress.php:568
|
141 |
+
msgid "Delete this POI?"
|
142 |
+
msgstr "Удалить эту точку?"
|
143 |
+
|
144 |
+
#: ../mappress.php:569
|
145 |
+
msgid "Delete this map?"
|
146 |
+
msgstr "Удалить эту карту?"
|
147 |
+
|
148 |
+
#: ../mappress.php:570
|
149 |
+
msgid "Please save the map first"
|
150 |
+
msgstr "Сохраните карту вначале"
|
151 |
+
|
152 |
+
#: ../mappress.php:571
|
153 |
+
msgid "Shape"
|
154 |
+
msgstr "Форма"
|
155 |
+
|
156 |
+
#: ../mappress.php:572 ../mappress_map.php:55
|
157 |
+
msgid "Untitled"
|
158 |
+
msgstr "Без заголовка"
|
159 |
+
|
160 |
+
#: ../mappress_map.php:122
|
161 |
+
msgid "Map not found"
|
162 |
+
msgstr "Карта не найдена"
|
163 |
+
|
164 |
+
#: ../mappress_map.php:442
|
165 |
+
msgid "Edit"
|
166 |
+
msgstr "Редактировать"
|
167 |
+
|
168 |
+
#: ../mappress_map.php:443 ../forms/map_media.php:48
|
169 |
+
msgid "Insert into post"
|
170 |
+
msgstr "Вставить в публикацию"
|
171 |
+
|
172 |
+
#: ../mappress_map.php:483
|
173 |
+
msgid "Show map"
|
174 |
+
msgstr "Показать карту"
|
175 |
+
|
176 |
+
#: ../mappress_map.php:495 ../mappress_settings.php:448
|
177 |
+
#: ../forms/map_editor.php:17
|
178 |
+
msgid "Center map"
|
179 |
+
msgstr "Центрировать карту"
|
180 |
+
|
181 |
+
#: ../mappress_map.php:504 ../mappress_settings.php:449
|
182 |
+
msgid "Reset map"
|
183 |
+
msgstr "Сброс карты"
|
184 |
+
|
185 |
+
#: ../mappress_map.php:513 ../mappress_settings.php:447
|
186 |
+
msgid "Bigger map"
|
187 |
+
msgstr "Увеличить карту"
|
188 |
+
|
189 |
+
#: ../mappress_map.php:514
|
190 |
+
msgid "Smaller map"
|
191 |
+
msgstr "Уменьшить карту"
|
192 |
+
|
193 |
+
#: ../mappress_poi.php:216 ../mappress_settings.php:457
|
194 |
+
msgid "Directions to"
|
195 |
+
msgstr "Конечная точка"
|
196 |
+
|
197 |
+
#: ../mappress_poi.php:218 ../mappress_settings.php:458
|
198 |
+
msgid "Directions from"
|
199 |
+
msgstr "Начальная точка"
|
200 |
+
|
201 |
+
#: ../mappress_settings.php:130
|
202 |
+
msgid "Basic Settings"
|
203 |
+
msgstr "Основные настройки"
|
204 |
+
|
205 |
+
#: ../mappress_settings.php:131
|
206 |
+
msgid "Post types"
|
207 |
+
msgstr "Тип публикации"
|
208 |
+
|
209 |
+
#: ../mappress_settings.php:132
|
210 |
+
msgid "Automatic map display"
|
211 |
+
msgstr "Автоматическое отображение карты"
|
212 |
+
|
213 |
+
#: ../mappress_settings.php:135
|
214 |
+
msgid "Map Controls"
|
215 |
+
msgstr "Управление картой"
|
216 |
+
|
217 |
+
#: ../mappress_settings.php:136
|
218 |
+
msgid "Draggable"
|
219 |
+
msgstr "Перемещаемое"
|
220 |
+
|
221 |
+
#: ../mappress_settings.php:137
|
222 |
+
msgid "Keyboard shortcuts"
|
223 |
+
msgstr "Сочетания клавиш"
|
224 |
+
|
225 |
+
#: ../mappress_settings.php:138
|
226 |
+
msgid "Scroll wheel zoom"
|
227 |
+
msgstr "Масштабировать колесом мыши"
|
228 |
+
|
229 |
+
#: ../mappress_settings.php:139
|
230 |
+
msgid "Map Types"
|
231 |
+
msgstr "Типы карт"
|
232 |
+
|
233 |
+
#: ../mappress_settings.php:140
|
234 |
+
msgid "Map controls"
|
235 |
+
msgstr "Управление картой"
|
236 |
+
|
237 |
+
#: ../mappress_settings.php:142
|
238 |
+
msgid "Map Settings"
|
239 |
+
msgstr "Настройки карты"
|
240 |
+
|
241 |
+
#: ../mappress_settings.php:143
|
242 |
+
msgid "Map links"
|
243 |
+
msgstr "Ссылки карты"
|
244 |
+
|
245 |
+
#: ../mappress_settings.php:144
|
246 |
+
msgid "Map alignment"
|
247 |
+
msgstr "Расположение карты"
|
248 |
+
|
249 |
+
#: ../mappress_settings.php:145
|
250 |
+
msgid "Map border"
|
251 |
+
msgstr "Обрамление карты"
|
252 |
+
|
253 |
+
#: ../mappress_settings.php:146
|
254 |
+
msgid "Map border color"
|
255 |
+
msgstr "Цвет обрамления карты"
|
256 |
+
|
257 |
+
#: ../mappress_settings.php:147
|
258 |
+
msgid "Open first POI"
|
259 |
+
msgstr "Открыть первую точку"
|
260 |
+
|
261 |
+
#: ../mappress_settings.php:149
|
262 |
+
msgid "POI Settings"
|
263 |
+
msgstr "Настройки Точки"
|
264 |
+
|
265 |
+
#: ../mappress_settings.php:150
|
266 |
+
msgid "POI links"
|
267 |
+
msgstr "Ссылки точки"
|
268 |
+
|
269 |
+
#: ../mappress_settings.php:151
|
270 |
+
msgid "Tooltips"
|
271 |
+
msgstr "Всплывающие подсказки"
|
272 |
+
|
273 |
+
#: ../mappress_settings.php:152
|
274 |
+
msgid "Default zoom"
|
275 |
+
msgstr "Масштаб по-умолчанию"
|
276 |
+
|
277 |
+
#: ../mappress_settings.php:155
|
278 |
+
msgid "Mashups"
|
279 |
+
msgstr "Объединить данные источников"
|
280 |
+
|
281 |
+
#: ../mappress_settings.php:156
|
282 |
+
msgid "Icons"
|
283 |
+
msgstr "Значки"
|
284 |
+
|
285 |
+
#: ../mappress_settings.php:157
|
286 |
+
msgid "Styled Maps"
|
287 |
+
msgstr "Стилизация карт"
|
288 |
+
|
289 |
+
#: ../mappress_settings.php:158
|
290 |
+
msgid "Geocoding"
|
291 |
+
msgstr "Гео позиционирование"
|
292 |
+
|
293 |
+
#: ../mappress_settings.php:161
|
294 |
+
msgid "Localization"
|
295 |
+
msgstr "Локализация"
|
296 |
+
|
297 |
+
#: ../mappress_settings.php:162
|
298 |
+
msgid "Language"
|
299 |
+
msgstr "Язык"
|
300 |
+
|
301 |
+
#: ../mappress_settings.php:163
|
302 |
+
msgid "Country"
|
303 |
+
msgstr "Страна"
|
304 |
+
|
305 |
+
#: ../mappress_settings.php:164
|
306 |
+
msgid "Directions server"
|
307 |
+
msgstr "Сервер маршрутов"
|
308 |
+
|
309 |
+
#: ../mappress_settings.php:165
|
310 |
+
msgid "Directions units"
|
311 |
+
msgstr "Единицы измерения"
|
312 |
+
|
313 |
+
#: ../mappress_settings.php:167
|
314 |
+
msgid "Miscellaneous"
|
315 |
+
msgstr "Разное"
|
316 |
+
|
317 |
+
#: ../mappress_settings.php:168
|
318 |
+
msgid "Map sizes"
|
319 |
+
msgstr "Размеры карты"
|
320 |
+
|
321 |
+
#: ../mappress_settings.php:169
|
322 |
+
msgid "Fix Scrollbars"
|
323 |
+
msgstr "Зафиксировать прокрутку"
|
324 |
+
|
325 |
+
#: ../mappress_settings.php:170
|
326 |
+
msgid "Turn off CSS"
|
327 |
+
msgstr "Выключить стили CSS"
|
328 |
+
|
329 |
+
#: ../mappress_settings.php:171
|
330 |
+
msgid "Adaptive display"
|
331 |
+
msgstr "Адаптивное изображение"
|
332 |
+
|
333 |
+
#: ../mappress_settings.php:172
|
334 |
+
msgid "Load maps last"
|
335 |
+
msgstr "Загрузка карт последними"
|
336 |
+
|
337 |
+
#: ../mappress_settings.php:222
|
338 |
+
msgid "Use the settings below to automatically create maps from custom fields."
|
339 |
+
msgstr ""
|
340 |
+
"Используйте настройки ниже для автоматического создания карт из "
|
341 |
+
"пользовательских полей."
|
342 |
+
|
343 |
+
#: ../mappress_settings.php:228
|
344 |
+
msgid "Posts"
|
345 |
+
msgstr "Публикации"
|
346 |
+
|
347 |
+
#: ../mappress_settings.php:229
|
348 |
+
msgid "Pages"
|
349 |
+
msgstr "Страницы"
|
350 |
+
|
351 |
+
#: ../mappress_settings.php:241
|
352 |
+
msgid "country code"
|
353 |
+
msgstr "код страны"
|
354 |
+
|
355 |
+
#: ../mappress_settings.php:243
|
356 |
+
#, php-format
|
357 |
+
msgid "Enter a %s to use when searching (leave blank for USA)"
|
358 |
+
msgstr "Введите %s для поиска (оставьте пустым для США)"
|
359 |
+
|
360 |
+
#: ../mappress_settings.php:250
|
361 |
+
msgid "Enter a google server URL for directions/printing"
|
362 |
+
msgstr "Введите адрес сервера google для маршрутов и печати"
|
363 |
+
|
364 |
+
#: ../mappress_settings.php:255
|
365 |
+
msgid "(Default)"
|
366 |
+
msgstr "(По умолчанию)"
|
367 |
+
|
368 |
+
#: ../mappress_settings.php:255
|
369 |
+
msgid "Metric (kilometers)"
|
370 |
+
msgstr "Метрическая (километры)"
|
371 |
+
|
372 |
+
#: ../mappress_settings.php:255
|
373 |
+
msgid "Imperial (miles)"
|
374 |
+
msgstr "мили"
|
375 |
+
|
376 |
+
#: ../mappress_settings.php:260
|
377 |
+
msgid "Enable map dragging with the mouse"
|
378 |
+
msgstr "Включить перемещения по карте с помощью мыши"
|
379 |
+
|
380 |
+
#: ../mappress_settings.php:264
|
381 |
+
msgid "Enable zoom with the mouse scroll wheel"
|
382 |
+
msgstr "Включить масштабирование колесом мыши"
|
383 |
+
|
384 |
+
#: ../mappress_settings.php:268
|
385 |
+
msgid "Enable keyboard panning and zooming"
|
386 |
+
msgstr "Включить масштабирование при помощи клавиатуры"
|
387 |
+
|
388 |
+
#: ../mappress_settings.php:274
|
389 |
+
msgid "language"
|
390 |
+
msgstr "язык"
|
391 |
+
|
392 |
+
#: ../mappress_settings.php:276
|
393 |
+
#, php-format
|
394 |
+
msgid "Use a specific %s for map controls and geocoding"
|
395 |
+
msgstr ""
|
396 |
+
"Использовать специальные %s для управления картой и гео позиционирования"
|
397 |
+
|
398 |
+
#: ../mappress_settings.php:284 ../mappress_settings.php:290
|
399 |
+
#: ../mappress_settings.php:384 ../mappress_settings.php:497
|
400 |
+
msgid "Default"
|
401 |
+
msgstr "По умолчанию"
|
402 |
+
|
403 |
+
#: ../mappress_settings.php:285
|
404 |
+
msgid "Horizontal"
|
405 |
+
msgstr "Горизонтальный"
|
406 |
+
|
407 |
+
#: ../mappress_settings.php:286
|
408 |
+
msgid "Dropdown"
|
409 |
+
msgstr "Выпадающий список"
|
410 |
+
|
411 |
+
#: ../mappress_settings.php:291
|
412 |
+
msgid "Small"
|
413 |
+
msgstr "Малый"
|
414 |
+
|
415 |
+
#: ../mappress_settings.php:292
|
416 |
+
msgid "Large"
|
417 |
+
msgstr "Большой"
|
418 |
+
|
419 |
+
#: ../mappress_settings.php:293
|
420 |
+
msgid "Android"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: ../mappress_settings.php:304
|
424 |
+
msgid "Open initially"
|
425 |
+
msgstr "Открыть вначале"
|
426 |
+
|
427 |
+
#: ../mappress_settings.php:306 ../mappress_settings.php:308
|
428 |
+
#: ../mappress_settings.php:310
|
429 |
+
msgid "Checked initially"
|
430 |
+
msgstr "Отмеченный изначально"
|
431 |
+
|
432 |
+
#: ../mappress_settings.php:312
|
433 |
+
msgid "Control"
|
434 |
+
msgstr "Управление"
|
435 |
+
|
436 |
+
#: ../mappress_settings.php:312
|
437 |
+
msgid "Enable"
|
438 |
+
msgstr "Включить"
|
439 |
+
|
440 |
+
#: ../mappress_settings.php:312 ../mappress_settings.php:409
|
441 |
+
msgid "Style"
|
442 |
+
msgstr "Стиль"
|
443 |
+
|
444 |
+
#: ../mappress_settings.php:315
|
445 |
+
msgid "Map types"
|
446 |
+
msgstr "Типы карты"
|
447 |
+
|
448 |
+
#: ../mappress_settings.php:316
|
449 |
+
msgid "Pan"
|
450 |
+
msgstr "Увеличить"
|
451 |
+
|
452 |
+
#: ../mappress_settings.php:318
|
453 |
+
msgid "Street view"
|
454 |
+
msgstr "Просмотр улиц"
|
455 |
+
|
456 |
+
#: ../mappress_settings.php:319
|
457 |
+
msgid "Scale"
|
458 |
+
msgstr "Масштабировать"
|
459 |
+
|
460 |
+
#: ../mappress_settings.php:320
|
461 |
+
msgid "Overview map"
|
462 |
+
msgstr "Обзор карты"
|
463 |
+
|
464 |
+
#: ../mappress_settings.php:321
|
465 |
+
msgid "Public transit"
|
466 |
+
msgstr "Общественный транспорт"
|
467 |
+
|
468 |
+
#: ../mappress_settings.php:323
|
469 |
+
msgid "Bike routes"
|
470 |
+
msgstr "Велодорожки"
|
471 |
+
|
472 |
+
#: ../mappress_settings.php:330
|
473 |
+
msgid "Road map"
|
474 |
+
msgstr "Дороги"
|
475 |
+
|
476 |
+
#: ../mappress_settings.php:331 ../pro/mappress_widget.php:142
|
477 |
+
msgid "Satellite"
|
478 |
+
msgstr "Со спутника"
|
479 |
+
|
480 |
+
#: ../mappress_settings.php:332 ../pro/mappress_widget.php:143
|
481 |
+
msgid "Terrain"
|
482 |
+
msgstr "Поверхность"
|
483 |
+
|
484 |
+
#: ../mappress_settings.php:333 ../pro/mappress_widget.php:141
|
485 |
+
msgid "Hybrid"
|
486 |
+
msgstr "Гибрид"
|
487 |
+
|
488 |
+
#: ../mappress_settings.php:346
|
489 |
+
msgid "Inline (in your blog)"
|
490 |
+
msgstr "Вложенный (в вашем блоге)"
|
491 |
+
|
492 |
+
#: ../mappress_settings.php:347 ../pro/mappress_pro_settings.php:179
|
493 |
+
#: ../pro/mappress_widget.php:110
|
494 |
+
msgid "Google"
|
495 |
+
msgstr ""
|
496 |
+
|
497 |
+
#: ../mappress_settings.php:348 ../pro/mappress_widget.php:111
|
498 |
+
msgid "None"
|
499 |
+
msgstr "Ничего"
|
500 |
+
|
501 |
+
#: ../mappress_settings.php:355
|
502 |
+
msgid "Automatically open the first POI when a map is displayed"
|
503 |
+
msgstr "Автоматически открыть первую Точку при отображении карты"
|
504 |
+
|
505 |
+
#: ../mappress_settings.php:360 ../mappress_settings.php:369
|
506 |
+
msgid "Show control"
|
507 |
+
msgstr "Показать управление"
|
508 |
+
|
509 |
+
#: ../mappress_settings.php:364 ../mappress_settings.php:373
|
510 |
+
msgid "Enabled by default"
|
511 |
+
msgstr "Включено по умолчанию"
|
512 |
+
|
513 |
+
#: ../mappress_settings.php:377
|
514 |
+
msgid "Show POI titles as a \"tooltip\" on mouse-over"
|
515 |
+
msgstr ""
|
516 |
+
"Показать всплывающее описание точки \"tooltip\" при наведении курсора мыши"
|
517 |
+
|
518 |
+
#: ../mappress_settings.php:385 ../pro/mappress_widget.php:116
|
519 |
+
msgid "Center"
|
520 |
+
msgstr "По центру"
|
521 |
+
|
522 |
+
#: ../mappress_settings.php:386
|
523 |
+
msgid "Left"
|
524 |
+
msgstr "Слева"
|
525 |
+
|
526 |
+
#: ../mappress_settings.php:387
|
527 |
+
msgid "Right"
|
528 |
+
msgstr "Справа"
|
529 |
+
|
530 |
+
#: ../mappress_settings.php:399
|
531 |
+
msgid "solid"
|
532 |
+
msgstr "непрерывный"
|
533 |
+
|
534 |
+
#: ../mappress_settings.php:400
|
535 |
+
msgid "dashed"
|
536 |
+
msgstr "пунктир"
|
537 |
+
|
538 |
+
#: ../mappress_settings.php:401
|
539 |
+
msgid "dotted"
|
540 |
+
msgstr "точками"
|
541 |
+
|
542 |
+
#: ../mappress_settings.php:402
|
543 |
+
msgid "double"
|
544 |
+
msgstr "двойная линия"
|
545 |
+
|
546 |
+
#: ../mappress_settings.php:403
|
547 |
+
msgid "groove"
|
548 |
+
msgstr ""
|
549 |
+
|
550 |
+
#: ../mappress_settings.php:404
|
551 |
+
msgid "inset"
|
552 |
+
msgstr "утопленный"
|
553 |
+
|
554 |
+
#: ../mappress_settings.php:405
|
555 |
+
msgid "outset"
|
556 |
+
msgstr "выступающий"
|
557 |
+
|
558 |
+
#: ../mappress_settings.php:417 ../mappress_settings.php:497
|
559 |
+
msgid "Width"
|
560 |
+
msgstr "Ширина"
|
561 |
+
|
562 |
+
#: ../mappress_settings.php:423
|
563 |
+
msgid "Corner radius"
|
564 |
+
msgstr "Закругление"
|
565 |
+
|
566 |
+
#: ../mappress_settings.php:432
|
567 |
+
msgid "Color"
|
568 |
+
msgstr "Цвет"
|
569 |
+
|
570 |
+
#: ../mappress_settings.php:442
|
571 |
+
msgid "Display shadow"
|
572 |
+
msgstr "Показать тень"
|
573 |
+
|
574 |
+
#: ../mappress_settings.php:466
|
575 |
+
msgid "Default zoom for POIs entered by lat/lng"
|
576 |
+
msgstr "Масштаб по умолчанию для Точки, указанной с помощью Широты и Долготы "
|
577 |
+
|
578 |
+
#: ../mappress_settings.php:472
|
579 |
+
msgid "Top of post"
|
580 |
+
msgstr "В начале публикации"
|
581 |
+
|
582 |
+
#: ../mappress_settings.php:473
|
583 |
+
msgid "Bottom of post"
|
584 |
+
msgstr "В конце публикации"
|
585 |
+
|
586 |
+
#: ../mappress_settings.php:474
|
587 |
+
msgid "No automatic display"
|
588 |
+
msgstr "Не отображать автоматически"
|
589 |
+
|
590 |
+
#: ../mappress_settings.php:481
|
591 |
+
msgid "Fix InfoWindow Scrollbars"
|
592 |
+
msgstr "Фиксировать прокрутку ИнфоПанелей"
|
593 |
+
|
594 |
+
#: ../mappress_settings.php:485
|
595 |
+
msgid "Recenter maps when window is resized"
|
596 |
+
msgstr "Центрировать карты при изменении размеров окна"
|
597 |
+
|
598 |
+
#: ../mappress_settings.php:489
|
599 |
+
#, php-format
|
600 |
+
msgid "Don't load the %s stylesheet"
|
601 |
+
msgstr "Не загружать %s стили"
|
602 |
+
|
603 |
+
#: ../mappress_settings.php:493
|
604 |
+
msgid "Load maps in window 'load' event"
|
605 |
+
msgstr "Загружать карты в окне при событии 'load' "
|
606 |
+
|
607 |
+
#: ../mappress_settings.php:497
|
608 |
+
msgid "Height"
|
609 |
+
msgstr "Высота"
|
610 |
+
|
611 |
+
#: ../mappress_settings.php:508
|
612 |
+
msgid "Enter sizes in px or %"
|
613 |
+
msgstr "Укажите размеры в пикселях или процентах"
|
614 |
+
|
615 |
+
#: ../mappress_settings.php:518
|
616 |
+
msgid "Rate it 5 Stars"
|
617 |
+
msgstr "Проголосуйте на 5 звезд"
|
618 |
+
|
619 |
+
#: ../mappress_settings.php:520
|
620 |
+
#, php-format
|
621 |
+
msgid "%s on WordPress.org"
|
622 |
+
msgstr "%s на WordPress.org"
|
623 |
+
|
624 |
+
#: ../mappress_settings.php:521
|
625 |
+
msgid "Thanks for your support!"
|
626 |
+
msgstr "Спасибо за Вашу поддержку!"
|
627 |
+
|
628 |
+
#: ../mappress_settings.php:548
|
629 |
+
msgid "MapPress"
|
630 |
+
msgstr ""
|
631 |
+
|
632 |
+
#: ../mappress_settings.php:549
|
633 |
+
msgid "Easy Google Maps"
|
634 |
+
msgstr ""
|
635 |
+
|
636 |
+
#: ../mappress_settings.php:598
|
637 |
+
msgid "Like this plugin?"
|
638 |
+
msgstr "Нравится этот плагин?"
|
639 |
+
|
640 |
+
#: ../mappress_settings.php:600
|
641 |
+
msgid "Sample Map"
|
642 |
+
msgstr "Пример карты"
|
643 |
+
|
644 |
+
#: ../mappress_settings.php:619
|
645 |
+
msgid "Save Changes"
|
646 |
+
msgstr "Сохранить изменения"
|
647 |
+
|
648 |
+
#: ../mappress_settings.php:620
|
649 |
+
msgid "Reset Defaults"
|
650 |
+
msgstr "Сбросить на значения по умолчанию"
|
651 |
+
|
652 |
+
#: ../mappress_updater.php:19
|
653 |
+
msgid "Settings"
|
654 |
+
msgstr "Настройки"
|
655 |
+
|
656 |
+
#: ../mappress_updater.php:41
|
657 |
+
msgid "download it now"
|
658 |
+
msgstr "скачать сейчас"
|
659 |
+
|
660 |
+
#: ../mappress_updater.php:46
|
661 |
+
#, php-format
|
662 |
+
msgid "A PRO Version update is available for manual installation: %s"
|
663 |
+
msgstr ""
|
664 |
+
|
665 |
+
#: ../forms/map_editor.php:2
|
666 |
+
msgid "Add POI"
|
667 |
+
msgstr "Добавить Точку"
|
668 |
+
|
669 |
+
#: ../forms/map_editor.php:5 ../templates/map_directions.php:11
|
670 |
+
msgid "My location"
|
671 |
+
msgstr "Моё местоположение"
|
672 |
+
|
673 |
+
#: ../forms/map_editor.php:18
|
674 |
+
msgid "Click map for lat/lng: "
|
675 |
+
msgstr "Кликните карту для Широты и Долготы"
|
676 |
+
|
677 |
+
#: ../forms/map_editor_infobox.php:22
|
678 |
+
msgid "Line: "
|
679 |
+
msgstr "Линия: "
|
680 |
+
|
681 |
+
#: ../forms/map_editor_infobox.php:24
|
682 |
+
msgid "Weight"
|
683 |
+
msgstr "Толщина"
|
684 |
+
|
685 |
+
#: ../forms/map_editor_infobox.php:25 ../forms/map_editor_infobox.php:31
|
686 |
+
msgid "Opacity"
|
687 |
+
msgstr "Прозрачность"
|
688 |
+
|
689 |
+
#: ../forms/map_editor_infobox.php:29
|
690 |
+
msgid "Fill: "
|
691 |
+
msgstr "Заливка: "
|
692 |
+
|
693 |
+
#: ../forms/map_editor_infobox.php:40
|
694 |
+
msgid "Visual"
|
695 |
+
msgstr "Визуально"
|
696 |
+
|
697 |
+
#: ../forms/map_editor_infobox.php:40
|
698 |
+
msgid "HTML"
|
699 |
+
msgstr ""
|
700 |
+
|
701 |
+
#: ../forms/map_editor_infobox.php:45 ../forms/map_media.php:46
|
702 |
+
msgid "Save"
|
703 |
+
msgstr "Сохранить"
|
704 |
+
|
705 |
+
#: ../forms/map_editor_infobox.php:46 ../forms/map_media.php:47
|
706 |
+
#: ../pro/mappress_icons.php:71
|
707 |
+
msgid "Cancel"
|
708 |
+
msgstr "Отменить"
|
709 |
+
|
710 |
+
#: ../forms/map_media.php:11
|
711 |
+
msgid "Maps for This Post"
|
712 |
+
msgstr "Карты для этой публикации"
|
713 |
+
|
714 |
+
#: ../forms/map_media.php:12
|
715 |
+
msgid "New Map"
|
716 |
+
msgstr "Новая карта"
|
717 |
+
|
718 |
+
#: ../forms/map_media.php:22
|
719 |
+
msgid "Map ID"
|
720 |
+
msgstr "ID карты"
|
721 |
+
|
722 |
+
#: ../forms/map_media.php:27
|
723 |
+
msgid "Map Title"
|
724 |
+
msgstr "Название карты"
|
725 |
+
|
726 |
+
#: ../forms/map_media.php:32
|
727 |
+
msgid "Size"
|
728 |
+
msgstr "Размер"
|
729 |
+
|
730 |
+
#: ../pro/mappress_geocoders.php:53
|
731 |
+
msgid "No results, check that a geocoder is configured"
|
732 |
+
msgstr "Нет результатов, проверьте конфигурацию геолокации"
|
733 |
+
|
734 |
+
#: ../pro/mappress_geocoders.php:86
|
735 |
+
#, php-format
|
736 |
+
msgid "Invalid status: %s, address: %s"
|
737 |
+
msgstr "Неверный статус: %s, адрес: %s"
|
738 |
+
|
739 |
+
#: ../pro/mappress_geocoders.php:95 ../pro/mappress_geocoders.php:159
|
740 |
+
#, php-format
|
741 |
+
msgid "No results for address: %s"
|
742 |
+
msgstr "Нет результатов для адреса: %s"
|
743 |
+
|
744 |
+
#: ../pro/mappress_geocoders.php:155
|
745 |
+
#, php-format
|
746 |
+
msgid "Error: %s %s"
|
747 |
+
msgstr "Ошибка: %s %s"
|
748 |
+
|
749 |
+
#: ../pro/mappress_icons.php:72
|
750 |
+
msgid "Use default icon"
|
751 |
+
msgstr "Использовать значок по умолчанию"
|
752 |
+
|
753 |
+
#: ../pro/mappress_pro.php:161
|
754 |
+
msgid "Automatic"
|
755 |
+
msgstr "Автоматически"
|
756 |
+
|
757 |
+
#: ../pro/mappress_pro_settings.php:10
|
758 |
+
msgid "POI list"
|
759 |
+
msgstr "Список Точек"
|
760 |
+
|
761 |
+
#: ../pro/mappress_pro_settings.php:11
|
762 |
+
msgid "Use DataTables"
|
763 |
+
msgstr "Использовать табличные данные "
|
764 |
+
|
765 |
+
#: ../pro/mappress_pro_settings.php:13
|
766 |
+
msgid "InfoWindow type"
|
767 |
+
msgstr "Тип ИнфоОкна"
|
768 |
+
|
769 |
+
#: ../pro/mappress_pro_settings.php:14
|
770 |
+
msgid "InfoWindow panning"
|
771 |
+
msgstr "Размер ИнфоОкна"
|
772 |
+
|
773 |
+
#: ../pro/mappress_pro_settings.php:16
|
774 |
+
msgid "Default icon"
|
775 |
+
msgstr "Значок по умолчанию"
|
776 |
+
|
777 |
+
#: ../pro/mappress_pro_settings.php:17
|
778 |
+
msgid "Custom icons directory"
|
779 |
+
msgstr "Папка пользовательских значков"
|
780 |
+
|
781 |
+
#: ../pro/mappress_pro_settings.php:19
|
782 |
+
msgid "Mashup POI title"
|
783 |
+
msgstr ""
|
784 |
+
|
785 |
+
#: ../pro/mappress_pro_settings.php:20
|
786 |
+
msgid "Mashup POI body"
|
787 |
+
msgstr ""
|
788 |
+
|
789 |
+
#: ../pro/mappress_pro_settings.php:21
|
790 |
+
msgid "Mashup POI click"
|
791 |
+
msgstr ""
|
792 |
+
|
793 |
+
#: ../pro/mappress_pro_settings.php:22
|
794 |
+
msgid "Link title"
|
795 |
+
msgstr "Текст ссылки"
|
796 |
+
|
797 |
+
#: ../pro/mappress_pro_settings.php:23
|
798 |
+
msgid "Mashup Thumbnails"
|
799 |
+
msgstr ""
|
800 |
+
|
801 |
+
#: ../pro/mappress_pro_settings.php:24
|
802 |
+
msgid "Thumbnail Size"
|
803 |
+
msgstr "Размер иконки"
|
804 |
+
|
805 |
+
#: ../pro/mappress_pro_settings.php:26
|
806 |
+
msgid "Styled maps"
|
807 |
+
msgstr "Стилизованные карты"
|
808 |
+
|
809 |
+
#: ../pro/mappress_pro_settings.php:27
|
810 |
+
msgid "Default style"
|
811 |
+
msgstr "Стиль по умолчанию"
|
812 |
+
|
813 |
+
#: ../pro/mappress_pro_settings.php:29
|
814 |
+
msgid "Geocoder(s)"
|
815 |
+
msgstr ""
|
816 |
+
|
817 |
+
#: ../pro/mappress_pro_settings.php:30
|
818 |
+
msgid "Geocoding fields"
|
819 |
+
msgstr ""
|
820 |
+
|
821 |
+
#: ../pro/mappress_pro_settings.php:32
|
822 |
+
msgid "API key (optional)"
|
823 |
+
msgstr ""
|
824 |
+
|
825 |
+
#: ../pro/mappress_pro_settings.php:33
|
826 |
+
msgid "Force resize"
|
827 |
+
msgstr "Принудительное изменение размеров"
|
828 |
+
|
829 |
+
#: ../pro/mappress_pro_settings.php:77
|
830 |
+
msgid "Show a list of POIs under each map"
|
831 |
+
msgstr ""
|
832 |
+
|
833 |
+
#: ../pro/mappress_pro_settings.php:82
|
834 |
+
#, php-format
|
835 |
+
msgid "Show the POI list as a sortable %s"
|
836 |
+
msgstr ""
|
837 |
+
|
838 |
+
#: ../pro/mappress_pro_settings.php:86
|
839 |
+
msgid "POI title"
|
840 |
+
msgstr "Заголовок Точки"
|
841 |
+
|
842 |
+
#: ../pro/mappress_pro_settings.php:86
|
843 |
+
msgid "Post title"
|
844 |
+
msgstr "Заголовок публикации"
|
845 |
+
|
846 |
+
#: ../pro/mappress_pro_settings.php:91
|
847 |
+
msgid "POI body"
|
848 |
+
msgstr "Описание Точки"
|
849 |
+
|
850 |
+
#: ../pro/mappress_pro_settings.php:91
|
851 |
+
msgid "Address"
|
852 |
+
msgstr "Адрес"
|
853 |
+
|
854 |
+
#: ../pro/mappress_pro_settings.php:91
|
855 |
+
msgid "Post excerpt"
|
856 |
+
msgstr "Выдержка из публикации"
|
857 |
+
|
858 |
+
#: ../pro/mappress_pro_settings.php:96
|
859 |
+
msgid "Link POI titles to the underlying post"
|
860 |
+
msgstr "Связать Заголовки Точек с соответствующими публикациями"
|
861 |
+
|
862 |
+
#: ../pro/mappress_pro_settings.php:100
|
863 |
+
msgid "Open the POI"
|
864 |
+
msgstr "Открыть Точку"
|
865 |
+
|
866 |
+
#: ../pro/mappress_pro_settings.php:100
|
867 |
+
msgid "Go directly to the post"
|
868 |
+
msgstr ""
|
869 |
+
|
870 |
+
#: ../pro/mappress_pro_settings.php:106
|
871 |
+
msgid "Google InfoWindow"
|
872 |
+
msgstr ""
|
873 |
+
|
874 |
+
#: ../pro/mappress_pro_settings.php:107
|
875 |
+
msgid "InfoBox (can be styled and extend outside the map)"
|
876 |
+
msgstr ""
|
877 |
+
|
878 |
+
#: ../pro/mappress_pro_settings.php:113
|
879 |
+
msgid "Disable map panning when infoWindow / infoBox is opened"
|
880 |
+
msgstr ""
|
881 |
+
|
882 |
+
#: ../pro/mappress_pro_settings.php:117
|
883 |
+
msgid "Show featured image thumbnails in mashup POIs"
|
884 |
+
msgstr ""
|
885 |
+
|
886 |
+
#: ../pro/mappress_pro_settings.php:125
|
887 |
+
msgid "Use existing size: "
|
888 |
+
msgstr ""
|
889 |
+
|
890 |
+
#: ../pro/mappress_pro_settings.php:128
|
891 |
+
msgid "or resize to (px): "
|
892 |
+
msgstr ""
|
893 |
+
|
894 |
+
#: ../pro/mappress_pro_settings.php:143
|
895 |
+
msgid "styled maps"
|
896 |
+
msgstr ""
|
897 |
+
|
898 |
+
#: ../pro/mappress_pro_settings.php:144
|
899 |
+
msgid "styled maps wizard"
|
900 |
+
msgstr ""
|
901 |
+
|
902 |
+
#: ../pro/mappress_pro_settings.php:146
|
903 |
+
#, php-format
|
904 |
+
msgid "Enter JSON for %s from Google's %s"
|
905 |
+
msgstr ""
|
906 |
+
|
907 |
+
#: ../pro/mappress_pro_settings.php:155
|
908 |
+
msgid "Style name"
|
909 |
+
msgstr "Название стиля"
|
910 |
+
|
911 |
+
#: ../pro/mappress_pro_settings.php:169
|
912 |
+
msgid "No styles have been defined yet"
|
913 |
+
msgstr "Не указаны стили"
|
914 |
+
|
915 |
+
#: ../pro/mappress_pro_settings.php:180
|
916 |
+
msgid "Nominatim"
|
917 |
+
msgstr ""
|
918 |
+
|
919 |
+
#: ../pro/mappress_pro_settings.php:192
|
920 |
+
msgid "Address Line 1"
|
921 |
+
msgstr "Адрес 1"
|
922 |
+
|
923 |
+
#: ../pro/mappress_pro_settings.php:193
|
924 |
+
msgid "Address Line 2"
|
925 |
+
msgstr "Адрес 2"
|
926 |
+
|
927 |
+
#: ../pro/mappress_pro_settings.php:194
|
928 |
+
msgid "Address Line 3"
|
929 |
+
msgstr "Адрес 3"
|
930 |
+
|
931 |
+
#: ../pro/mappress_pro_settings.php:195
|
932 |
+
msgid "Address Line 4"
|
933 |
+
msgstr "Адрес 4"
|
934 |
+
|
935 |
+
#: ../pro/mappress_pro_settings.php:196
|
936 |
+
msgid "Address Line 5"
|
937 |
+
msgstr "Адрес 5"
|
938 |
+
|
939 |
+
#: ../pro/mappress_pro_settings.php:197
|
940 |
+
msgid "Address Line 6"
|
941 |
+
msgstr "Адрес 6"
|
942 |
+
|
943 |
+
#: ../pro/mappress_pro_settings.php:198
|
944 |
+
msgid "Latitude"
|
945 |
+
msgstr "Широта"
|
946 |
+
|
947 |
+
#: ../pro/mappress_pro_settings.php:199
|
948 |
+
msgid "Longitude"
|
949 |
+
msgstr "Долгота"
|
950 |
+
|
951 |
+
#: ../pro/mappress_pro_settings.php:200
|
952 |
+
msgid "Icon"
|
953 |
+
msgstr "Значек"
|
954 |
+
|
955 |
+
#: ../pro/mappress_pro_settings.php:201
|
956 |
+
msgid "Title"
|
957 |
+
msgstr "Заголовок"
|
958 |
+
|
959 |
+
#: ../pro/mappress_pro_settings.php:202
|
960 |
+
msgid "Body"
|
961 |
+
msgstr "Описание"
|
962 |
+
|
963 |
+
#: ../pro/mappress_pro_settings.php:203
|
964 |
+
msgid "Map Zoom"
|
965 |
+
msgstr "Масштаб"
|
966 |
+
|
967 |
+
#: ../pro/mappress_pro_settings.php:206 ../pro/mappress_widget.php:140
|
968 |
+
msgid "Map"
|
969 |
+
msgstr "Карта"
|
970 |
+
|
971 |
+
#: ../pro/mappress_pro_settings.php:206
|
972 |
+
msgid "Custom Field"
|
973 |
+
msgstr "Пользовательское поле"
|
974 |
+
|
975 |
+
#: ../pro/mappress_pro_settings.php:215
|
976 |
+
msgid "Overwrite existing maps when updating"
|
977 |
+
msgstr "Перезаписать существующий карты при обновлении"
|
978 |
+
|
979 |
+
#: ../pro/mappress_pro_settings.php:220
|
980 |
+
msgid "usage tracking"
|
981 |
+
msgstr "использование отслеживания"
|
982 |
+
|
983 |
+
#: ../pro/mappress_pro_settings.php:221
|
984 |
+
#, php-format
|
985 |
+
msgid "API keys is needed only for premium services or %s"
|
986 |
+
msgstr ""
|
987 |
+
|
988 |
+
#: ../pro/mappress_pro_settings.php:229
|
989 |
+
msgid "Permanently resize existing maps"
|
990 |
+
msgstr "Постоянное изменение размеров существующих карт"
|
991 |
+
|
992 |
+
#: ../pro/mappress_pro_settings.php:231
|
993 |
+
#, php-format
|
994 |
+
msgid "from %s to %s"
|
995 |
+
msgstr "из %s в %s"
|
996 |
+
|
997 |
+
#: ../pro/mappress_pro_settings.php:232
|
998 |
+
msgid "Force Resize"
|
999 |
+
msgstr "Принудительное изменение размера"
|
1000 |
+
|
1001 |
+
#: ../pro/mappress_widget.php:78
|
1002 |
+
msgid "Widget title"
|
1003 |
+
msgstr "Заголовок виджета"
|
1004 |
+
|
1005 |
+
#: ../pro/mappress_widget.php:83
|
1006 |
+
msgid "Map size"
|
1007 |
+
msgstr "Размер карты"
|
1008 |
+
|
1009 |
+
#: ../pro/mappress_widget.php:89
|
1010 |
+
msgid "Show"
|
1011 |
+
msgstr "Показать"
|
1012 |
+
|
1013 |
+
#: ../pro/mappress_widget.php:90
|
1014 |
+
msgid "Current posts"
|
1015 |
+
msgstr "Текущие публикации"
|
1016 |
+
|
1017 |
+
#: ../pro/mappress_widget.php:91
|
1018 |
+
msgid "Hide if empty"
|
1019 |
+
msgstr "Скрыть если пустой"
|
1020 |
+
|
1021 |
+
#: ../pro/mappress_widget.php:93
|
1022 |
+
msgid "All posts"
|
1023 |
+
msgstr "Все публикации"
|
1024 |
+
|
1025 |
+
#: ../pro/mappress_widget.php:94
|
1026 |
+
msgid "Custom query"
|
1027 |
+
msgstr "Пользовательский запрос"
|
1028 |
+
|
1029 |
+
#: ../pro/mappress_widget.php:97
|
1030 |
+
msgid "Learn about queries"
|
1031 |
+
msgstr "Узнать о запросах"
|
1032 |
+
|
1033 |
+
#: ../pro/mappress_widget.php:102
|
1034 |
+
msgid "Show POI list"
|
1035 |
+
msgstr "Показать список Точек"
|
1036 |
+
|
1037 |
+
#: ../pro/mappress_widget.php:104
|
1038 |
+
msgid "Link POIs to posts"
|
1039 |
+
msgstr "Ссылки на Точки (POI) в публикации"
|
1040 |
+
|
1041 |
+
#: ../pro/mappress_widget.php:109
|
1042 |
+
msgid "Inline"
|
1043 |
+
msgstr "Утопленный"
|
1044 |
+
|
1045 |
+
#: ../pro/mappress_widget.php:137
|
1046 |
+
msgid "Map type"
|
1047 |
+
msgstr "Тип карты"
|
1048 |
+
|
1049 |
+
#: ../pro/mappress_widget.php:151
|
1050 |
+
msgid "Other Settings"
|
1051 |
+
msgstr "Другие настройки"
|
1052 |
+
|
1053 |
+
#: ../pro/mappress_widget.php:154
|
1054 |
+
msgid "Example: traffic=\"false\" maplinks=\"\""
|
1055 |
+
msgstr "Пример: traffic=\"false\" maplinks=\"\""
|
1056 |
+
|
1057 |
+
#: ../templates/map_directions.php:3
|
1058 |
+
msgid "By car"
|
1059 |
+
msgstr "На машине"
|
1060 |
+
|
1061 |
+
#: ../templates/map_directions.php:4
|
1062 |
+
msgid "Public Transit"
|
1063 |
+
msgstr "Общественным транспортом"
|
1064 |
+
|
1065 |
+
#: ../templates/map_directions.php:5
|
1066 |
+
msgid "Walking"
|
1067 |
+
msgstr "Пешком"
|
1068 |
+
|
1069 |
+
#: ../templates/map_directions.php:16
|
1070 |
+
msgid "Swap start and end"
|
1071 |
+
msgstr "Поменять местами Старт и Назначение"
|
1072 |
+
|
1073 |
+
#: ../templates/map_directions.php:29
|
1074 |
+
msgid "Get Directions"
|
1075 |
+
msgstr "Проложить маршрут"
|
1076 |
+
|
1077 |
+
#: ../templates/map_directions.php:30
|
1078 |
+
msgid "Print"
|
1079 |
+
msgstr "Печать"
|
1080 |
+
|
1081 |
+
#: ../templates/map_directions.php:31
|
1082 |
+
msgid "Close"
|
1083 |
+
msgstr "Закрыть"
|
1084 |
+
|
1085 |
+
#: ../templates/map_poi_list.php:5
|
1086 |
+
msgid "Location"
|
1087 |
+
msgstr "Местонахождение"
|
languages/mappress.mo
CHANGED
Binary file
|
languages/mappress.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Plugin Author <donotreply@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -13,23 +13,19 @@ msgstr ""
|
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SearchPath-0: ..\n"
|
15 |
|
16 |
-
#: ../mappress.php:
|
17 |
msgid "Version"
|
18 |
msgstr "Version"
|
19 |
|
20 |
-
#: ../mappress.php:
|
21 |
msgid "Documentation"
|
22 |
msgstr "Documentation"
|
23 |
|
24 |
-
#: ../mappress.php:
|
25 |
msgid "Support"
|
26 |
msgstr "Support"
|
27 |
|
28 |
-
#: ../mappress.php:
|
29 |
-
msgid "Contact"
|
30 |
-
msgstr "Contact"
|
31 |
-
|
32 |
-
#: ../mappress.php:135
|
33 |
msgid "Upgrade to MapPress Pro"
|
34 |
msgstr ""
|
35 |
|
@@ -45,609 +41,555 @@ msgstr ""
|
|
45 |
msgid "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: ../mappress.php:
|
49 |
-
#: ../templates/map_directions.php:6
|
50 |
msgid "Bicycling"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: ../mappress.php:
|
54 |
msgid "Bike"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: ../mappress.php:
|
58 |
msgid "One of the addresses could not be found."
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: ../mappress.php:
|
62 |
msgid "Google cannot return directions between those addresses. There is no route between them or the routing information is not available."
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: ../mappress.php:
|
66 |
msgid "Unknown error, unable to return directions. Status code = "
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: ../mappress.php:
|
70 |
-
#: ../mappress_poi.php:
|
71 |
-
#: ../mappress_settings.php:
|
72 |
-
#: ../pro/mappress_widget.php:
|
73 |
msgid "Directions"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: ../mappress.php:
|
77 |
msgid "Error reading KML file"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: ../mappress.php:
|
81 |
msgid "Loading..."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: ../mappress.php:
|
85 |
msgid "No matching address"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: ../mappress.php:
|
89 |
msgid "Unable to get your location"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: ../mappress.php:
|
93 |
-
#: ../mappress_settings.php:
|
94 |
msgid "Traffic"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: ../mappress.php:
|
98 |
msgid "Transit"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: ../mappress.php:
|
102 |
-
#: ../mappress_poi.php:
|
103 |
-
#: ../mappress_settings.php:
|
104 |
-
#: ../mappress_settings.php:
|
105 |
-
#: ../pro/mappress_widget.php:
|
106 |
msgid "Zoom"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: ../mappress.php:
|
|
|
110 |
msgid "Add"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: ../mappress.php:
|
114 |
msgid "Click & drag to move"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: ../mappress.php:
|
118 |
msgid "Click to change"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: ../mappress.php:
|
122 |
-
#: ../
|
|
|
123 |
msgid "Delete"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: ../mappress.php:
|
127 |
msgid "Delete this POI?"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: ../mappress.php:
|
131 |
msgid "Delete this map?"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: ../mappress.php:
|
135 |
msgid "Please save the map first"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: ../mappress.php:
|
139 |
msgid "Shape"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: ../mappress.php:
|
143 |
-
#: ../mappress_map.php:55
|
144 |
msgid "Untitled"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: ../
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
msgid "Map not found"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: ../mappress_map.php:
|
152 |
msgid "Edit"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: ../mappress_map.php:
|
156 |
#: ../forms/map_media.php:48
|
157 |
msgid "Insert into post"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: ../mappress_map.php:
|
161 |
msgid "Show map"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: ../mappress_map.php:
|
165 |
-
#: ../mappress_settings.php:
|
166 |
-
#: ../forms/map_editor.php:
|
167 |
msgid "Center map"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: ../mappress_map.php:
|
171 |
-
#: ../mappress_settings.php:
|
172 |
msgid "Reset map"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: ../mappress_map.php:
|
176 |
-
#: ../mappress_settings.php:
|
177 |
msgid "Bigger map"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: ../mappress_map.php:
|
181 |
msgid "Smaller map"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: ../mappress_poi.php:
|
185 |
-
#: ../mappress_settings.php:
|
186 |
msgid "Directions to"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: ../mappress_poi.php:
|
190 |
-
#: ../mappress_settings.php:
|
191 |
msgid "Directions from"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: ../mappress_settings.php:
|
195 |
msgid "Basic Settings"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: ../mappress_settings.php:
|
199 |
msgid "Post types"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../mappress_settings.php:
|
203 |
msgid "Automatic map display"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: ../mappress_settings.php:
|
207 |
msgid "Map Controls"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: ../mappress_settings.php:
|
211 |
msgid "Draggable"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../mappress_settings.php:
|
215 |
msgid "Keyboard shortcuts"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: ../mappress_settings.php:
|
219 |
msgid "Scroll wheel zoom"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: ../mappress_settings.php:
|
223 |
msgid "Map Types"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: ../mappress_settings.php:
|
227 |
msgid "Map controls"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: ../mappress_settings.php:
|
231 |
msgid "Map Settings"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: ../mappress_settings.php:
|
235 |
msgid "Map links"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: ../mappress_settings.php:
|
239 |
msgid "Map alignment"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: ../mappress_settings.php:
|
243 |
-
msgid "Map border"
|
244 |
-
msgstr ""
|
245 |
-
|
246 |
-
#: ../mappress_settings.php:146
|
247 |
-
msgid "Map border color"
|
248 |
-
msgstr ""
|
249 |
-
|
250 |
-
#: ../mappress_settings.php:147
|
251 |
msgid "Open first POI"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: ../mappress_settings.php:
|
255 |
msgid "POI Settings"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: ../mappress_settings.php:
|
259 |
msgid "POI links"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: ../mappress_settings.php:
|
263 |
msgid "Tooltips"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: ../mappress_settings.php:
|
267 |
msgid "Default zoom"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: ../mappress_settings.php:
|
271 |
msgid "Mashups"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: ../mappress_settings.php:
|
275 |
msgid "Icons"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: ../mappress_settings.php:
|
279 |
msgid "Styled Maps"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: ../mappress_settings.php:
|
283 |
msgid "Geocoding"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: ../mappress_settings.php:
|
287 |
msgid "Localization"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: ../mappress_settings.php:
|
291 |
msgid "Language"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: ../mappress_settings.php:
|
295 |
msgid "Country"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: ../mappress_settings.php:
|
299 |
msgid "Directions server"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: ../mappress_settings.php:
|
303 |
msgid "Directions units"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: ../mappress_settings.php:
|
307 |
msgid "Miscellaneous"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: ../mappress_settings.php:
|
311 |
msgid "Map sizes"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: ../mappress_settings.php:
|
315 |
-
msgid "
|
316 |
-
msgstr ""
|
317 |
-
|
318 |
-
#: ../mappress_settings.php:170
|
319 |
-
msgid "Turn off CSS"
|
320 |
-
msgstr ""
|
321 |
-
|
322 |
-
#: ../mappress_settings.php:171
|
323 |
-
msgid "Adaptive display"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: ../mappress_settings.php:
|
327 |
-
msgid "
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: ../mappress_settings.php:
|
331 |
msgid "Use the settings below to automatically create maps from custom fields."
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: ../mappress_settings.php:
|
335 |
msgid "Posts"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: ../mappress_settings.php:
|
339 |
msgid "Pages"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: ../mappress_settings.php:
|
343 |
msgid "country code"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: ../mappress_settings.php:
|
347 |
#, php-format
|
348 |
msgid "Enter a %s to use when searching (leave blank for USA)"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: ../mappress_settings.php:
|
352 |
msgid "Enter a google server URL for directions/printing"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: ../mappress_settings.php:
|
356 |
msgid "(Default)"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: ../mappress_settings.php:
|
360 |
msgid "Metric (kilometers)"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: ../mappress_settings.php:
|
364 |
msgid "Imperial (miles)"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: ../mappress_settings.php:
|
368 |
msgid "Enable map dragging with the mouse"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: ../mappress_settings.php:
|
372 |
msgid "Enable zoom with the mouse scroll wheel"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: ../mappress_settings.php:
|
376 |
msgid "Enable keyboard panning and zooming"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: ../mappress_settings.php:
|
380 |
msgid "language"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: ../mappress_settings.php:
|
384 |
#, php-format
|
385 |
msgid "Use a specific %s for map controls and geocoding"
|
386 |
msgstr ""
|
387 |
|
|
|
388 |
#: ../mappress_settings.php:284
|
389 |
-
#: ../mappress_settings.php:
|
390 |
-
#: ../mappress_settings.php:
|
391 |
-
#: ../mappress_settings.php:497
|
392 |
msgid "Default"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: ../mappress_settings.php:
|
396 |
msgid "Horizontal"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: ../mappress_settings.php:
|
400 |
msgid "Dropdown"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: ../mappress_settings.php:
|
404 |
msgid "Small"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: ../mappress_settings.php:
|
408 |
msgid "Large"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: ../mappress_settings.php:
|
412 |
msgid "Android"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: ../mappress_settings.php:
|
416 |
msgid "Open initially"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: ../mappress_settings.php:
|
420 |
-
#: ../mappress_settings.php:
|
421 |
-
#: ../mappress_settings.php:
|
422 |
msgid "Checked initially"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: ../mappress_settings.php:
|
426 |
msgid "Control"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: ../mappress_settings.php:
|
430 |
msgid "Enable"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: ../mappress_settings.php:
|
434 |
-
#: ../mappress_settings.php:409
|
435 |
msgid "Style"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: ../mappress_settings.php:
|
439 |
msgid "Map types"
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: ../mappress_settings.php:
|
443 |
msgid "Pan"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: ../mappress_settings.php:
|
447 |
msgid "Street view"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: ../mappress_settings.php:
|
451 |
msgid "Scale"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: ../mappress_settings.php:
|
455 |
msgid "Overview map"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: ../mappress_settings.php:
|
459 |
msgid "Public transit"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: ../mappress_settings.php:
|
463 |
msgid "Bike routes"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: ../mappress_settings.php:
|
467 |
msgid "Road map"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: ../mappress_settings.php:
|
471 |
-
#: ../pro/mappress_widget.php:
|
472 |
msgid "Satellite"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: ../mappress_settings.php:
|
476 |
-
#: ../pro/mappress_widget.php:
|
477 |
msgid "Terrain"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: ../mappress_settings.php:
|
481 |
-
#: ../pro/mappress_widget.php:
|
482 |
msgid "Hybrid"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: ../mappress_settings.php:
|
486 |
-
|
|
|
|
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: ../mappress_settings.php:
|
490 |
-
#: ../pro/
|
491 |
-
|
492 |
-
msgid "Google"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: ../mappress_settings.php:
|
496 |
-
#: ../pro/mappress_widget.php:
|
497 |
msgid "None"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: ../mappress_settings.php:
|
501 |
msgid "Automatically open the first POI when a map is displayed"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: ../mappress_settings.php:
|
505 |
-
#: ../mappress_settings.php:
|
506 |
msgid "Show control"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: ../mappress_settings.php:
|
510 |
-
#: ../mappress_settings.php:
|
511 |
msgid "Enabled by default"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: ../mappress_settings.php:
|
515 |
msgid "Show POI titles as a \"tooltip\" on mouse-over"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: ../mappress_settings.php:
|
519 |
-
#: ../pro/mappress_widget.php:
|
520 |
msgid "Center"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: ../mappress_settings.php:
|
524 |
msgid "Left"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: ../mappress_settings.php:
|
528 |
msgid "Right"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: ../mappress_settings.php:
|
532 |
-
msgid "solid"
|
533 |
-
msgstr ""
|
534 |
-
|
535 |
-
#: ../mappress_settings.php:400
|
536 |
-
msgid "dashed"
|
537 |
-
msgstr ""
|
538 |
-
|
539 |
-
#: ../mappress_settings.php:401
|
540 |
-
msgid "dotted"
|
541 |
-
msgstr ""
|
542 |
-
|
543 |
-
#: ../mappress_settings.php:402
|
544 |
-
msgid "double"
|
545 |
-
msgstr ""
|
546 |
-
|
547 |
-
#: ../mappress_settings.php:403
|
548 |
-
msgid "groove"
|
549 |
-
msgstr ""
|
550 |
-
|
551 |
-
#: ../mappress_settings.php:404
|
552 |
-
msgid "inset"
|
553 |
-
msgstr ""
|
554 |
-
|
555 |
-
#: ../mappress_settings.php:405
|
556 |
-
msgid "outset"
|
557 |
-
msgstr ""
|
558 |
-
|
559 |
-
#: ../mappress_settings.php:417
|
560 |
-
#: ../mappress_settings.php:497
|
561 |
-
msgid "Width"
|
562 |
-
msgstr ""
|
563 |
-
|
564 |
-
#: ../mappress_settings.php:423
|
565 |
-
msgid "Corner radius"
|
566 |
-
msgstr ""
|
567 |
-
|
568 |
-
#: ../mappress_settings.php:432
|
569 |
-
msgid "Color"
|
570 |
-
msgstr ""
|
571 |
-
|
572 |
-
#: ../mappress_settings.php:442
|
573 |
-
msgid "Display shadow"
|
574 |
-
msgstr ""
|
575 |
-
|
576 |
-
#: ../mappress_settings.php:466
|
577 |
msgid "Default zoom for POIs entered by lat/lng"
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: ../mappress_settings.php:
|
581 |
msgid "Top of post"
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: ../mappress_settings.php:
|
585 |
msgid "Bottom of post"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: ../mappress_settings.php:
|
589 |
msgid "No automatic display"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: ../mappress_settings.php:
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
#: ../mappress_settings.php:485
|
597 |
-
msgid "Recenter maps when window is resized"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: ../mappress_settings.php:
|
601 |
-
|
602 |
-
msgid "Don't load the %s stylesheet"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: ../mappress_settings.php:
|
606 |
-
msgid "
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: ../mappress_settings.php:
|
610 |
msgid "Height"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: ../mappress_settings.php:
|
614 |
msgid "Enter sizes in px or %"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: ../mappress_settings.php:
|
618 |
msgid "Rate it 5 Stars"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: ../mappress_settings.php:
|
622 |
#, php-format
|
623 |
msgid "%s on WordPress.org"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: ../mappress_settings.php:
|
627 |
msgid "Thanks for your support!"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: ../mappress_settings.php:
|
631 |
msgid "MapPress"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: ../mappress_settings.php:
|
635 |
msgid "Easy Google Maps"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: ../mappress_settings.php:
|
639 |
msgid "Like this plugin?"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: ../mappress_settings.php:
|
643 |
msgid "Sample Map"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: ../mappress_settings.php:
|
647 |
msgid "Save Changes"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: ../mappress_settings.php:
|
651 |
msgid "Reset Defaults"
|
652 |
msgstr ""
|
653 |
|
@@ -664,55 +606,48 @@ msgstr ""
|
|
664 |
msgid "A PRO Version update is available for manual installation: %s"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: ../forms/map_editor.php:
|
668 |
msgid "Add POI"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: ../forms/map_editor.php:
|
672 |
-
#: ../templates/map_directions.php:11
|
673 |
msgid "My location"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: ../forms/map_editor.php:
|
677 |
msgid "Click map for lat/lng: "
|
678 |
msgstr ""
|
679 |
|
|
|
|
|
|
|
|
|
680 |
#: ../forms/map_editor_infobox.php:22
|
681 |
-
|
|
|
682 |
msgstr ""
|
683 |
|
684 |
#: ../forms/map_editor_infobox.php:24
|
685 |
-
msgid "
|
686 |
msgstr ""
|
687 |
|
688 |
#: ../forms/map_editor_infobox.php:25
|
689 |
-
|
690 |
-
msgid "Opacity"
|
691 |
-
msgstr ""
|
692 |
-
|
693 |
-
#: ../forms/map_editor_infobox.php:29
|
694 |
-
msgid "Fill: "
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: ../forms/map_editor_infobox.php:
|
698 |
msgid "Visual"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: ../forms/map_editor_infobox.php:
|
702 |
msgid "HTML"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: ../forms/map_editor_infobox.php:
|
706 |
#: ../forms/map_media.php:46
|
707 |
msgid "Save"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: ../forms/map_editor_infobox.php:46
|
711 |
-
#: ../forms/map_media.php:47
|
712 |
-
#: ../pro/mappress_icons.php:71
|
713 |
-
msgid "Cancel"
|
714 |
-
msgstr ""
|
715 |
-
|
716 |
#: ../forms/map_media.php:11
|
717 |
msgid "Maps for This Post"
|
718 |
msgstr ""
|
@@ -753,7 +688,7 @@ msgstr ""
|
|
753 |
msgid "Error: %s %s"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: ../pro/mappress_icons.php:
|
757 |
msgid "Use default icon"
|
758 |
msgstr ""
|
759 |
|
@@ -761,304 +696,309 @@ msgstr ""
|
|
761 |
msgid "Automatic"
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: ../pro/mappress_pro_settings.php:
|
765 |
msgid "POI list"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: ../pro/mappress_pro_settings.php:
|
769 |
msgid "Use DataTables"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: ../pro/mappress_pro_settings.php:
|
773 |
msgid "InfoWindow type"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: ../pro/mappress_pro_settings.php:
|
777 |
-
msgid "InfoWindow panning"
|
778 |
-
msgstr ""
|
779 |
-
|
780 |
-
#: ../pro/mappress_pro_settings.php:16
|
781 |
msgid "Default icon"
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: ../pro/mappress_pro_settings.php:
|
785 |
msgid "Custom icons directory"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: ../pro/mappress_pro_settings.php:
|
|
|
|
|
|
|
|
|
789 |
msgid "Mashup POI title"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: ../pro/mappress_pro_settings.php:
|
793 |
msgid "Mashup POI body"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: ../pro/mappress_pro_settings.php:
|
797 |
msgid "Mashup POI click"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: ../pro/mappress_pro_settings.php:
|
801 |
msgid "Link title"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: ../pro/mappress_pro_settings.php:
|
805 |
msgid "Mashup Thumbnails"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: ../pro/mappress_pro_settings.php:
|
809 |
msgid "Thumbnail Size"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: ../pro/mappress_pro_settings.php:
|
|
|
|
|
|
|
|
|
813 |
msgid "Styled maps"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: ../pro/mappress_pro_settings.php:
|
817 |
msgid "Default style"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: ../pro/mappress_pro_settings.php:
|
821 |
msgid "Geocoder(s)"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: ../pro/mappress_pro_settings.php:
|
825 |
msgid "Geocoding fields"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: ../pro/mappress_pro_settings.php:
|
829 |
msgid "API key (optional)"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: ../pro/mappress_pro_settings.php:
|
833 |
msgid "Force resize"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: ../pro/mappress_pro_settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
837 |
msgid "Show a list of POIs under each map"
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: ../pro/mappress_pro_settings.php:
|
841 |
#, php-format
|
842 |
msgid "Show the POI list as a sortable %s"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: ../pro/mappress_pro_settings.php:
|
846 |
msgid "POI title"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: ../pro/mappress_pro_settings.php:
|
850 |
msgid "Post title"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: ../pro/mappress_pro_settings.php:
|
854 |
msgid "POI body"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: ../pro/mappress_pro_settings.php:
|
858 |
msgid "Address"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: ../pro/mappress_pro_settings.php:
|
862 |
msgid "Post excerpt"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: ../pro/mappress_pro_settings.php:
|
866 |
msgid "Link POI titles to the underlying post"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: ../pro/mappress_pro_settings.php:
|
870 |
msgid "Open the POI"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: ../pro/mappress_pro_settings.php:
|
874 |
msgid "Go directly to the post"
|
875 |
msgstr ""
|
876 |
|
877 |
-
#: ../pro/mappress_pro_settings.php:
|
878 |
msgid "Google InfoWindow"
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: ../pro/mappress_pro_settings.php:
|
882 |
-
msgid "InfoBox
|
883 |
-
msgstr ""
|
884 |
-
|
885 |
-
#: ../pro/mappress_pro_settings.php:113
|
886 |
-
msgid "Disable map panning when infoWindow / infoBox is opened"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: ../pro/mappress_pro_settings.php:
|
890 |
msgid "Show featured image thumbnails in mashup POIs"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: ../pro/mappress_pro_settings.php:
|
894 |
msgid "Use existing size: "
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: ../pro/mappress_pro_settings.php:
|
898 |
msgid "or resize to (px): "
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: ../pro/mappress_pro_settings.php:
|
902 |
msgid "styled maps"
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: ../pro/mappress_pro_settings.php:
|
906 |
msgid "styled maps wizard"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: ../pro/mappress_pro_settings.php:
|
910 |
#, php-format
|
911 |
msgid "Enter JSON for %s from Google's %s"
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: ../pro/mappress_pro_settings.php:
|
915 |
msgid "Style name"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: ../pro/mappress_pro_settings.php:
|
919 |
msgid "No styles have been defined yet"
|
920 |
msgstr ""
|
921 |
|
922 |
-
#: ../pro/mappress_pro_settings.php:
|
923 |
msgid "Nominatim"
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: ../pro/mappress_pro_settings.php:
|
927 |
msgid "Address Line 1"
|
928 |
msgstr ""
|
929 |
|
930 |
-
#: ../pro/mappress_pro_settings.php:
|
931 |
msgid "Address Line 2"
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: ../pro/mappress_pro_settings.php:
|
935 |
msgid "Address Line 3"
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: ../pro/mappress_pro_settings.php:
|
939 |
msgid "Address Line 4"
|
940 |
msgstr ""
|
941 |
|
942 |
-
#: ../pro/mappress_pro_settings.php:
|
943 |
msgid "Address Line 5"
|
944 |
msgstr ""
|
945 |
|
946 |
-
#: ../pro/mappress_pro_settings.php:
|
947 |
msgid "Address Line 6"
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: ../pro/mappress_pro_settings.php:
|
951 |
msgid "Latitude"
|
952 |
msgstr ""
|
953 |
|
954 |
-
#: ../pro/mappress_pro_settings.php:
|
955 |
msgid "Longitude"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: ../pro/mappress_pro_settings.php:
|
959 |
-
msgid "Icon"
|
960 |
-
msgstr ""
|
961 |
-
|
962 |
-
#: ../pro/mappress_pro_settings.php:201
|
963 |
msgid "Title"
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: ../pro/mappress_pro_settings.php:
|
967 |
msgid "Body"
|
968 |
msgstr ""
|
969 |
|
970 |
-
#: ../pro/mappress_pro_settings.php:
|
971 |
msgid "Map Zoom"
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: ../pro/mappress_pro_settings.php:
|
975 |
-
#: ../pro/mappress_widget.php:
|
976 |
msgid "Map"
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: ../pro/mappress_pro_settings.php:
|
980 |
msgid "Custom Field"
|
981 |
msgstr ""
|
982 |
|
983 |
-
#: ../pro/mappress_pro_settings.php:
|
984 |
msgid "Overwrite existing maps when updating"
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: ../pro/mappress_pro_settings.php:
|
988 |
msgid "usage tracking"
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: ../pro/mappress_pro_settings.php:
|
992 |
#, php-format
|
993 |
msgid "API keys is needed only for premium services or %s"
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: ../pro/mappress_pro_settings.php:
|
997 |
msgid "Permanently resize existing maps"
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: ../pro/mappress_pro_settings.php:
|
1001 |
#, php-format
|
1002 |
msgid "from %s to %s"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: ../pro/mappress_pro_settings.php:
|
1006 |
msgid "Force Resize"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: ../pro/mappress_widget.php:
|
1010 |
msgid "Widget title"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: ../pro/mappress_widget.php:
|
1014 |
msgid "Map size"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: ../pro/mappress_widget.php:
|
1018 |
msgid "Show"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: ../pro/mappress_widget.php:
|
1022 |
msgid "Current posts"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: ../pro/mappress_widget.php:
|
1026 |
msgid "Hide if empty"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: ../pro/mappress_widget.php:
|
1030 |
msgid "All posts"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: ../pro/mappress_widget.php:
|
1034 |
msgid "Custom query"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: ../pro/mappress_widget.php:
|
1038 |
msgid "Learn about queries"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#: ../pro/mappress_widget.php:
|
1042 |
msgid "Show POI list"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: ../pro/mappress_widget.php:
|
1046 |
msgid "Link POIs to posts"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: ../pro/mappress_widget.php:
|
1050 |
-
msgid "Inline"
|
1051 |
-
msgstr ""
|
1052 |
-
|
1053 |
-
#: ../pro/mappress_widget.php:137
|
1054 |
msgid "Map type"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
-
#: ../pro/mappress_widget.php:
|
1058 |
msgid "Other Settings"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
-
#: ../pro/mappress_widget.php:
|
1062 |
msgid "Example: traffic=\"false\" maplinks=\"\""
|
1063 |
msgstr ""
|
1064 |
|
@@ -1094,3 +1034,5 @@ msgstr ""
|
|
1094 |
msgid "Location"
|
1095 |
msgstr ""
|
1096 |
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-04-30 14:40-0800\n"
|
6 |
+
"PO-Revision-Date: 2015-04-30 14:40-0800\n"
|
7 |
"Last-Translator: Plugin Author <donotreply@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SearchPath-0: ..\n"
|
15 |
|
16 |
+
#: ../mappress.php:119
|
17 |
msgid "Version"
|
18 |
msgstr "Version"
|
19 |
|
20 |
+
#: ../mappress.php:127
|
21 |
msgid "Documentation"
|
22 |
msgstr "Documentation"
|
23 |
|
24 |
+
#: ../mappress.php:128
|
25 |
msgid "Support"
|
26 |
msgstr "Support"
|
27 |
|
28 |
+
#: ../mappress.php:131
|
|
|
|
|
|
|
|
|
29 |
msgid "Upgrade to MapPress Pro"
|
30 |
msgstr ""
|
31 |
|
41 |
msgid "WARNING: MapPress is not compfatible with the WP-Geo plugin. Please deactivate or uninstall WP-Geo before using MapPress."
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: ../mappress.php:554
|
|
|
45 |
msgid "Bicycling"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: ../mappress.php:555
|
49 |
msgid "Bike"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: ../mappress.php:556
|
53 |
msgid "One of the addresses could not be found."
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../mappress.php:557
|
57 |
msgid "Google cannot return directions between those addresses. There is no route between them or the routing information is not available."
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: ../mappress.php:558
|
61 |
msgid "Unknown error, unable to return directions. Status code = "
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: ../mappress.php:559
|
65 |
+
#: ../mappress_poi.php:244
|
66 |
+
#: ../mappress_settings.php:131
|
67 |
+
#: ../pro/mappress_widget.php:106
|
68 |
msgid "Directions"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../mappress.php:560
|
72 |
msgid "Error reading KML file"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../mappress.php:561
|
76 |
msgid "Loading..."
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../mappress.php:562
|
80 |
msgid "No matching address"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../mappress.php:563
|
84 |
msgid "Unable to get your location"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../mappress.php:564
|
88 |
+
#: ../mappress_settings.php:316
|
89 |
msgid "Traffic"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: ../mappress.php:565
|
93 |
msgid "Transit"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: ../mappress.php:566
|
97 |
+
#: ../mappress_poi.php:293
|
98 |
+
#: ../mappress_settings.php:311
|
99 |
+
#: ../mappress_settings.php:399
|
100 |
+
#: ../pro/mappress_widget.php:122
|
101 |
msgid "Zoom"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: ../mappress.php:571
|
105 |
+
#: ../mappress_controls.php:156
|
106 |
msgid "Add"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: ../mappress.php:572
|
110 |
msgid "Click & drag to move"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: ../mappress.php:573
|
114 |
msgid "Click to change"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: ../mappress.php:574
|
118 |
+
#: ../mappress_controls.php:141
|
119 |
+
#: ../mappress_map.php:467
|
120 |
msgid "Delete"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: ../mappress.php:575
|
124 |
msgid "Delete this POI?"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../mappress.php:576
|
128 |
msgid "Delete this map?"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../mappress.php:577
|
132 |
msgid "Please save the map first"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: ../mappress.php:578
|
136 |
msgid "Shape"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: ../mappress.php:579
|
|
|
140 |
msgid "Untitled"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: ../mappress_controls.php:203
|
144 |
+
msgid "New"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: ../mappress_controls.php:205
|
148 |
+
#: ../forms/map_editor_infobox.php:39
|
149 |
+
#: ../forms/map_media.php:47
|
150 |
+
#: ../pro/mappress_icons.php:53
|
151 |
+
msgid "Cancel"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: ../mappress_map.php:115
|
155 |
msgid "Map not found"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: ../mappress_map.php:465
|
159 |
msgid "Edit"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: ../mappress_map.php:466
|
163 |
#: ../forms/map_media.php:48
|
164 |
msgid "Insert into post"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: ../mappress_map.php:492
|
168 |
msgid "Show map"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: ../mappress_map.php:504
|
172 |
+
#: ../mappress_settings.php:391
|
173 |
+
#: ../forms/map_editor.php:25
|
174 |
msgid "Center map"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: ../mappress_map.php:513
|
178 |
+
#: ../mappress_settings.php:392
|
179 |
msgid "Reset map"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: ../mappress_map.php:522
|
183 |
+
#: ../mappress_settings.php:390
|
184 |
msgid "Bigger map"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: ../mappress_map.php:523
|
188 |
msgid "Smaller map"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: ../mappress_poi.php:209
|
192 |
+
#: ../mappress_settings.php:400
|
193 |
msgid "Directions to"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: ../mappress_poi.php:211
|
197 |
+
#: ../mappress_settings.php:401
|
198 |
msgid "Directions from"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: ../mappress_settings.php:128
|
202 |
msgid "Basic Settings"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: ../mappress_settings.php:129
|
206 |
msgid "Post types"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: ../mappress_settings.php:130
|
210 |
msgid "Automatic map display"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: ../mappress_settings.php:133
|
214 |
msgid "Map Controls"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: ../mappress_settings.php:134
|
218 |
msgid "Draggable"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: ../mappress_settings.php:135
|
222 |
msgid "Keyboard shortcuts"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: ../mappress_settings.php:136
|
226 |
msgid "Scroll wheel zoom"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: ../mappress_settings.php:137
|
230 |
msgid "Map Types"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: ../mappress_settings.php:138
|
234 |
msgid "Map controls"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: ../mappress_settings.php:140
|
238 |
msgid "Map Settings"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: ../mappress_settings.php:141
|
242 |
msgid "Map links"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: ../mappress_settings.php:142
|
246 |
msgid "Map alignment"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: ../mappress_settings.php:143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
msgid "Open first POI"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: ../mappress_settings.php:145
|
254 |
msgid "POI Settings"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: ../mappress_settings.php:146
|
258 |
msgid "POI links"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: ../mappress_settings.php:147
|
262 |
msgid "Tooltips"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: ../mappress_settings.php:148
|
266 |
msgid "Default zoom"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: ../mappress_settings.php:151
|
270 |
msgid "Mashups"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: ../mappress_settings.php:152
|
274 |
msgid "Icons"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: ../mappress_settings.php:153
|
278 |
msgid "Styled Maps"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: ../mappress_settings.php:154
|
282 |
msgid "Geocoding"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: ../mappress_settings.php:157
|
286 |
msgid "Localization"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: ../mappress_settings.php:158
|
290 |
msgid "Language"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: ../mappress_settings.php:159
|
294 |
msgid "Country"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: ../mappress_settings.php:160
|
298 |
msgid "Directions server"
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: ../mappress_settings.php:161
|
302 |
msgid "Directions units"
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: ../mappress_settings.php:163
|
306 |
msgid "Miscellaneous"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: ../mappress_settings.php:164
|
310 |
msgid "Map sizes"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: ../mappress_settings.php:165
|
314 |
+
msgid "Scripts"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: ../mappress_settings.php:166
|
318 |
+
msgid "CSS"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: ../mappress_settings.php:216
|
322 |
msgid "Use the settings below to automatically create maps from custom fields."
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: ../mappress_settings.php:222
|
326 |
msgid "Posts"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: ../mappress_settings.php:223
|
330 |
msgid "Pages"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: ../mappress_settings.php:235
|
334 |
msgid "country code"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: ../mappress_settings.php:237
|
338 |
#, php-format
|
339 |
msgid "Enter a %s to use when searching (leave blank for USA)"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: ../mappress_settings.php:244
|
343 |
msgid "Enter a google server URL for directions/printing"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: ../mappress_settings.php:249
|
347 |
msgid "(Default)"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: ../mappress_settings.php:249
|
351 |
msgid "Metric (kilometers)"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: ../mappress_settings.php:249
|
355 |
msgid "Imperial (miles)"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: ../mappress_settings.php:254
|
359 |
msgid "Enable map dragging with the mouse"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: ../mappress_settings.php:258
|
363 |
msgid "Enable zoom with the mouse scroll wheel"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: ../mappress_settings.php:262
|
367 |
msgid "Enable keyboard panning and zooming"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: ../mappress_settings.php:268
|
371 |
msgid "language"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: ../mappress_settings.php:270
|
375 |
#, php-format
|
376 |
msgid "Use a specific %s for map controls and geocoding"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: ../mappress_settings.php:278
|
380 |
#: ../mappress_settings.php:284
|
381 |
+
#: ../mappress_settings.php:378
|
382 |
+
#: ../mappress_settings.php:432
|
|
|
383 |
msgid "Default"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: ../mappress_settings.php:279
|
387 |
msgid "Horizontal"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: ../mappress_settings.php:280
|
391 |
msgid "Dropdown"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: ../mappress_settings.php:285
|
395 |
msgid "Small"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: ../mappress_settings.php:286
|
399 |
msgid "Large"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: ../mappress_settings.php:287
|
403 |
msgid "Android"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: ../mappress_settings.php:298
|
407 |
msgid "Open initially"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: ../mappress_settings.php:300
|
411 |
+
#: ../mappress_settings.php:302
|
412 |
+
#: ../mappress_settings.php:304
|
413 |
msgid "Checked initially"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: ../mappress_settings.php:306
|
417 |
msgid "Control"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: ../mappress_settings.php:306
|
421 |
msgid "Enable"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: ../mappress_settings.php:306
|
|
|
425 |
msgid "Style"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: ../mappress_settings.php:309
|
429 |
msgid "Map types"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: ../mappress_settings.php:310
|
433 |
msgid "Pan"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: ../mappress_settings.php:312
|
437 |
msgid "Street view"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../mappress_settings.php:313
|
441 |
msgid "Scale"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../mappress_settings.php:314
|
445 |
msgid "Overview map"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: ../mappress_settings.php:315
|
449 |
msgid "Public transit"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: ../mappress_settings.php:317
|
453 |
msgid "Bike routes"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: ../mappress_settings.php:324
|
457 |
msgid "Road map"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: ../mappress_settings.php:325
|
461 |
+
#: ../pro/mappress_widget.php:140
|
462 |
msgid "Satellite"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: ../mappress_settings.php:326
|
466 |
+
#: ../pro/mappress_widget.php:141
|
467 |
msgid "Terrain"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: ../mappress_settings.php:327
|
471 |
+
#: ../pro/mappress_widget.php:139
|
472 |
msgid "Hybrid"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: ../mappress_settings.php:340
|
476 |
+
#: ../pro/mappress_pro_settings.php:260
|
477 |
+
#: ../pro/mappress_widget.php:108
|
478 |
+
msgid "Google"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: ../mappress_settings.php:341
|
482 |
+
#: ../pro/mappress_widget.php:107
|
483 |
+
msgid "Inline"
|
|
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: ../mappress_settings.php:342
|
487 |
+
#: ../pro/mappress_widget.php:109
|
488 |
msgid "None"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: ../mappress_settings.php:349
|
492 |
msgid "Automatically open the first POI when a map is displayed"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: ../mappress_settings.php:354
|
496 |
+
#: ../mappress_settings.php:363
|
497 |
msgid "Show control"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: ../mappress_settings.php:358
|
501 |
+
#: ../mappress_settings.php:367
|
502 |
msgid "Enabled by default"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: ../mappress_settings.php:371
|
506 |
msgid "Show POI titles as a \"tooltip\" on mouse-over"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: ../mappress_settings.php:379
|
510 |
+
#: ../pro/mappress_widget.php:114
|
511 |
msgid "Center"
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: ../mappress_settings.php:380
|
515 |
msgid "Left"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: ../mappress_settings.php:381
|
519 |
msgid "Right"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: ../mappress_settings.php:409
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
msgid "Default zoom for POIs entered by lat/lng"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: ../mappress_settings.php:415
|
527 |
msgid "Top of post"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: ../mappress_settings.php:416
|
531 |
msgid "Bottom of post"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: ../mappress_settings.php:417
|
535 |
msgid "No automatic display"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: ../mappress_settings.php:424
|
539 |
+
#, php-format
|
540 |
+
msgid "Load %s"
|
|
|
|
|
|
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: ../mappress_settings.php:428
|
544 |
+
msgid "Output scripts in footer"
|
|
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: ../mappress_settings.php:432
|
548 |
+
msgid "Width"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: ../mappress_settings.php:432
|
552 |
msgid "Height"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: ../mappress_settings.php:443
|
556 |
msgid "Enter sizes in px or %"
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: ../mappress_settings.php:453
|
560 |
msgid "Rate it 5 Stars"
|
561 |
msgstr ""
|
562 |
|
563 |
+
#: ../mappress_settings.php:455
|
564 |
#, php-format
|
565 |
msgid "%s on WordPress.org"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: ../mappress_settings.php:456
|
569 |
msgid "Thanks for your support!"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: ../mappress_settings.php:483
|
573 |
msgid "MapPress"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: ../mappress_settings.php:484
|
577 |
msgid "Easy Google Maps"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: ../mappress_settings.php:533
|
581 |
msgid "Like this plugin?"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: ../mappress_settings.php:535
|
585 |
msgid "Sample Map"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: ../mappress_settings.php:554
|
589 |
msgid "Save Changes"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: ../mappress_settings.php:555
|
593 |
msgid "Reset Defaults"
|
594 |
msgstr ""
|
595 |
|
606 |
msgid "A PRO Version update is available for manual installation: %s"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: ../forms/map_editor.php:5
|
610 |
msgid "Add POI"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: ../forms/map_editor.php:11
|
|
|
614 |
msgid "My location"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: ../forms/map_editor.php:26
|
618 |
msgid "Click map for lat/lng: "
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: ../forms/map_editor_infobox.php:20
|
622 |
+
msgid "Color"
|
623 |
+
msgstr ""
|
624 |
+
|
625 |
#: ../forms/map_editor_infobox.php:22
|
626 |
+
#: ../forms/map_editor_infobox.php:23
|
627 |
+
msgid "Opacity"
|
628 |
msgstr ""
|
629 |
|
630 |
#: ../forms/map_editor_infobox.php:24
|
631 |
+
msgid "Line"
|
632 |
msgstr ""
|
633 |
|
634 |
#: ../forms/map_editor_infobox.php:25
|
635 |
+
msgid "Weight"
|
|
|
|
|
|
|
|
|
|
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: ../forms/map_editor_infobox.php:33
|
639 |
msgid "Visual"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: ../forms/map_editor_infobox.php:33
|
643 |
msgid "HTML"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: ../forms/map_editor_infobox.php:38
|
647 |
#: ../forms/map_media.php:46
|
648 |
msgid "Save"
|
649 |
msgstr ""
|
650 |
|
|
|
|
|
|
|
|
|
|
|
|
|
651 |
#: ../forms/map_media.php:11
|
652 |
msgid "Maps for This Post"
|
653 |
msgstr ""
|
688 |
msgid "Error: %s %s"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: ../pro/mappress_icons.php:52
|
692 |
msgid "Use default icon"
|
693 |
msgstr ""
|
694 |
|
696 |
msgid "Automatic"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: ../pro/mappress_pro_settings.php:14
|
700 |
msgid "POI list"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: ../pro/mappress_pro_settings.php:15
|
704 |
msgid "Use DataTables"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: ../pro/mappress_pro_settings.php:17
|
708 |
msgid "InfoWindow type"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: ../pro/mappress_pro_settings.php:19
|
|
|
|
|
|
|
|
|
712 |
msgid "Default icon"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: ../pro/mappress_pro_settings.php:20
|
716 |
msgid "Custom icons directory"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: ../pro/mappress_pro_settings.php:21
|
720 |
+
msgid "Icon scaling"
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: ../pro/mappress_pro_settings.php:23
|
724 |
msgid "Mashup POI title"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: ../pro/mappress_pro_settings.php:24
|
728 |
msgid "Mashup POI body"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: ../pro/mappress_pro_settings.php:25
|
732 |
msgid "Mashup POI click"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: ../pro/mappress_pro_settings.php:26
|
736 |
msgid "Link title"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: ../pro/mappress_pro_settings.php:27
|
740 |
msgid "Mashup Thumbnails"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: ../pro/mappress_pro_settings.php:28
|
744 |
msgid "Thumbnail Size"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: ../pro/mappress_pro_settings.php:29
|
748 |
+
msgid "Automatic icons"
|
749 |
+
msgstr ""
|
750 |
+
|
751 |
+
#: ../pro/mappress_pro_settings.php:31
|
752 |
msgid "Styled maps"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: ../pro/mappress_pro_settings.php:32
|
756 |
msgid "Default style"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: ../pro/mappress_pro_settings.php:34
|
760 |
msgid "Geocoder(s)"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: ../pro/mappress_pro_settings.php:35
|
764 |
msgid "Geocoding fields"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: ../pro/mappress_pro_settings.php:37
|
768 |
msgid "API key (optional)"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: ../pro/mappress_pro_settings.php:38
|
772 |
msgid "Force resize"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: ../pro/mappress_pro_settings.php:149
|
776 |
+
msgid "Key"
|
777 |
+
msgstr ""
|
778 |
+
|
779 |
+
#: ../pro/mappress_pro_settings.php:149
|
780 |
+
msgid "Value"
|
781 |
+
msgstr ""
|
782 |
+
|
783 |
+
#: ../pro/mappress_pro_settings.php:149
|
784 |
+
#: ../pro/mappress_pro_settings.php:281
|
785 |
+
msgid "Icon"
|
786 |
+
msgstr ""
|
787 |
+
|
788 |
+
#: ../pro/mappress_pro_settings.php:154
|
789 |
msgid "Show a list of POIs under each map"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: ../pro/mappress_pro_settings.php:159
|
793 |
#, php-format
|
794 |
msgid "Show the POI list as a sortable %s"
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: ../pro/mappress_pro_settings.php:163
|
798 |
msgid "POI title"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: ../pro/mappress_pro_settings.php:163
|
802 |
msgid "Post title"
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: ../pro/mappress_pro_settings.php:168
|
806 |
msgid "POI body"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: ../pro/mappress_pro_settings.php:168
|
810 |
msgid "Address"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: ../pro/mappress_pro_settings.php:168
|
814 |
msgid "Post excerpt"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: ../pro/mappress_pro_settings.php:173
|
818 |
msgid "Link POI titles to the underlying post"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: ../pro/mappress_pro_settings.php:177
|
822 |
msgid "Open the POI"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: ../pro/mappress_pro_settings.php:177
|
826 |
msgid "Go directly to the post"
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: ../pro/mappress_pro_settings.php:192
|
830 |
msgid "Google InfoWindow"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: ../pro/mappress_pro_settings.php:193
|
834 |
+
msgid "InfoBox"
|
|
|
|
|
|
|
|
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: ../pro/mappress_pro_settings.php:199
|
838 |
msgid "Show featured image thumbnails in mashup POIs"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: ../pro/mappress_pro_settings.php:207
|
842 |
msgid "Use existing size: "
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: ../pro/mappress_pro_settings.php:210
|
846 |
msgid "or resize to (px): "
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: ../pro/mappress_pro_settings.php:224
|
850 |
msgid "styled maps"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: ../pro/mappress_pro_settings.php:225
|
854 |
msgid "styled maps wizard"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: ../pro/mappress_pro_settings.php:227
|
858 |
#, php-format
|
859 |
msgid "Enter JSON for %s from Google's %s"
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: ../pro/mappress_pro_settings.php:236
|
863 |
msgid "Style name"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: ../pro/mappress_pro_settings.php:250
|
867 |
msgid "No styles have been defined yet"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: ../pro/mappress_pro_settings.php:261
|
871 |
msgid "Nominatim"
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: ../pro/mappress_pro_settings.php:273
|
875 |
msgid "Address Line 1"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: ../pro/mappress_pro_settings.php:274
|
879 |
msgid "Address Line 2"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: ../pro/mappress_pro_settings.php:275
|
883 |
msgid "Address Line 3"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: ../pro/mappress_pro_settings.php:276
|
887 |
msgid "Address Line 4"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: ../pro/mappress_pro_settings.php:277
|
891 |
msgid "Address Line 5"
|
892 |
msgstr ""
|
893 |
|
894 |
+
#: ../pro/mappress_pro_settings.php:278
|
895 |
msgid "Address Line 6"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: ../pro/mappress_pro_settings.php:279
|
899 |
msgid "Latitude"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: ../pro/mappress_pro_settings.php:280
|
903 |
msgid "Longitude"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: ../pro/mappress_pro_settings.php:282
|
|
|
|
|
|
|
|
|
907 |
msgid "Title"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: ../pro/mappress_pro_settings.php:283
|
911 |
msgid "Body"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: ../pro/mappress_pro_settings.php:284
|
915 |
msgid "Map Zoom"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: ../pro/mappress_pro_settings.php:287
|
919 |
+
#: ../pro/mappress_widget.php:138
|
920 |
msgid "Map"
|
921 |
msgstr ""
|
922 |
|
923 |
+
#: ../pro/mappress_pro_settings.php:287
|
924 |
msgid "Custom Field"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: ../pro/mappress_pro_settings.php:296
|
928 |
msgid "Overwrite existing maps when updating"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: ../pro/mappress_pro_settings.php:301
|
932 |
msgid "usage tracking"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: ../pro/mappress_pro_settings.php:302
|
936 |
#, php-format
|
937 |
msgid "API keys is needed only for premium services or %s"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: ../pro/mappress_pro_settings.php:310
|
941 |
msgid "Permanently resize existing maps"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: ../pro/mappress_pro_settings.php:312
|
945 |
#, php-format
|
946 |
msgid "from %s to %s"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: ../pro/mappress_pro_settings.php:313
|
950 |
msgid "Force Resize"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: ../pro/mappress_widget.php:76
|
954 |
msgid "Widget title"
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: ../pro/mappress_widget.php:81
|
958 |
msgid "Map size"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: ../pro/mappress_widget.php:87
|
962 |
msgid "Show"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: ../pro/mappress_widget.php:88
|
966 |
msgid "Current posts"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: ../pro/mappress_widget.php:89
|
970 |
msgid "Hide if empty"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: ../pro/mappress_widget.php:91
|
974 |
msgid "All posts"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: ../pro/mappress_widget.php:92
|
978 |
msgid "Custom query"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: ../pro/mappress_widget.php:95
|
982 |
msgid "Learn about queries"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: ../pro/mappress_widget.php:100
|
986 |
msgid "Show POI list"
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: ../pro/mappress_widget.php:102
|
990 |
msgid "Link POIs to posts"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: ../pro/mappress_widget.php:135
|
|
|
|
|
|
|
|
|
994 |
msgid "Map type"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: ../pro/mappress_widget.php:149
|
998 |
msgid "Other Settings"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: ../pro/mappress_widget.php:152
|
1002 |
msgid "Example: traffic=\"false\" maplinks=\"\""
|
1003 |
msgstr ""
|
1004 |
|
1034 |
msgid "Location"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#~ msgid "Contact"
|
1038 |
+
#~ msgstr "Contact"
|
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.
|
8 |
Author: Chris Richardson
|
9 |
Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
|
10 |
*/
|
@@ -15,21 +15,23 @@ Thanks to all the translators and to Matthias Stasiak for his wonderful icons (h
|
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license.txt file for details.
|
16 |
*/
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
31 |
class Mappress {
|
32 |
-
const VERSION = '2.
|
33 |
|
34 |
static
|
35 |
$baseurl,
|
@@ -37,10 +39,8 @@ class Mappress {
|
|
37 |
$basedir,
|
38 |
$debug,
|
39 |
$geocoders,
|
40 |
-
$js,
|
41 |
$options,
|
42 |
$pages,
|
43 |
-
$remote,
|
44 |
$updater;
|
45 |
|
46 |
var
|
@@ -54,49 +54,53 @@ class Mappress {
|
|
54 |
|
55 |
$this->debugging();
|
56 |
|
57 |
-
if (self::$remote)
|
58 |
-
self::$js = 'http://localhost/dev/wp-content/plugins/mappress-google-maps-for-wordpress/src';
|
59 |
-
elseif (defined('MAPPRESS_DEBUG'))
|
60 |
-
self::$js = self::$baseurl . '/src';
|
61 |
-
else self::$js = self::$baseurl . '/js';
|
62 |
-
|
63 |
// Initialize Pro classes
|
64 |
if (class_exists('Mappress_Pro')) {
|
65 |
-
$icons = new Mappress_Icons();
|
66 |
self::$geocoders = new Mappress_Geocoders();
|
67 |
self::$updater = new Mappress_Updater(self::$basename);
|
68 |
}
|
69 |
|
70 |
-
add_action('admin_menu', array(
|
71 |
-
add_action('init', array(
|
72 |
|
73 |
-
add_shortcode('mappress', array(
|
74 |
-
add_action('admin_notices', array(
|
75 |
|
76 |
// Post hooks
|
77 |
-
add_action('deleted_post', array(
|
78 |
|
79 |
// Filter to automatically add maps to post/page content
|
80 |
-
add_filter('the_content', array(
|
81 |
|
82 |
// Scripts and stylesheets
|
83 |
-
add_action('wp_enqueue_scripts', array(
|
84 |
-
add_action('admin_enqueue_scripts', array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
}
|
90 |
|
91 |
// mp_errors -> PHP errors
|
92 |
-
// mp_info -> phpinfo + dump
|
93 |
// mp_remote -> use remote js
|
94 |
// mp_debug -> add debug info
|
95 |
function debugging() {
|
96 |
global $wpdb;
|
|
|
97 |
|
98 |
-
self::$
|
99 |
-
self::$debug = (isset($_GET['mp_debug'])) ? true : defined('MAPPRESS_DEBUG');
|
100 |
|
101 |
if (isset($_GET['mp_errors'])) {
|
102 |
error_reporting(E_ALL);
|
@@ -106,15 +110,8 @@ class Mappress {
|
|
106 |
}
|
107 |
|
108 |
if (isset($_GET['mp_info'])) {
|
109 |
-
$bloginfo = array('version', 'language', 'stylesheet_url', 'wpurl', 'url');
|
110 |
-
echo "<br/><b>bloginfo</b><br/>";
|
111 |
-
foreach ($bloginfo as $key=>$info)
|
112 |
-
echo "$info: " . bloginfo($info) . "<br/>";
|
113 |
echo "<b>Plugin version</b> " . $this->get_version_string();
|
114 |
-
|
115 |
-
print_r(self::$options);
|
116 |
-
echo "<br/><b>phpinfo</b><br/>";
|
117 |
-
phpinfo();
|
118 |
}
|
119 |
}
|
120 |
|
@@ -128,11 +125,10 @@ class Mappress {
|
|
128 |
static function get_support_links() {
|
129 |
echo self::get_version_string();
|
130 |
echo " | <a target='_blank' href='http://wphostreviews.com/mappress/mappress-documentation'>" . __('Documentation', 'mappress') . "</a>";
|
131 |
-
echo " | <a target='_blank' href='http://wphostreviews.com/
|
132 |
-
echo " | <a target='_blank' href='http://wphostreviews.com/chris-contact'>" . __('Contact', 'mappress') . "</a>";
|
133 |
|
134 |
if (!class_exists('Mappress_Pro'))
|
135 |
-
echo "
|
136 |
}
|
137 |
|
138 |
static function ajax_response($status, $data=null) {
|
@@ -151,8 +147,6 @@ class Mappress {
|
|
151 |
}
|
152 |
|
153 |
function admin_menu() {
|
154 |
-
$pages = array();
|
155 |
-
|
156 |
// Settings
|
157 |
$settings = (class_exists('Mappress_Pro')) ? new Mappress_Pro_Settings() : new Mappress_Settings();
|
158 |
self::$pages[] = add_menu_page('MapPress', 'MapPress', 'manage_options', 'mappress', array(&$settings, 'options_page'), self::$baseurl . '/images/mappress_pin_logo.png');
|
@@ -183,6 +177,10 @@ class Mappress {
|
|
183 |
if (is_feed() || is_admin())
|
184 |
return $content;
|
185 |
|
|
|
|
|
|
|
|
|
186 |
// If this is an excerpt don't attempt to add the map to it
|
187 |
if (in_array('get_the_excerpt', $wp_current_filter))
|
188 |
return $content;
|
@@ -248,50 +246,48 @@ class Mappress {
|
|
248 |
* CSS is loaded from: child theme, theme, or plugin directory
|
249 |
*/
|
250 |
function wp_enqueue_scripts() {
|
251 |
-
//
|
252 |
-
if (self::$options->
|
253 |
-
|
|
|
254 |
|
255 |
-
|
256 |
-
|
|
|
|
|
|
|
257 |
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
elseif ( @file_exists( get_template_directory() . '/mappress.css' ) )
|
262 |
-
$file = get_template_directory_uri() . '/mappress.css';
|
263 |
|
264 |
-
|
265 |
-
|
|
|
266 |
}
|
267 |
|
268 |
// Scripts & styles for admin
|
269 |
// CSS is always loaded from the plugin directory
|
270 |
function admin_enqueue_scripts($hook) {
|
271 |
-
$version = Mappress::VERSION;
|
272 |
-
$min = (defined('MAPPRESS_DEBUG') || self::$remote) ? "" : ".min";
|
273 |
-
|
274 |
// Some plugins call this without setting $hook
|
275 |
if (empty($hook))
|
276 |
return;
|
277 |
|
278 |
-
//
|
279 |
-
if (
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
wp_enqueue_style('mappress_admin', self::$baseurl . '/css/mappress_admin.css', null, self::VERSION);
|
286 |
-
}
|
287 |
|
288 |
-
//
|
289 |
-
if ($hook
|
290 |
wp_enqueue_style('mappress', self::$baseurl . '/css/mappress.css', null, self::VERSION);
|
291 |
-
wp_enqueue_style('
|
|
|
292 |
}
|
293 |
|
294 |
-
|
295 |
/**
|
296 |
* There are several WP bugs that prevent correct activation in multisitie:
|
297 |
* http://core.trac.wordpress.org/ticket/14170
|
@@ -307,8 +303,12 @@ class Mappress {
|
|
307 |
// Register hooks and create database tables
|
308 |
Mappress_Map::register();
|
309 |
|
310 |
-
|
|
|
|
|
311 |
Mappress_Query::register();
|
|
|
|
|
312 |
|
313 |
// Check if upgrade is needed
|
314 |
$current_version = get_option('mappress_version');
|
@@ -435,14 +435,18 @@ class Mappress {
|
|
435 |
* @param mixed $script
|
436 |
*/
|
437 |
static function script($script) {
|
438 |
-
|
|
|
|
|
439 |
}
|
440 |
|
441 |
function enqueue_map($map = null) {
|
442 |
-
//
|
443 |
-
$
|
|
|
444 |
|
445 |
-
//
|
|
|
446 |
$this->queue[$map->name] = $map;
|
447 |
}
|
448 |
|
@@ -456,8 +460,7 @@ class Mappress {
|
|
456 |
if (empty($this->queue))
|
457 |
return;
|
458 |
|
459 |
-
|
460 |
-
$this->print_map_styles();
|
461 |
|
462 |
if (isset($this->queue['editor'])) {
|
463 |
$script = "window.mappEditor = new mapp.Media();";
|
@@ -465,19 +468,10 @@ class Mappress {
|
|
465 |
return;
|
466 |
}
|
467 |
|
468 |
-
foreach ($this->queue as $
|
469 |
-
$this->
|
470 |
-
|
471 |
-
$script = "var mapdata = " . json_encode($map) . ";\r\n"
|
472 |
-
. "window.$name = new mapp.Map(mapdata); \r\n"
|
473 |
-
. "$name.display(); ";
|
474 |
-
|
475 |
-
// Workaround for Nextgen plugin, which reverses sequence of wp_enqueue_scripts and wp_print_footer_scripts output
|
476 |
-
if ((self::$options->onLoad) || class_exists('C_Photocrati_Resource_Manager'))
|
477 |
-
$script = "jQuery(document).ready(function () { $script });";
|
478 |
|
479 |
-
|
480 |
-
}
|
481 |
}
|
482 |
|
483 |
/**
|
@@ -485,56 +479,69 @@ class Mappress {
|
|
485 |
*
|
486 |
* @param mixed $map
|
487 |
*/
|
488 |
-
function
|
489 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
490 |
|
491 |
if ($map->options->directions == 'inline') {
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
}
|
|
|
496 |
}
|
497 |
|
498 |
-
function load($type =
|
499 |
static $loaded;
|
500 |
|
501 |
if ($loaded)
|
502 |
return;
|
503 |
-
else
|
504 |
-
$loaded = true;
|
505 |
|
506 |
-
$
|
507 |
-
$min = (defined('MAPPRESS_DEBUG') || self::$remote) ? "" : ".min";
|
508 |
|
509 |
-
|
510 |
-
|
|
|
|
|
511 |
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
|
517 |
-
$libs = array();
|
518 |
if ($type == 'editor')
|
519 |
-
$
|
520 |
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
|
|
|
|
526 |
|
527 |
if ($min) {
|
528 |
-
wp_enqueue_script('mappress',
|
529 |
} else {
|
530 |
-
wp_enqueue_script('mappress',
|
531 |
-
|
532 |
-
|
533 |
-
wp_enqueue_script('mappress_colorpicker', self::$js . "/mappress_colorpicker.js", null, $version, true);
|
534 |
-
wp_enqueue_script('mappress_geocoding', self::$js . "/mappress_geocoding.js", null, $version, true);
|
535 |
-
wp_enqueue_script('mappress_infobox', self::$js . "/mappress_infobox.js", null, $version, true);
|
536 |
-
wp_enqueue_script('mappress_directions', self::$js . "/mappress_directions.js", null, $version, true);
|
537 |
-
wp_enqueue_script('mappress_icons', self::$js . "/mappress_icons.js", null, $version, true);
|
538 |
}
|
539 |
|
540 |
wp_localize_script('mappress', 'mappl10n', $this->l10n());
|
@@ -574,14 +581,24 @@ class Mappress {
|
|
574 |
}
|
575 |
|
576 |
// Globals
|
577 |
-
$l10n =
|
578 |
'ajaxurl' => admin_url('admin-ajax.php'),
|
579 |
-
'
|
580 |
-
'
|
581 |
-
'
|
582 |
'postid' => ($post) ? $post->ID : null,
|
583 |
-
'siteUrl' => site_url()
|
584 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
585 |
|
586 |
return $l10n;
|
587 |
}
|
@@ -601,6 +618,49 @@ class Mappress {
|
|
601 |
|
602 |
return self::$options->language;
|
603 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
604 |
} // End Mappress class
|
605 |
|
606 |
if (class_exists('Mappress_Pro'))
|
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.2
|
8 |
Author: Chris Richardson
|
9 |
Thanks to all the translators and to Matthias Stasiak for his wonderful icons (http://code.google.com/p/google-maps-icons/)
|
10 |
*/
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license.txt file for details.
|
16 |
*/
|
17 |
|
18 |
+
require_once dirname( __FILE__ ) . '/mappress_obj.php';
|
19 |
+
require_once dirname( __FILE__ ) . '/mappress_controls.php';
|
20 |
+
require_once dirname( __FILE__ ) . '/mappress_poi.php';
|
21 |
+
require_once dirname( __FILE__ ) . '/mappress_map.php';
|
22 |
+
require_once dirname( __FILE__ ) . '/mappress_settings.php';
|
23 |
+
require_once dirname( __FILE__ ) . '/mappress_updater.php';
|
24 |
+
|
25 |
+
if (file_exists(dirname( __FILE__ ) . '/pro/mappress_pro.php')) {
|
26 |
+
include_once dirname( __FILE__ ) . '/pro/mappress_pro.php';
|
27 |
+
include_once dirname( __FILE__ ) . '/pro/mappress_pro_settings.php';
|
28 |
+
include_once dirname( __FILE__ ) . '/pro/mappress_query.php';
|
29 |
+
include_once dirname( __FILE__ ) . '/pro/mappress_geocoders.php';
|
30 |
+
include_once dirname( __FILE__ ) . '/pro/mappress_icons.php';
|
31 |
+
include_once dirname( __FILE__ ) . '/pro/mappress_widget.php';
|
32 |
+
}
|
33 |
class Mappress {
|
34 |
+
const VERSION = '2.43.2';
|
35 |
|
36 |
static
|
37 |
$baseurl,
|
39 |
$basedir,
|
40 |
$debug,
|
41 |
$geocoders,
|
|
|
42 |
$options,
|
43 |
$pages,
|
|
|
44 |
$updater;
|
45 |
|
46 |
var
|
54 |
|
55 |
$this->debugging();
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
// Initialize Pro classes
|
58 |
if (class_exists('Mappress_Pro')) {
|
|
|
59 |
self::$geocoders = new Mappress_Geocoders();
|
60 |
self::$updater = new Mappress_Updater(self::$basename);
|
61 |
}
|
62 |
|
63 |
+
add_action('admin_menu', array($this, 'admin_menu'));
|
64 |
+
add_action('init', array($this, 'init'));
|
65 |
|
66 |
+
add_shortcode('mappress', array($this, 'shortcode_map'));
|
67 |
+
add_action('admin_notices', array($this, 'admin_notices'));
|
68 |
|
69 |
// Post hooks
|
70 |
+
add_action('deleted_post', array($this, 'deleted_post'));
|
71 |
|
72 |
// Filter to automatically add maps to post/page content
|
73 |
+
add_filter('the_content', array($this, 'the_content'), 2);
|
74 |
|
75 |
// Scripts and stylesheets
|
76 |
+
add_action('wp_enqueue_scripts', array($this, 'wp_enqueue_scripts'));
|
77 |
+
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
|
78 |
+
|
79 |
+
// Frontend: output map in footer or header
|
80 |
+
if (self::$options->footer)
|
81 |
+
add_action('wp_print_footer_scripts', array($this, 'print_maps'));
|
82 |
+
|
83 |
+
// Admin: output in footer only
|
84 |
+
add_action('admin_print_footer_scripts', array($this, 'print_maps'));
|
85 |
+
|
86 |
+
// Slow heartbeat
|
87 |
+
if (self::$debug)
|
88 |
+
add_filter( 'heartbeat_settings', array($this, 'heartbeat_settings'));
|
89 |
+
}
|
90 |
|
91 |
+
function heartbeat_settings( $settings ) {
|
92 |
+
$settings['minimalInterval'] = 600;
|
93 |
+
return $settings;
|
94 |
}
|
95 |
|
96 |
// mp_errors -> PHP errors
|
|
|
97 |
// mp_remote -> use remote js
|
98 |
// mp_debug -> add debug info
|
99 |
function debugging() {
|
100 |
global $wpdb;
|
101 |
+
$posts_table = $wpdb->prefix . 'mappress_posts';
|
102 |
|
103 |
+
self::$debug = (isset($_GET['mp_debug'])) ? true : ( defined('MAPPRESS_DEBUG') && MAPPRESS_DEBUG );
|
|
|
104 |
|
105 |
if (isset($_GET['mp_errors'])) {
|
106 |
error_reporting(E_ALL);
|
110 |
}
|
111 |
|
112 |
if (isset($_GET['mp_info'])) {
|
|
|
|
|
|
|
|
|
113 |
echo "<b>Plugin version</b> " . $this->get_version_string();
|
114 |
+
die();
|
|
|
|
|
|
|
115 |
}
|
116 |
}
|
117 |
|
125 |
static function get_support_links() {
|
126 |
echo self::get_version_string();
|
127 |
echo " | <a target='_blank' href='http://wphostreviews.com/mappress/mappress-documentation'>" . __('Documentation', 'mappress') . "</a>";
|
128 |
+
echo " | <a target='_blank' href='http://wphostreviews.com/chris-contact'>" . __('Support', 'mappress') . "</a>";
|
|
|
129 |
|
130 |
if (!class_exists('Mappress_Pro'))
|
131 |
+
echo "<a class='button button-primary' style='margin-left: 20px' href='http://wphostreviews.com/mappress' target='_blank'>" . __('Upgrade to MapPress Pro', 'mappress') . "</a>";
|
132 |
}
|
133 |
|
134 |
static function ajax_response($status, $data=null) {
|
147 |
}
|
148 |
|
149 |
function admin_menu() {
|
|
|
|
|
150 |
// Settings
|
151 |
$settings = (class_exists('Mappress_Pro')) ? new Mappress_Pro_Settings() : new Mappress_Settings();
|
152 |
self::$pages[] = add_menu_page('MapPress', 'MapPress', 'manage_options', 'mappress', array(&$settings, 'options_page'), self::$baseurl . '/images/mappress_pin_logo.png');
|
177 |
if (is_feed() || is_admin())
|
178 |
return $content;
|
179 |
|
180 |
+
// No shortcode if post is password protected
|
181 |
+
if (post_password_required())
|
182 |
+
return $content;
|
183 |
+
|
184 |
// If this is an excerpt don't attempt to add the map to it
|
185 |
if (in_array('get_the_excerpt', $wp_current_filter))
|
186 |
return $content;
|
246 |
* CSS is loaded from: child theme, theme, or plugin directory
|
247 |
*/
|
248 |
function wp_enqueue_scripts() {
|
249 |
+
// Load CSS
|
250 |
+
if (self::$options->css) {
|
251 |
+
// Load the default CSS from the plugin directory
|
252 |
+
wp_enqueue_style('mappress', self::$baseurl . '/css/mappress.css', null, self::VERSION);
|
253 |
|
254 |
+
// If a 'mappress.css' exists in the theme directory, load that afterwards
|
255 |
+
if ( @file_exists( get_stylesheet_directory() . '/mappress.css' ) )
|
256 |
+
$file = get_stylesheet_directory_uri() . '/mappress.css';
|
257 |
+
elseif ( @file_exists( get_template_directory() . '/mappress.css' ) )
|
258 |
+
$file = get_template_directory_uri() . '/mappress.css';
|
259 |
|
260 |
+
if (isset($file))
|
261 |
+
wp_enqueue_style('mappress-custom', $file, array('mappress'), self::VERSION);
|
262 |
+
}
|
|
|
|
|
263 |
|
264 |
+
// Load scripts in header
|
265 |
+
if (!self::$options->footer)
|
266 |
+
$this->load();
|
267 |
}
|
268 |
|
269 |
// Scripts & styles for admin
|
270 |
// CSS is always loaded from the plugin directory
|
271 |
function admin_enqueue_scripts($hook) {
|
|
|
|
|
|
|
272 |
// Some plugins call this without setting $hook
|
273 |
if (empty($hook))
|
274 |
return;
|
275 |
|
276 |
+
// Network admin has no pages
|
277 |
+
if (empty(self::$pages))
|
278 |
+
return;
|
279 |
+
|
280 |
+
// Settings scripts
|
281 |
+
if ($hook == self::$pages[0])
|
282 |
+
$this->load('settings');
|
|
|
|
|
283 |
|
284 |
+
// CSS
|
285 |
+
if (in_array($hook, self::$pages) || in_array($hook, array('edit.php', 'post.php', 'post-new.php'))) {
|
286 |
wp_enqueue_style('mappress', self::$baseurl . '/css/mappress.css', null, self::VERSION);
|
287 |
+
wp_enqueue_style('mappress-admin', self::$baseurl . '/css/mappress_admin.css', null, self::VERSION);
|
288 |
+
}
|
289 |
}
|
290 |
|
|
|
291 |
/**
|
292 |
* There are several WP bugs that prevent correct activation in multisitie:
|
293 |
* http://core.trac.wordpress.org/ticket/14170
|
303 |
// Register hooks and create database tables
|
304 |
Mappress_Map::register();
|
305 |
|
306 |
+
// Register static classes
|
307 |
+
if (class_exists('Mappress_Pro')) {
|
308 |
+
Mappress_Icons::register();
|
309 |
Mappress_Query::register();
|
310 |
+
Mappress_Pro_Settings::register();
|
311 |
+
}
|
312 |
|
313 |
// Check if upgrade is needed
|
314 |
$current_version = get_option('mappress_version');
|
435 |
* @param mixed $script
|
436 |
*/
|
437 |
static function script($script) {
|
438 |
+
// Workaround for Nextgen and Better WordPress Minify plugins, which reverse sequence of wp_enqueue_scripts and wp_print_footer_scripts output
|
439 |
+
$script = "jQuery(document).ready(function () { \r\n$script\r\n });";
|
440 |
+
return "\r\n<script type='text/javascript'>\r\n{$script}\r\n</script>\r\n";
|
441 |
}
|
442 |
|
443 |
function enqueue_map($map = null) {
|
444 |
+
// Output map immediately if scripts loaded in header
|
445 |
+
if ($map && !self::$options->footer && !is_admin())
|
446 |
+
return $this->get_map($map);
|
447 |
|
448 |
+
// Load scripts and enqueue map
|
449 |
+
$this->load();
|
450 |
$this->queue[$map->name] = $map;
|
451 |
}
|
452 |
|
460 |
if (empty($this->queue))
|
461 |
return;
|
462 |
|
463 |
+
echo "\r\n<!-- MapPress Easy Google Maps " . self::get_version_string() . " (http://www.wphostreviews.com/mappress) -->\r\n";
|
|
|
464 |
|
465 |
if (isset($this->queue['editor'])) {
|
466 |
$script = "window.mappEditor = new mapp.Media();";
|
468 |
return;
|
469 |
}
|
470 |
|
471 |
+
foreach ($this->queue as $map)
|
472 |
+
echo $this->get_map($map);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
|
474 |
+
$this->queue = array();
|
|
|
475 |
}
|
476 |
|
477 |
/**
|
479 |
*
|
480 |
* @param mixed $map
|
481 |
*/
|
482 |
+
function get_map($map) {
|
483 |
+
// For static maps prepare the pois immediately
|
484 |
+
if (empty($map->query))
|
485 |
+
$map->prepare();
|
486 |
+
|
487 |
+
$script = "var mapdata = " . json_encode($map) . ";\r\n"
|
488 |
+
. "window.$map->name = new mapp.Map(mapdata); \r\n"
|
489 |
+
. "$map->name.display(); ";
|
490 |
+
|
491 |
+
$html = Mappress::script($script);
|
492 |
|
493 |
if ($map->options->directions == 'inline') {
|
494 |
+
$html .= "<div id='{$map->name}_directions_' style='display:none'>";
|
495 |
+
$html .= $this->get_template($map->options->templateDirections, array('map' => $map));
|
496 |
+
$html .= "</div>";
|
497 |
}
|
498 |
+
return $html;
|
499 |
}
|
500 |
|
501 |
+
function load($type = null) {
|
502 |
static $loaded;
|
503 |
|
504 |
if ($loaded)
|
505 |
return;
|
|
|
|
|
506 |
|
507 |
+
$loaded = true;
|
|
|
508 |
|
509 |
+
$version = self::VERSION;
|
510 |
+
$footer = self::$options->footer;
|
511 |
+
$apikey = (!empty(self::$options->apiKey)) ? "&key=" . self::$options->apiKey : '';
|
512 |
+
$libstring = ($type == 'editor') ? '&libraries=places,drawing' : '&libraries=places';
|
513 |
|
514 |
+
// Directories
|
515 |
+
$remote = (isset($_REQUEST['mp_remote'])) ? true : false;
|
516 |
+
$min = (self::$debug || $remote) ? "" : ".min";
|
517 |
+
$js = (self::$debug) ? self::$baseurl . '/src' : self::$baseurl . '/js';
|
518 |
+
$js = ($remote) ? 'http://localhost/dev/wp-content/plugins/mappress-google-maps-for-wordpress/src' : $js;
|
519 |
+
|
520 |
+
// Get language for WPML or qTranslate, or use options setting
|
521 |
+
$language = (self::$options->language) ? self::$options->language : '';
|
522 |
+
$language = (defined('ICL_LANGUAGE_CODE')) ? ICL_LANGUAGE_CODE : $language;
|
523 |
+
$language = (function_exists('qtrans_getLanguage')) ? qtrans_getLanguage() : '';
|
524 |
+
$language = ($language) ? "&language=$language" : '';
|
525 |
+
|
526 |
+
wp_enqueue_script("mappress-gmaps", "https://maps.googleapis.com/maps/api/js?sensor=true{$language}{$libstring}{$apikey}", null, null, $footer);
|
527 |
|
|
|
528 |
if ($type == 'editor')
|
529 |
+
wp_enqueue_script('mappress_editor', $js . "/mappress_editor$min.js", array('jquery', 'jquery-ui-position', 'jquery-ui-slider'), $version);
|
530 |
|
531 |
+
if ($type == 'settings')
|
532 |
+
wp_enqueue_script('mappress_settings', $js . "/mappress_settings$min.js", array('postbox', 'jquery', 'jquery-ui-core', 'jquery-ui-position'));
|
533 |
+
|
534 |
+
if (!$type && self::$options->dataTables) {
|
535 |
+
wp_enqueue_script('mappress_datatables', self::$baseurl . "/pro/DataTables/media/js/jquery.dataTables$min.js", array('jquery'), $version, $footer);
|
536 |
+
wp_enqueue_style('mappress-datatables', self::$baseurl . "/pro/DataTables/media/css/jquery.dataTables.css", null, '1.9.1');
|
537 |
+
}
|
538 |
|
539 |
if ($min) {
|
540 |
+
wp_enqueue_script('mappress', $js . "/mappress.min.js", array('jquery'), $version, $footer);
|
541 |
} else {
|
542 |
+
wp_enqueue_script('mappress', $js . "/mappress.js", array('jquery'), $version, $footer);
|
543 |
+
foreach(array('directions', 'geocoding', 'icons', 'infobox', 'lib', 'poi', 'widgets') as $script)
|
544 |
+
wp_enqueue_script($script, $js . "/mappress_{$script}.js", null, $version, $footer);
|
|
|
|
|
|
|
|
|
|
|
545 |
}
|
546 |
|
547 |
wp_localize_script('mappress', 'mappl10n', $this->l10n());
|
581 |
}
|
582 |
|
583 |
// Globals
|
584 |
+
$l10n['options'] = array(
|
585 |
'ajaxurl' => admin_url('admin-ajax.php'),
|
586 |
+
'admin' => current_user_can('administrator'),
|
587 |
+
'debug' => Mappress::$debug,
|
588 |
+
'iconsUrl' => (class_exists('Mappress_Icons')) ? Mappress_Icons::$icons_url : null,
|
589 |
'postid' => ($post) ? $post->ID : null,
|
590 |
+
'siteUrl' => site_url(),
|
591 |
+
'standardIconsUrl' => (class_exists('Mappress_Icons')) ? Mappress_Icons::$standard_icons_url : null
|
592 |
+
);
|
593 |
+
|
594 |
+
// Settings
|
595 |
+
$options = array('country', 'defaultIcon', 'directionsServer', 'directionsUnits', 'iconScale', 'language', 'poiZoom', 'styles', 'tooltips');
|
596 |
+
foreach($options as $option)
|
597 |
+
$l10n['options'][$option] = self::$options->$option;
|
598 |
+
|
599 |
+
// Styles
|
600 |
+
foreach(self::$options->styles as $id => &$style)
|
601 |
+
$l10n['options']['styles'][$id] = json_decode($style);
|
602 |
|
603 |
return $l10n;
|
604 |
}
|
618 |
|
619 |
return self::$options->language;
|
620 |
}
|
621 |
+
|
622 |
+
/**
|
623 |
+
* Get a template to the buffer and return it
|
624 |
+
*
|
625 |
+
* @param mixed $template_name
|
626 |
+
* @param mixed $args - see print_template()
|
627 |
+
* @return mixed
|
628 |
+
*/
|
629 |
+
function get_template($template_name, $args = '') {
|
630 |
+
ob_start();
|
631 |
+
$this->print_template($template_name, $args);
|
632 |
+
$html = ob_get_clean();
|
633 |
+
$html = str_replace(array("\r\n", "\t"), array(), $html); // Strip chars that won't display in html anyway
|
634 |
+
return $html;
|
635 |
+
}
|
636 |
+
|
637 |
+
|
638 |
+
/**
|
639 |
+
* Print a template. $args:
|
640 |
+
* map - map global to pass to the template
|
641 |
+
* poi - poi global to pass to the template
|
642 |
+
*
|
643 |
+
* @param string $template_name
|
644 |
+
* @param mixed $args
|
645 |
+
* @return mixed
|
646 |
+
*/
|
647 |
+
function print_template( $template_name, $args = '' ) {
|
648 |
+
$defaults = array(
|
649 |
+
'map' => null,
|
650 |
+
'poi' => null
|
651 |
+
);
|
652 |
+
extract(wp_parse_args($args, $defaults));
|
653 |
+
$template_file = $this->find_template($template_name);
|
654 |
+
require($template_file);
|
655 |
+
}
|
656 |
+
|
657 |
+
function find_template($template_name) {
|
658 |
+
$template_name .= ".php";
|
659 |
+
$template_file = locate_template($template_name, false);
|
660 |
+
if (empty($template_file))
|
661 |
+
$template_file = Mappress::$basedir . "/templates/$template_name";
|
662 |
+
return $template_file;
|
663 |
+
}
|
664 |
} // End Mappress class
|
665 |
|
666 |
if (class_exists('Mappress_Pro'))
|
mappress_controls.php
ADDED
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Generic HTML controls
|
4 |
+
*/
|
5 |
+
class Mappress_Controls {
|
6 |
+
|
7 |
+
static function parse_atts($name, $args = '') {
|
8 |
+
$args = empty($args) ? array() : $args;
|
9 |
+
|
10 |
+
// Include name if set
|
11 |
+
$atts = (empty($name)) ? '' : "name='" . esc_attr($name) . "'";
|
12 |
+
|
13 |
+
foreach($args as $key => $value) {
|
14 |
+
// Attributes with value
|
15 |
+
if (in_array($key, array('class', 'id', 'maxlength', 'multiple', 'onclick', 'rows', 'size', 'style', 'title', 'type')))
|
16 |
+
$atts .= " $key='" . esc_attr($value) . "' ";
|
17 |
+
|
18 |
+
// Boolean attributes
|
19 |
+
if (in_array($key, array('checked', 'disabled', 'multiple', 'readonly', 'selected')) && $value)
|
20 |
+
if (!empty($value))
|
21 |
+
$atts .= " $key ";
|
22 |
+
|
23 |
+
// Data (not escaped)
|
24 |
+
if (substr($key, 0, 4) == 'data')
|
25 |
+
$atts .= " $key='$value' ";
|
26 |
+
}
|
27 |
+
|
28 |
+
return $atts;
|
29 |
+
}
|
30 |
+
|
31 |
+
static function button($name, $value, $args = '') {
|
32 |
+
$args = wp_parse_args($args, array('class' => '', 'type' => 'button'));
|
33 |
+
$args['class'] = 'button ' . $args['class'];
|
34 |
+
$atts = self::parse_atts($name, $args);;
|
35 |
+
$value = esc_attr($value);
|
36 |
+
$html = "<input value='$value' $atts />";
|
37 |
+
return $html;
|
38 |
+
}
|
39 |
+
|
40 |
+
static function textarea($name, $value, $args) {
|
41 |
+
$atts = self::parse_atts($name, $args);;
|
42 |
+
$value = esc_textarea($value);
|
43 |
+
return "<textarea $atts>$value</textarea>";
|
44 |
+
}
|
45 |
+
|
46 |
+
// Boolean checkbox ('checkmark')
|
47 |
+
static function checkmark($name, $value, $label = '', $args = '') {
|
48 |
+
$atts = self::parse_atts($name, $args);
|
49 |
+
return "<input type='hidden' name='$name' value='false' /><label><input type='checkbox' value='true' " . checked($value, true, false) . " $atts />$label</label> ";
|
50 |
+
}
|
51 |
+
|
52 |
+
// Single checkbox
|
53 |
+
static function checkbox($name, $value, $checked, $label = '', $args = '') {
|
54 |
+
$args['checked'] = $checked;
|
55 |
+
$atts = self::parse_atts($name, $args);
|
56 |
+
return "<label><input type='checkbox' value='" . esc_attr($value) . "' $atts />$label</label> ";
|
57 |
+
}
|
58 |
+
|
59 |
+
// Checkbox list
|
60 |
+
static function checkboxes($name, $labels, $selected = null, $args = '') {
|
61 |
+
$selected = ($selected) ? $selected : array();
|
62 |
+
$name .= '[]';
|
63 |
+
|
64 |
+
$html = "";
|
65 |
+
foreach ($labels as $value => $label)
|
66 |
+
$html .= self::checkbox($name, $value, in_array($value, $selected), $label, $args);
|
67 |
+
return $html;
|
68 |
+
}
|
69 |
+
|
70 |
+
static function input($name, $value, $args = '') {
|
71 |
+
$args = wp_parse_args($args, array('type' => 'text'));
|
72 |
+
$atts = self::parse_atts($name, $args);
|
73 |
+
$value = esc_attr($value);
|
74 |
+
return "<input $atts value='$value' />";
|
75 |
+
}
|
76 |
+
|
77 |
+
static function radio($name, $value, $label = '', $args = '') {
|
78 |
+
$atts = self::parse_atts($name, $args);
|
79 |
+
$value = esc_attr($value);
|
80 |
+
return "<label><input type='radio' name='$name' value='$value' $atts />$label</label>";
|
81 |
+
}
|
82 |
+
|
83 |
+
static function radios($name, $data, $selected = null, $args = '') {
|
84 |
+
extract(wp_parse_args($args, array('vertical' => false)));
|
85 |
+
$atts = self::parse_atts($name, $args);
|
86 |
+
|
87 |
+
// If no selected value, use first key
|
88 |
+
if (empty($selected) && !empty($data)) {
|
89 |
+
$keys = array_keys($data);
|
90 |
+
$selected = $keys[0];
|
91 |
+
}
|
92 |
+
|
93 |
+
$html = "";
|
94 |
+
foreach ((array)$data as $key => $label) {
|
95 |
+
$key = esc_attr($key);
|
96 |
+
$html .= "<label><input type='radio' value='$key' " . checked($selected, $key, false) . " $atts />$label</label> ";
|
97 |
+
if ($vertical)
|
98 |
+
$html .= "<br/>";
|
99 |
+
}
|
100 |
+
return $html;
|
101 |
+
}
|
102 |
+
|
103 |
+
static function select($name, $data, $selected = '', $args = '') {
|
104 |
+
extract(wp_parse_args($args, array('short_labels' => false, 'none' => false)));
|
105 |
+
$atts = self::parse_atts($name, $args);
|
106 |
+
|
107 |
+
if (!is_array($data) || empty($data))
|
108 |
+
$data = array();
|
109 |
+
|
110 |
+
if ($none) {
|
111 |
+
if ($none === true)
|
112 |
+
$none = ' ';
|
113 |
+
$data = array('' => $none) + $data;
|
114 |
+
}
|
115 |
+
|
116 |
+
$html = "<select $atts>\r\n";
|
117 |
+
foreach ((array)$data as $key => $label) {
|
118 |
+
if (substr($key, 0, 8) == 'optgroup') {
|
119 |
+
$html .= "<optgroup label='" . esc_attr($label) . "'>";
|
120 |
+
continue;
|
121 |
+
}
|
122 |
+
$select = (is_array($selected)) ? in_array($key, $selected) : $key == $selected;
|
123 |
+
$select = ($select) ? 'selected' : '';
|
124 |
+
|
125 |
+
$value = esc_attr($key);
|
126 |
+
$title = ($short_labels) ? esc_attr($label) : '';
|
127 |
+
$text = ($short_labels) ? esc_attr($key) : esc_attr($label);
|
128 |
+
$html .= "<option value='$value' title='$title' $select>$text</option>\r\n";
|
129 |
+
}
|
130 |
+
$html .= "</select>\r\n";
|
131 |
+
return $html;
|
132 |
+
}
|
133 |
+
|
134 |
+
static function grid($headers, $rows, $args = '') {
|
135 |
+
$options = ($args) ? json_encode($args) : "";
|
136 |
+
$html = "<div data-mapp-grid='$options'>";
|
137 |
+
|
138 |
+
// Add delete and sort columns
|
139 |
+
$headers[] = '';
|
140 |
+
foreach($rows as $i => $row)
|
141 |
+
$rows[$i][] = "<span data-mapp-action='remove' title='" . __('Delete', 'mappress') . "'>X</span>";
|
142 |
+
|
143 |
+
// Last row is the template
|
144 |
+
$lastrow = count($rows) - 1;
|
145 |
+
$template = $rows[$lastrow];
|
146 |
+
unset($rows[$lastrow]);
|
147 |
+
|
148 |
+
// Hide table if empty
|
149 |
+
if ($lastrow <= 1)
|
150 |
+
$args['style'] = 'display:none';
|
151 |
+
|
152 |
+
// Generate table
|
153 |
+
$html .= self::table($headers, $rows, $args);
|
154 |
+
|
155 |
+
// Add new row button
|
156 |
+
$html .= "<button type='button' class='button' data-mapp-action='add'>" . __('Add', 'mappress') . "</button>";
|
157 |
+
|
158 |
+
// Add template
|
159 |
+
$html .= "<script type='text/template'><tr>";
|
160 |
+
foreach($template as $col)
|
161 |
+
$html .= "<td>$col</td>";
|
162 |
+
$html .= "</tr></script>";
|
163 |
+
|
164 |
+
$html .= "</div>";
|
165 |
+
return $html;
|
166 |
+
}
|
167 |
+
|
168 |
+
static function table($headers, $rows, $args = '') {
|
169 |
+
$atts = self::parse_atts(null, $args);
|
170 |
+
|
171 |
+
$html = "<table $atts>";
|
172 |
+
if ($headers) {
|
173 |
+
$html .= "<thead><tr>";
|
174 |
+
foreach ((array)$headers as $i => $header)
|
175 |
+
$html .= "<th>$header</th>";
|
176 |
+
$html .= "</tr></thead>";
|
177 |
+
}
|
178 |
+
|
179 |
+
$html .= "<tbody>";
|
180 |
+
foreach($rows as $id => $row) {
|
181 |
+
$html .= "<tr>";
|
182 |
+
foreach($row as $i => $col)
|
183 |
+
$html .= "<td>$col</td>";
|
184 |
+
$html .= "</tr>";
|
185 |
+
}
|
186 |
+
$html .= "</tbody></table>";
|
187 |
+
return $html;
|
188 |
+
}
|
189 |
+
|
190 |
+
// Dropdown multiselect
|
191 |
+
static function multiselect($name, $values_list, $selected = array(), $args = '') {
|
192 |
+
$atts = self::parse_atts($name, $args);
|
193 |
+
$selected = implode(',', $selected);
|
194 |
+
$args['readonly'] = true;
|
195 |
+
$html = Mappress_Controls::input($name, $selected, $args);
|
196 |
+
$html .= "<div style='display:none'>" . $values_list . "</div>";
|
197 |
+
return "<div class='mapp-multiselect'>$html</div>";
|
198 |
+
}
|
199 |
+
|
200 |
+
// Pseudo-combobox
|
201 |
+
static function combobox($name, $data, $selected = '', $args = '') {
|
202 |
+
$html = Mappress_Controls::select($name, $data, $selected, $args);
|
203 |
+
$html .= " <a class='mapp-combo-new' href='#'>" . __('New', 'mappress') . "</a>";
|
204 |
+
$html .= Mappress_Controls::input($name, '', array('style' => 'display:none', 'disabled' => true));
|
205 |
+
$html .= " <a class='mapp-combo-cancel' href='#' style='display:none'>" . __('Cancel') . "</a>";
|
206 |
+
return "<div class='mapp-combobox'>$html</div>";
|
207 |
+
}
|
208 |
+
|
209 |
+
// Toggle panel
|
210 |
+
static function toggle($label, $element) {
|
211 |
+
$html = "<div class='mapp-toggle'>"
|
212 |
+
. "<div class='mapp-toggle-select'></div>"
|
213 |
+
. "<div class='mapp-toggle-label'>$label</div>"
|
214 |
+
. "</div>"
|
215 |
+
. "<div>$element</div>";
|
216 |
+
return $html;
|
217 |
+
}
|
218 |
+
|
219 |
+
// Icon picker
|
220 |
+
static function icon_picker($name = '', $value = '', $args = '') {
|
221 |
+
$atts = self::parse_atts($name, $args);
|
222 |
+
$value = esc_attr($value);
|
223 |
+
$name = esc_attr($name);
|
224 |
+
$html = "<input type='hidden' data-mapp-iconpicker name='$name' value='$value' $atts />";
|
225 |
+
return $html;
|
226 |
+
}
|
227 |
+
}
|
228 |
+
|
229 |
+
/**
|
230 |
+
* Walker for taxonomy values.
|
231 |
+
* Call with array of terms objects: $walker->walk($terms, 0);
|
232 |
+
* Returns array of (term slug => name)
|
233 |
+
*/
|
234 |
+
class Mappress_Walker extends Walker {
|
235 |
+
public $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
|
236 |
+
function start_el( &$output, $term, $depth = 0, $args = array(), $id = 0 ) {
|
237 |
+
if (!is_array($output))
|
238 |
+
$output = array();
|
239 |
+
|
240 |
+
// If 'indent' set, use spaces (for hierarchical lists like taxonomies)
|
241 |
+
$indent = (isset($args['indent']) && $args['indent']) ? str_repeat(' ', $depth * 3) : '';
|
242 |
+
$output[$term->slug] = $indent . $term->slug;
|
243 |
+
}
|
244 |
+
}
|
245 |
+
?>
|
mappress_map.php
CHANGED
@@ -49,10 +49,6 @@ class Mappress_Map extends Mappress_Obj {
|
|
49 |
$this->height = ($this->height) ? $this->height : $size['height'];
|
50 |
}
|
51 |
}
|
52 |
-
|
53 |
-
// Default title
|
54 |
-
if (empty($this->title))
|
55 |
-
$this->title = __('Untitled', 'mappress');
|
56 |
}
|
57 |
|
58 |
static function register() {
|
@@ -101,21 +97,18 @@ class Mappress_Map extends Mappress_Obj {
|
|
101 |
|
102 |
static function meta_box($post) {
|
103 |
global $mappress;
|
104 |
-
|
105 |
$mappress->enqueue_editor();
|
106 |
require(Mappress::$basedir . '/forms/map_media.php');
|
107 |
}
|
108 |
|
109 |
static function ajax_create() {
|
110 |
ob_start();
|
111 |
-
|
112 |
$map = new Mappress_Map();
|
113 |
Mappress::ajax_response('OK', array('map' => $map));
|
114 |
}
|
115 |
|
116 |
static function ajax_get($mapid) {
|
117 |
ob_start();
|
118 |
-
|
119 |
$mapid = (isset($_GET['mapid'])) ? $_GET['mapid'] : null;
|
120 |
$map = ($mapid) ? self::get($mapid) : null;
|
121 |
if (!$map)
|
@@ -349,30 +342,27 @@ class Mappress_Map extends Mappress_Obj {
|
|
349 |
* @param mixed $atts - override attributes. Attributes applied from options -> map -> $atts
|
350 |
*/
|
351 |
function display($atts = null) {
|
352 |
-
global $mappress;
|
353 |
-
|
354 |
static $div = 0;
|
|
|
355 |
|
356 |
$this->update($atts);
|
357 |
$this->options->update($atts);
|
358 |
|
359 |
-
// Assign a map name, if none was provided
|
360 |
if (empty($this->name)) {
|
361 |
-
$this->name = "mapp$div";
|
362 |
$div++;
|
363 |
}
|
364 |
|
365 |
-
// Enqueue the map
|
366 |
-
$mappress->enqueue_map($this);
|
367 |
-
|
368 |
// Layout
|
369 |
if (class_exists('Mappress_Pro'))
|
370 |
-
|
|
|
|
|
371 |
|
372 |
-
|
373 |
-
$
|
374 |
-
|
375 |
-
return ob_get_clean();
|
376 |
}
|
377 |
|
378 |
/**
|
@@ -387,7 +377,6 @@ class Mappress_Map extends Mappress_Obj {
|
|
387 |
|
388 |
// Prepare the pois
|
389 |
foreach($this->pois as $poi) {
|
390 |
-
$poi->set_iconid();
|
391 |
$poi->set_title();
|
392 |
$poi->set_body();
|
393 |
}
|
@@ -404,6 +393,40 @@ class Mappress_Map extends Mappress_Obj {
|
|
404 |
do_action('mappress_map_display', $this);
|
405 |
}
|
406 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
/**
|
408 |
* Default action to sort the map
|
409 |
*
|
@@ -446,35 +469,21 @@ class Mappress_Map extends Mappress_Obj {
|
|
446 |
|
447 |
$html = "<table class='mapp-m-map-list'>";
|
448 |
foreach($maps as $map)
|
449 |
-
$html .= "<tr data-mapid='$map->mapid'><td><b><a href='#' class='mapp-maplist-title mapp-maplist-edit'>[$map->mapid] $map->title</a></b>$actions</td></tr>";
|
450 |
|
451 |
$html .= "</table>";
|
452 |
return $html;
|
453 |
}
|
454 |
|
455 |
-
function
|
456 |
-
$
|
457 |
-
|
458 |
-
$
|
459 |
-
|
460 |
-
$style .= sprintf("border: %spx %s %s; ", $border['width'], $border['style'], $border['color']);
|
461 |
-
|
462 |
-
if (isset($border['radius']) && $border['radius']) {
|
463 |
-
$radius = $border['radius'] . 'px';
|
464 |
-
$style .= " border-radius: $radius; -moz-border-radius: $radius; -webkit-border-radius: $radius; -o-border-radius:$radius; ";
|
465 |
-
}
|
466 |
-
}
|
467 |
-
|
468 |
-
if (isset($border['shadow']) && $border['shadow'])
|
469 |
-
$style .= " -moz-box-shadow: 10px 10px 5px #888; -webkit-box-shadow: 10px 10px 5px #888; box-shadow: 10px 10px 5px #888;";
|
470 |
-
|
471 |
-
return $style;
|
472 |
}
|
473 |
|
474 |
function get_layout_style() {
|
475 |
-
$style = $this->
|
476 |
-
if ($this->options->hidden)
|
477 |
-
$style .= ' display:none;';
|
478 |
return $style;
|
479 |
}
|
480 |
|
49 |
$this->height = ($this->height) ? $this->height : $size['height'];
|
50 |
}
|
51 |
}
|
|
|
|
|
|
|
|
|
52 |
}
|
53 |
|
54 |
static function register() {
|
97 |
|
98 |
static function meta_box($post) {
|
99 |
global $mappress;
|
|
|
100 |
$mappress->enqueue_editor();
|
101 |
require(Mappress::$basedir . '/forms/map_media.php');
|
102 |
}
|
103 |
|
104 |
static function ajax_create() {
|
105 |
ob_start();
|
|
|
106 |
$map = new Mappress_Map();
|
107 |
Mappress::ajax_response('OK', array('map' => $map));
|
108 |
}
|
109 |
|
110 |
static function ajax_get($mapid) {
|
111 |
ob_start();
|
|
|
112 |
$mapid = (isset($_GET['mapid'])) ? $_GET['mapid'] : null;
|
113 |
$map = ($mapid) ? self::get($mapid) : null;
|
114 |
if (!$map)
|
342 |
* @param mixed $atts - override attributes. Attributes applied from options -> map -> $atts
|
343 |
*/
|
344 |
function display($atts = null) {
|
|
|
|
|
345 |
static $div = 0;
|
346 |
+
global $mappress;
|
347 |
|
348 |
$this->update($atts);
|
349 |
$this->options->update($atts);
|
350 |
|
351 |
+
// Assign a map name, if none was provided. Uniqid is used for for ajax to prevent repeating ids
|
352 |
if (empty($this->name)) {
|
353 |
+
$this->name = (defined('DOING_AJAX') && DOING_AJAX) ? "mapp" . uniqid() : "mapp$div";
|
354 |
$div++;
|
355 |
}
|
356 |
|
|
|
|
|
|
|
357 |
// Layout
|
358 |
if (class_exists('Mappress_Pro'))
|
359 |
+
$html = $mappress->get_template($this->options->template, array('map' => $this));
|
360 |
+
else
|
361 |
+
$html = $mappress->get_template('map_layout', array('map' => $this));
|
362 |
|
363 |
+
// Enqueue or output map
|
364 |
+
$html .= $mappress->enqueue_map($this);
|
365 |
+
return $html;
|
|
|
366 |
}
|
367 |
|
368 |
/**
|
377 |
|
378 |
// Prepare the pois
|
379 |
foreach($this->pois as $poi) {
|
|
|
380 |
$poi->set_title();
|
381 |
$poi->set_body();
|
382 |
}
|
393 |
do_action('mappress_map_display', $this);
|
394 |
}
|
395 |
|
396 |
+
/**
|
397 |
+
* Autoicons
|
398 |
+
*/
|
399 |
+
function autoicons() {
|
400 |
+
// Nothing to do if there are no POIs
|
401 |
+
if (!count($this->pois))
|
402 |
+
return;
|
403 |
+
|
404 |
+
// Currently only taxonomies are supported
|
405 |
+
foreach ((array) Mappress::$options->autoicons as $autoicon) {
|
406 |
+
$autoicon = (object) wp_parse_args($autoicon, array('key' => null, 'value' => null, 'iconid' => null));
|
407 |
+
$term = get_term_by('slug', $autoicon->value, $autoicon->key);
|
408 |
+
if (!is_object($term))
|
409 |
+
continue;
|
410 |
+
|
411 |
+
$objects = get_objects_in_term($term->term_id, $autoicon->key);
|
412 |
+
|
413 |
+
// Error, e.g. invalid taxonomy
|
414 |
+
if (!is_array($objects))
|
415 |
+
continue;
|
416 |
+
|
417 |
+
$objects = array_flip($objects);
|
418 |
+
foreach($this->pois as &$poi) {
|
419 |
+
if (array_key_exists($poi->postid, $objects)) {
|
420 |
+
$poi->iconid = $autoicon->iconid;
|
421 |
+
}
|
422 |
+
}
|
423 |
+
}
|
424 |
+
|
425 |
+
// Filter
|
426 |
+
foreach($this->pois as &$poi)
|
427 |
+
$poi->iconid = apply_filters('mappress_poi_iconid', $poi->iconid, $poi);
|
428 |
+
}
|
429 |
+
|
430 |
/**
|
431 |
* Default action to sort the map
|
432 |
*
|
469 |
|
470 |
$html = "<table class='mapp-m-map-list'>";
|
471 |
foreach($maps as $map)
|
472 |
+
$html .= "<tr data-mapid='$map->mapid'><td><b><a href='#' class='mapp-maplist-title mapp-maplist-edit'>[$map->mapid] " . esc_html($map->title) . "</a></b>$actions</td></tr>";
|
473 |
|
474 |
$html .= "</table>";
|
475 |
return $html;
|
476 |
}
|
477 |
|
478 |
+
function get_layout_class() {
|
479 |
+
$class = "mapp-layout";
|
480 |
+
$class .= ($this->options->alignment && $this->options->alignment != 'default') ? " mapp-align-{$this->options->alignment}" : '';
|
481 |
+
$class .= (wp_is_mobile()) ? " mobile" : '';
|
482 |
+
return $class;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
483 |
}
|
484 |
|
485 |
function get_layout_style() {
|
486 |
+
$style = ($this->options->hidden) ? ' display:none;' : '';
|
|
|
|
|
487 |
return $style;
|
488 |
}
|
489 |
|
mappress_poi.php
CHANGED
@@ -76,7 +76,6 @@ class Mappress_Poi extends Mappress_Obj {
|
|
76 |
|
77 |
if (class_exists('Mappress_Pro')) {
|
78 |
$html = $mappress->get_template($this->map()->options->templatePoi, array('poi' => $this));
|
79 |
-
$html = apply_filters('mappress_poi_html', $html, $this);
|
80 |
} else {
|
81 |
$html = "<div class='mapp-iw'>"
|
82 |
. "<div class='mapp-title'>" . $this->title . "</div>"
|
@@ -87,10 +86,6 @@ class Mappress_Poi extends Mappress_Obj {
|
|
87 |
$this->html = $html;
|
88 |
}
|
89 |
|
90 |
-
function set_iconid() {
|
91 |
-
$this->iconid = apply_filters('mappress_poi_iconid', $this->iconid, $this);
|
92 |
-
}
|
93 |
-
|
94 |
/**
|
95 |
* Sets the poi title and url
|
96 |
* - may replace title with post title (used in sorting)
|
@@ -229,7 +224,7 @@ class Mappress_Poi extends Mappress_Obj {
|
|
229 |
|
230 |
function get_icon() {
|
231 |
$map = $this->map();
|
232 |
-
return Mappress_Icons::
|
233 |
}
|
234 |
|
235 |
/**
|
76 |
|
77 |
if (class_exists('Mappress_Pro')) {
|
78 |
$html = $mappress->get_template($this->map()->options->templatePoi, array('poi' => $this));
|
|
|
79 |
} else {
|
80 |
$html = "<div class='mapp-iw'>"
|
81 |
. "<div class='mapp-title'>" . $this->title . "</div>"
|
86 |
$this->html = $html;
|
87 |
}
|
88 |
|
|
|
|
|
|
|
|
|
89 |
/**
|
90 |
* Sets the poi title and url
|
91 |
* - may replace title with post title (used in sorting)
|
224 |
|
225 |
function get_icon() {
|
226 |
$map = $this->map();
|
227 |
+
return Mappress_Icons::get($this->iconid);
|
228 |
}
|
229 |
|
230 |
/**
|
mappress_settings.php
CHANGED
@@ -3,35 +3,35 @@
|
|
3 |
* Options
|
4 |
*/
|
5 |
class Mappress_Options extends Mappress_Obj {
|
6 |
-
var $
|
7 |
-
$
|
8 |
$apiKey,
|
9 |
$autodisplay = 'top',
|
10 |
$bicycling = false,
|
11 |
$bigWidth = '100%',
|
12 |
$bigHeight = '400px',
|
13 |
-
$border = array('style' => 'solid', 'width' => 1, 'radius' => 0, 'color' => '#000000', 'shadow' => false),
|
14 |
$connect, // Connect the pois: null | 'line'
|
15 |
$country,
|
|
|
16 |
$dataTables = false, // true | false | settings (defaults are: array('bFilter' => false, 'bPaginate' => false))
|
17 |
$defaultIcon,
|
18 |
-
$directions = '
|
19 |
$directionsServer = 'https://maps.google.com',
|
20 |
$directionsUnits = '',
|
21 |
$draggable = true,
|
22 |
$editable = false,
|
|
|
23 |
$from,
|
24 |
$geocoders = array('google'),
|
25 |
$hidden = false, // Hide the map with a 'show map' link
|
26 |
$hideEmpty = false, // Hide 'current posts' mashups if empty
|
|
|
27 |
$initialBicycling = false,
|
28 |
$initialOpenDirections = false,
|
29 |
$initialOpenInfo = false,
|
30 |
$initialTraffic = false, // Initial setting for traffic checkbox (true = checked)
|
31 |
$initialTransit = false,
|
32 |
-
$iwFix = true,
|
33 |
$iwType = 'iw', // iw | ib | none
|
34 |
-
$iwDisableAutoPan,
|
35 |
$keyboardShortcuts = true,
|
36 |
$language,
|
37 |
$mapLinks = array(), // Links for the map: center | bigger | reset
|
@@ -57,8 +57,6 @@ class Mappress_Options extends Mappress_Obj {
|
|
57 |
$metaSyncSave = true,
|
58 |
$metaSyncUpdate = false, // Deprecated, left for back-compat
|
59 |
$name,
|
60 |
-
$noCSS,
|
61 |
-
$onLoad = false,
|
62 |
$overviewMapControl = true,
|
63 |
$overviewMapControlOpened = false,
|
64 |
$panControl = false,
|
@@ -121,55 +119,51 @@ class Mappress_Settings {
|
|
121 |
|
122 |
function __construct() {
|
123 |
$this->options = Mappress_Options::get();
|
124 |
-
add_action('admin_init', array(
|
125 |
}
|
126 |
|
127 |
function admin_init() {
|
128 |
register_setting('mappress', 'mappress_options', array($this, 'set_options'));
|
129 |
|
130 |
-
add_settings_section('basic_settings', __('Basic Settings', 'mappress'), array(
|
131 |
-
add_settings_field('postTypes', __('Post types', 'mappress'), array(
|
132 |
-
add_settings_field('autodisplay', __('Automatic map display', 'mappress'), array(
|
133 |
-
add_settings_field('directions', __('Directions', 'mappress'), array(
|
134 |
-
|
135 |
-
add_settings_section('controls_settings', __('Map Controls', 'mappress'), array(
|
136 |
-
add_settings_field('draggable', __('Draggable', 'mappress'), array(
|
137 |
-
add_settings_field('keyboard', __('Keyboard shortcuts', 'mappress'), array(
|
138 |
-
add_settings_field('scrollwheel', __('Scroll wheel zoom', 'mappress'), array(
|
139 |
-
add_settings_field('mapTypeIds', __('Map Types', 'mappress'), array(
|
140 |
-
add_settings_field('mapControls', __('Map controls', 'mappress'), array(
|
141 |
-
|
142 |
-
add_settings_section('appearance_settings', __('Map Settings', 'mappress'), array(
|
143 |
-
add_settings_field('mapLinks', __('Map links', 'mappress'), array(
|
144 |
-
add_settings_field('alignment', __('Map alignment', 'mappress'), array(
|
145 |
-
add_settings_field('
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
add_settings_field('
|
151 |
-
add_settings_field('tooltips', __('Tooltips', 'mappress'), array(&$this, 'set_tooltips'), 'mappress', 'poi_settings');
|
152 |
-
add_settings_field('poi_zoom', __('Default zoom', 'mappress'), array(&$this, 'set_poi_zoom'), 'mappress', 'poi_settings');
|
153 |
|
154 |
if (class_exists('Mappress_Pro')) {
|
155 |
-
add_settings_section('mashup_settings', __('Mashups', 'mappress'), array(
|
156 |
-
add_settings_section('icons_settings', __('Icons', 'mappress'), array(
|
157 |
-
add_settings_section('styled_maps_settings', __('Styled Maps', 'mappress'), array(
|
158 |
-
add_settings_section('geocoding_settings', __('Geocoding', 'mappress'), array(
|
159 |
}
|
160 |
|
161 |
-
add_settings_section('localization_settings', __('Localization', 'mappress'), array(
|
162 |
-
add_settings_field('language', __('Language', 'mappress'), array(
|
163 |
-
add_settings_field('country', __('Country', 'mappress'), array(
|
164 |
-
add_settings_field('directionsServer', __('Directions server', 'mappress'), array(
|
165 |
-
add_settings_field('directionsUnits', __('Directions units', 'mappress'), array(
|
166 |
|
167 |
-
add_settings_section('misc_settings', __('Miscellaneous', 'mappress'), array(
|
168 |
-
add_settings_field('sizes', __('Map sizes', 'mappress'), array(
|
169 |
-
add_settings_field('
|
170 |
-
add_settings_field('
|
171 |
-
add_settings_field('adaptive', __('Adaptive display', 'mappress'), array(&$this, 'set_adaptive'), 'mappress', 'misc_settings');
|
172 |
-
add_settings_field('onLoad', __('Load maps last', 'mappress'), array(&$this, 'set_onload'), 'mappress', 'misc_settings');
|
173 |
}
|
174 |
|
175 |
function set_options($input) {
|
@@ -343,8 +337,8 @@ class Mappress_Settings {
|
|
343 |
$directions = $this->options->directions;
|
344 |
|
345 |
$directions_types = array(
|
346 |
-
'inline' => __('Inline (in your blog)', 'mappress'),
|
347 |
'google' => __('Google', 'mappress'),
|
|
|
348 |
'none' => __('None', 'mappress')
|
349 |
);
|
350 |
|
@@ -381,7 +375,7 @@ class Mappress_Settings {
|
|
381 |
$image = "<img src='" . Mappress::$baseurl . "/images/%s' style='vertical-align:middle' />";
|
382 |
|
383 |
$alignments = array(
|
384 |
-
'
|
385 |
'center' => sprintf($image, 'justify_center.png') . __('Center', 'mappress'),
|
386 |
'left' => sprintf($image, 'justify_left.png') . __('Left', 'mappress'),
|
387 |
'right' => sprintf($image, 'justify_right.png') . __('Right', 'mappress')
|
@@ -391,57 +385,6 @@ class Mappress_Settings {
|
|
391 |
return;
|
392 |
}
|
393 |
|
394 |
-
function set_border() {
|
395 |
-
$border = $this->options->border;
|
396 |
-
|
397 |
-
$border_styles = array(
|
398 |
-
'-none-' => '',
|
399 |
-
__('solid', 'mappress') => 'solid',
|
400 |
-
__('dashed', 'mappress') => 'dashed',
|
401 |
-
__('dotted', 'mappress') => 'dotted',
|
402 |
-
__('double', 'mappress') => 'double',
|
403 |
-
__('groove', 'mappress') => 'groove',
|
404 |
-
__('inset', 'mappress') => 'inset',
|
405 |
-
__('outset', 'mappress') => 'outset'
|
406 |
-
);
|
407 |
-
|
408 |
-
// Border style
|
409 |
-
echo __("Style", 'mappress') . ": <select name='mappress_options[border][style]'>";
|
410 |
-
foreach ($border_styles as $label => $value)
|
411 |
-
echo "<option " . selected($value, $border['style'], false) . " value='$value'>$label</option>";
|
412 |
-
echo "</select>";
|
413 |
-
|
414 |
-
$widths = array();
|
415 |
-
for ($i = 1; $i <= 20; $i++)
|
416 |
-
$widths[$i] = $i . "px";
|
417 |
-
echo " " . __("Width", 'mappress') . ":";
|
418 |
-
echo self::dropdown($widths, $border['width'], 'mappress_options[border][width]', array('none' => true));
|
419 |
-
|
420 |
-
// Corners
|
421 |
-
for ($i = 1; $i <= 10; $i++)
|
422 |
-
$radii[$i] = $i . "px";
|
423 |
-
echo " " . __("Corner radius", 'mappress') . ":";
|
424 |
-
$radius = (isset($border['radius']) ? $border['radius'] : null);
|
425 |
-
echo self::dropdown($radii, $radius, 'mappress_options[border][radius]', array('none' => true));
|
426 |
-
}
|
427 |
-
|
428 |
-
function set_border_color() {
|
429 |
-
$border = $this->options->border;
|
430 |
-
|
431 |
-
// Border color
|
432 |
-
echo __("Color", 'mappress');
|
433 |
-
echo ": <input type='text' id='mappress_border_color' name='mappress_options[border][color]' value='" . $border['color'] . "' size='10'/>";
|
434 |
-
|
435 |
-
// Color wheel
|
436 |
-
$script = "jQuery(document).ready(function() {
|
437 |
-
jQuery('#mappress_border_color').mappColorpicker({});
|
438 |
-
});";
|
439 |
-
echo Mappress::script($script);
|
440 |
-
|
441 |
-
// Shadow
|
442 |
-
echo self::checkbox($this->options->border['shadow'], 'mappress_options[border][shadow]', __("Display shadow", 'mappress'));
|
443 |
-
}
|
444 |
-
|
445 |
function set_map_links() {
|
446 |
$labels = array(
|
447 |
'bigger' => __('Bigger map', 'mappress'),
|
@@ -477,20 +420,12 @@ class Mappress_Settings {
|
|
477 |
echo self::radio($autos, $this->options->autodisplay, "mappress_options[autodisplay]");
|
478 |
}
|
479 |
|
480 |
-
function
|
481 |
-
echo self::checkbox($this->options->
|
482 |
-
}
|
483 |
-
|
484 |
-
function set_adaptive() {
|
485 |
-
echo self::checkbox($this->options->adaptive, 'mappress_options[adaptive]', __("Recenter maps when window is resized", 'mappress'));
|
486 |
-
}
|
487 |
-
|
488 |
-
function set_no_css() {
|
489 |
-
echo self::checkbox($this->options->noCSS, 'mappress_options[noCSS]', sprintf(__("Don't load the %s stylesheet", 'mappress'), '<code>mappress.css</code>'));
|
490 |
}
|
491 |
|
492 |
-
function
|
493 |
-
echo self::checkbox($this->options->
|
494 |
}
|
495 |
|
496 |
function set_sizes() {
|
@@ -570,7 +505,7 @@ class Mappress_Settings {
|
|
570 |
|
571 |
// Add a metabox for each settings section
|
572 |
foreach ( (array) $wp_settings_sections[$page] as $section ) {
|
573 |
-
add_meta_box('metabox_' . $section['id'], $section['title'], array(
|
574 |
}
|
575 |
|
576 |
// Display all the registered metaboxes
|
@@ -595,9 +530,9 @@ class Mappress_Settings {
|
|
595 |
<?php
|
596 |
// Output sidebar metaboxes
|
597 |
if (!class_exists('Mappress_Pro'))
|
598 |
-
add_meta_box('metabox_like', __('Like this plugin?', 'mappress'), array(
|
599 |
|
600 |
-
add_meta_box('metabox_demo', __('Sample Map', 'mappress'), array(
|
601 |
do_meta_boxes('mappress_sidebar', 'side', null);
|
602 |
?>
|
603 |
</div>
|
@@ -777,7 +712,7 @@ class Mappress_Settings {
|
|
777 |
*/
|
778 |
static function table($headers, $rows, $args = '') {
|
779 |
$defaults = array(
|
780 |
-
'class' => '
|
781 |
'id' => '',
|
782 |
'style' => '',
|
783 |
'col_styles' => null
|
3 |
* Options
|
4 |
*/
|
5 |
class Mappress_Options extends Mappress_Obj {
|
6 |
+
var $alignment,
|
7 |
+
$autoicons,
|
8 |
$apiKey,
|
9 |
$autodisplay = 'top',
|
10 |
$bicycling = false,
|
11 |
$bigWidth = '100%',
|
12 |
$bigHeight = '400px',
|
|
|
13 |
$connect, // Connect the pois: null | 'line'
|
14 |
$country,
|
15 |
+
$css = true,
|
16 |
$dataTables = false, // true | false | settings (defaults are: array('bFilter' => false, 'bPaginate' => false))
|
17 |
$defaultIcon,
|
18 |
+
$directions = 'google', // inline | google | none
|
19 |
$directionsServer = 'https://maps.google.com',
|
20 |
$directionsUnits = '',
|
21 |
$draggable = true,
|
22 |
$editable = false,
|
23 |
+
$footer = true,
|
24 |
$from,
|
25 |
$geocoders = array('google'),
|
26 |
$hidden = false, // Hide the map with a 'show map' link
|
27 |
$hideEmpty = false, // Hide 'current posts' mashups if empty
|
28 |
+
$iconScale,
|
29 |
$initialBicycling = false,
|
30 |
$initialOpenDirections = false,
|
31 |
$initialOpenInfo = false,
|
32 |
$initialTraffic = false, // Initial setting for traffic checkbox (true = checked)
|
33 |
$initialTransit = false,
|
|
|
34 |
$iwType = 'iw', // iw | ib | none
|
|
|
35 |
$keyboardShortcuts = true,
|
36 |
$language,
|
37 |
$mapLinks = array(), // Links for the map: center | bigger | reset
|
57 |
$metaSyncSave = true,
|
58 |
$metaSyncUpdate = false, // Deprecated, left for back-compat
|
59 |
$name,
|
|
|
|
|
60 |
$overviewMapControl = true,
|
61 |
$overviewMapControlOpened = false,
|
62 |
$panControl = false,
|
119 |
|
120 |
function __construct() {
|
121 |
$this->options = Mappress_Options::get();
|
122 |
+
add_action('admin_init', array($this, 'admin_init'));
|
123 |
}
|
124 |
|
125 |
function admin_init() {
|
126 |
register_setting('mappress', 'mappress_options', array($this, 'set_options'));
|
127 |
|
128 |
+
add_settings_section('basic_settings', __('Basic Settings', 'mappress'), array($this, 'section_settings'), 'mappress');
|
129 |
+
add_settings_field('postTypes', __('Post types', 'mappress'), array($this, 'set_post_types'), 'mappress', 'basic_settings');
|
130 |
+
add_settings_field('autodisplay', __('Automatic map display', 'mappress'), array($this, 'set_autodisplay'), 'mappress', 'basic_settings');
|
131 |
+
add_settings_field('directions', __('Directions', 'mappress'), array($this, 'set_directions'), 'mappress', 'basic_settings');
|
132 |
+
|
133 |
+
add_settings_section('controls_settings', __('Map Controls', 'mappress'), array($this, 'section_settings'), 'mappress');
|
134 |
+
add_settings_field('draggable', __('Draggable', 'mappress'), array($this, 'set_draggable'), 'mappress', 'controls_settings');
|
135 |
+
add_settings_field('keyboard', __('Keyboard shortcuts', 'mappress'), array($this, 'set_keyboard_shortcuts'), 'mappress', 'controls_settings');
|
136 |
+
add_settings_field('scrollwheel', __('Scroll wheel zoom', 'mappress'), array($this, 'set_scrollwheel'), 'mappress', 'controls_settings');
|
137 |
+
add_settings_field('mapTypeIds', __('Map Types', 'mappress'), array($this, 'set_map_type_ids'), 'mappress', 'controls_settings');
|
138 |
+
add_settings_field('mapControls', __('Map controls', 'mappress'), array($this, 'set_map_controls'), 'mappress', 'controls_settings');
|
139 |
+
|
140 |
+
add_settings_section('appearance_settings', __('Map Settings', 'mappress'), array($this, 'section_settings'), 'mappress');
|
141 |
+
add_settings_field('mapLinks', __('Map links', 'mappress'), array($this, 'set_map_links'), 'mappress', 'appearance_settings');
|
142 |
+
add_settings_field('alignment', __('Map alignment', 'mappress'), array($this, 'set_alignment'), 'mappress', 'appearance_settings');
|
143 |
+
add_settings_field('initialOpenInfo', __('Open first POI', 'mappress'), array($this, 'set_initial_open_info'), 'mappress', 'appearance_settings');
|
144 |
+
|
145 |
+
add_settings_section('poi_settings', __('POI Settings', 'mappress'), array($this, 'section_settings'), 'mappress');
|
146 |
+
add_settings_field('poiLinks', __('POI links', 'mappress'), array($this, 'set_poi_links'), 'mappress', 'poi_settings');
|
147 |
+
add_settings_field('tooltips', __('Tooltips', 'mappress'), array($this, 'set_tooltips'), 'mappress', 'poi_settings');
|
148 |
+
add_settings_field('poi_zoom', __('Default zoom', 'mappress'), array($this, 'set_poi_zoom'), 'mappress', 'poi_settings');
|
|
|
|
|
149 |
|
150 |
if (class_exists('Mappress_Pro')) {
|
151 |
+
add_settings_section('mashup_settings', __('Mashups', 'mappress'), array($this, 'section_settings'), 'mappress');
|
152 |
+
add_settings_section('icons_settings', __('Icons', 'mappress'), array($this, 'section_settings'), 'mappress');
|
153 |
+
add_settings_section('styled_maps_settings', __('Styled Maps', 'mappress'), array($this, 'section_settings'), 'mappress');
|
154 |
+
add_settings_section('geocoding_settings', __('Geocoding', 'mappress'), array($this, 'geocoding_section'), 'mappress');
|
155 |
}
|
156 |
|
157 |
+
add_settings_section('localization_settings', __('Localization', 'mappress'), array($this, 'section_settings'), 'mappress');
|
158 |
+
add_settings_field('language', __('Language', 'mappress'), array($this, 'set_language'), 'mappress', 'localization_settings');
|
159 |
+
add_settings_field('country', __('Country', 'mappress'), array($this, 'set_country'), 'mappress', 'localization_settings');
|
160 |
+
add_settings_field('directionsServer', __('Directions server', 'mappress'), array($this, 'set_directions_server'), 'mappress', 'localization_settings');
|
161 |
+
add_settings_field('directionsUnits', __('Directions units', 'mappress'), array($this, 'set_directions_units'), 'mappress', 'localization_settings');
|
162 |
|
163 |
+
add_settings_section('misc_settings', __('Miscellaneous', 'mappress'), array($this, 'section_settings'), 'mappress');
|
164 |
+
add_settings_field('sizes', __('Map sizes', 'mappress'), array($this, 'set_sizes'), 'mappress', 'misc_settings');
|
165 |
+
add_settings_field('footer', __('Scripts', 'mappress'), array($this, 'set_footer'), 'mappress', 'misc_settings');
|
166 |
+
add_settings_field('css', __('CSS', 'mappress'), array($this, 'set_css'), 'mappress', 'misc_settings');
|
|
|
|
|
167 |
}
|
168 |
|
169 |
function set_options($input) {
|
337 |
$directions = $this->options->directions;
|
338 |
|
339 |
$directions_types = array(
|
|
|
340 |
'google' => __('Google', 'mappress'),
|
341 |
+
'inline' => __('Inline', 'mappress'),
|
342 |
'none' => __('None', 'mappress')
|
343 |
);
|
344 |
|
375 |
$image = "<img src='" . Mappress::$baseurl . "/images/%s' style='vertical-align:middle' />";
|
376 |
|
377 |
$alignments = array(
|
378 |
+
'' => __('Default', 'mappress'),
|
379 |
'center' => sprintf($image, 'justify_center.png') . __('Center', 'mappress'),
|
380 |
'left' => sprintf($image, 'justify_left.png') . __('Left', 'mappress'),
|
381 |
'right' => sprintf($image, 'justify_right.png') . __('Right', 'mappress')
|
385 |
return;
|
386 |
}
|
387 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
function set_map_links() {
|
389 |
$labels = array(
|
390 |
'bigger' => __('Bigger map', 'mappress'),
|
420 |
echo self::radio($autos, $this->options->autodisplay, "mappress_options[autodisplay]");
|
421 |
}
|
422 |
|
423 |
+
function set_css() {
|
424 |
+
echo self::checkbox($this->options->css, 'mappress_options[css]', sprintf(__("Load %s", 'mappress'), '<code>mappress.css</code>'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
}
|
426 |
|
427 |
+
function set_footer() {
|
428 |
+
echo self::checkbox($this->options->footer, 'mappress_options[footer]', __('Output scripts in footer', 'mapress'));
|
429 |
}
|
430 |
|
431 |
function set_sizes() {
|
505 |
|
506 |
// Add a metabox for each settings section
|
507 |
foreach ( (array) $wp_settings_sections[$page] as $section ) {
|
508 |
+
add_meta_box('metabox_' . $section['id'], $section['title'], array($this, 'metabox_settings'), 'mappress', 'normal', 'high', array('page' => 'mappress', 'section' => $section));
|
509 |
}
|
510 |
|
511 |
// Display all the registered metaboxes
|
530 |
<?php
|
531 |
// Output sidebar metaboxes
|
532 |
if (!class_exists('Mappress_Pro'))
|
533 |
+
add_meta_box('metabox_like', __('Like this plugin?', 'mappress'), array($this, 'metabox_like'), 'mappress_sidebar', 'side', 'core');
|
534 |
|
535 |
+
add_meta_box('metabox_demo', __('Sample Map', 'mappress'), array($this, 'metabox_demo'), 'mappress_sidebar', 'side', 'core');
|
536 |
do_meta_boxes('mappress_sidebar', 'side', null);
|
537 |
?>
|
538 |
</div>
|
712 |
*/
|
713 |
static function table($headers, $rows, $args = '') {
|
714 |
$defaults = array(
|
715 |
+
'class' => '',
|
716 |
'id' => '',
|
717 |
'style' => '',
|
718 |
'col_styles' => null
|
mappress_updater.php
CHANGED
@@ -8,11 +8,11 @@ class Mappress_Updater {
|
|
8 |
$this->basename = $basename;
|
9 |
|
10 |
// Plugin actions
|
11 |
-
add_filter("plugin_action_links_{$this->basename}", array(
|
12 |
|
13 |
// Updates for Pro
|
14 |
if (class_exists('Mappress_Pro'))
|
15 |
-
add_filter("site_transient_update_plugins", array(
|
16 |
}
|
17 |
|
18 |
function plugin_action_links($links, $file) {
|
@@ -29,10 +29,10 @@ class Mappress_Updater {
|
|
29 |
function site_transient_update_plugins($value) {
|
30 |
if (isset($value->response[$this->basename])) {
|
31 |
if (!has_filter( "after_plugin_row_$this->basename" ))
|
32 |
-
add_filter("after_plugin_row_$this->basename", array(
|
33 |
|
34 |
// Remove the proposed update
|
35 |
-
unset($value->response[$this->basename]);
|
36 |
}
|
37 |
return $value;
|
38 |
}
|
8 |
$this->basename = $basename;
|
9 |
|
10 |
// Plugin actions
|
11 |
+
add_filter("plugin_action_links_{$this->basename}", array($this, 'plugin_action_links'), 10, 2);
|
12 |
|
13 |
// Updates for Pro
|
14 |
if (class_exists('Mappress_Pro'))
|
15 |
+
add_filter("site_transient_update_plugins", array($this, 'site_transient_update_plugins'));
|
16 |
}
|
17 |
|
18 |
function plugin_action_links($links, $file) {
|
29 |
function site_transient_update_plugins($value) {
|
30 |
if (isset($value->response[$this->basename])) {
|
31 |
if (!has_filter( "after_plugin_row_$this->basename" ))
|
32 |
+
add_filter("after_plugin_row_$this->basename", array($this, 'after_plugin_row_pro'), 20);
|
33 |
|
34 |
// Remove the proposed update
|
35 |
+
unset($value->response[$this->basename]);
|
36 |
}
|
37 |
return $value;
|
38 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: chrisvrichardson
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4339298
|
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: 3
|
7 |
-
Stable tag: 2.
|
8 |
|
9 |
MapPress is the most popular and easiest way to create great-looking Google Maps and driving directions in your blog.
|
10 |
|
@@ -94,6 +94,46 @@ See full [installation intructions and Documentation](http://www.wphostreviews.c
|
|
94 |
|
95 |
== Changelog ==
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
2.42.1
|
98 |
=
|
99 |
* Changed: wider editor infobox for Chrome and WP 3.9
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4339298
|
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.3
|
7 |
+
Stable tag: 2.43.2
|
8 |
|
9 |
MapPress is the most popular and easiest way to create great-looking Google Maps and driving directions in your blog.
|
10 |
|
94 |
|
95 |
== Changelog ==
|
96 |
|
97 |
+
2.43.2
|
98 |
+
=
|
99 |
+
* Fixed: public variables caused query errors with null queries
|
100 |
+
|
101 |
+
2.43.1
|
102 |
+
=
|
103 |
+
* Added: wp_query public variables can be included in queries, for example [mashup query="cat=@cat"] to show posts in the current category
|
104 |
+
* Fixed: drawing manager not showing up in editor
|
105 |
+
|
106 |
+
2.43
|
107 |
+
=
|
108 |
+
* Added: setting for automatic icons in mashups. Note: filter 'mappress_poi_iconid' will be deprecated, please use the settings instead.
|
109 |
+
* Added: setting 'icon scaling'. Enter dimensions to scale regular icons, or for scaling high-DPI/retina display icons
|
110 |
+
* Added: setting 'load scripts in footer'. Uncheck this to show maps in AJAX calls, lightboxes, or infinite scrollers
|
111 |
+
* Changed: POI z-indexes are now set in reverse order so first POI has top index
|
112 |
+
* Changed: KML POIs are now suppressed in the poi list by default
|
113 |
+
* Changed: if initialOpenDirections="true" and no from/to address is provided, the first POI will be used as the "to" address
|
114 |
+
* Changed: initialOpenInfo="true" is now allowed for the widget
|
115 |
+
* Changed: new AJAX icon picker
|
116 |
+
* Changed: new polygon color picker with expanded palette
|
117 |
+
* Changed: polygon POIs can now be dragged
|
118 |
+
* Changed: added UTF8 encoding to geocoding requests for special characters
|
119 |
+
* Fixed: iOS "too many redirects" for directions after Google parameter change
|
120 |
+
* Fixed: directions 'print' parameters fixed
|
121 |
+
* Fixed: 'print' button removed on mobile devices where Google does not support print mode
|
122 |
+
* Fixed: map editor action links not clickable on iPad
|
123 |
+
* Fixed: don't auto-display maps on password-protected posts
|
124 |
+
* Fixed: url for Google 'print' directions updated to new value
|
125 |
+
* Fixed: url incorrect when redirecting to post from POI title
|
126 |
+
* Fixed: 2015 theme interferes with POI list table layout
|
127 |
+
* Fixed: incorrect display when editing tables on settings screen
|
128 |
+
* Removed: icon shadows (shadows are no longer supported by Google)
|
129 |
+
* Removed: JSON library (all browsers should support it natively)
|
130 |
+
* Removed: filters: mappress_poi_html, mappress_user_icons
|
131 |
+
* Removed: iwfix setting (Google has finally fixed API bug 5713 involving infoWindow scrollbars)
|
132 |
+
* Removed: 'adaptive' setting
|
133 |
+
* Removed: 'disableAutoPan' setting
|
134 |
+
* Removed: border setting (add CSS styles to class 'mapp-layout' instead)
|
135 |
+
* Removed: CDATA in post content
|
136 |
+
|
137 |
2.42.1
|
138 |
=
|
139 |
* Changed: wider editor infobox for Chrome and WP 3.9
|
templates/map_layout.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
$width = $map->width();
|
3 |
$height = $map->height();
|
4 |
-
|
5 |
$id = $map->name . '_layout';
|
6 |
$style = "width: $width; " . $map->get_layout_style();
|
7 |
-
$class =
|
8 |
?>
|
9 |
|
10 |
<?php echo $map->get_show_link(); ?>
|
1 |
<?php
|
2 |
$width = $map->width();
|
3 |
$height = $map->height();
|
4 |
+
|
5 |
$id = $map->name . '_layout';
|
6 |
$style = "width: $width; " . $map->get_layout_style();
|
7 |
+
$class = $map->get_layout_class();
|
8 |
?>
|
9 |
|
10 |
<?php echo $map->get_show_link(); ?>
|
templates/map_poi_list.php
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
</thead>
|
8 |
<tbody>
|
9 |
<?php foreach($map->pois as $poi) : ?>
|
|
|
10 |
<tr>
|
11 |
<td>
|
12 |
<?php echo $poi->get_icon(); ?>
|
7 |
</thead>
|
8 |
<tbody>
|
9 |
<?php foreach($map->pois as $poi) : ?>
|
10 |
+
<?php if ($poi->type == 'kml') continue; ?>
|
11 |
<tr>
|
12 |
<td>
|
13 |
<?php echo $poi->get_icon(); ?>
|