Version Description
[2013-03-14] = * fixed: HTML description now works for address-based maps (thanks, John Sundberg!)
Download this release
Release Info
Developer | webaware |
Plugin | Flexible Map |
Version | 1.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.2 to 1.6.3
- class.FlxMapPlugin.php +3 -0
- flexible-map.php +2 -2
- readme.txt +13 -2
- styles.css +1 -1
class.FlxMapPlugin.php
CHANGED
@@ -308,6 +308,9 @@ HTML;
|
|
308 |
if (!empty($attrs['description']))
|
309 |
$script .= " f.markerDescription = \"{$this->unhtml($attrs['description'])}\";\n";
|
310 |
|
|
|
|
|
|
|
311 |
if (!empty($attrs['link'])) {
|
312 |
$link = self::str2js($attrs['link']);
|
313 |
$script .= " f.markerLink = \"$link\";\n";
|
308 |
if (!empty($attrs['description']))
|
309 |
$script .= " f.markerDescription = \"{$this->unhtml($attrs['description'])}\";\n";
|
310 |
|
311 |
+
if (!empty($attrs['html']))
|
312 |
+
$script .= " f.markerHTML = \"{$this->str2js($attrs['html'])}\";\n";
|
313 |
+
|
314 |
if (!empty($attrs['link'])) {
|
315 |
$link = self::str2js($attrs['link']);
|
316 |
$script .= " f.markerLink = \"$link\";\n";
|
flexible-map.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Flexible Map
|
4 |
Plugin URI: http://snippets.webaware.com.au/wordpress-plugins/wp-flexible-map/
|
5 |
Description: Embed Google Maps in pages and posts, either by centre coodinates or street address, or by URL to a Google Earth KML file.
|
6 |
-
Version: 1.6.
|
7 |
Author: WebAware
|
8 |
Author URI: http://www.webaware.com.au/
|
9 |
*/
|
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
28 |
if (!defined('FLXMAP_PLUGIN_ROOT')) {
|
29 |
define('FLXMAP_PLUGIN_ROOT', dirname(__FILE__) . '/');
|
30 |
define('FLXMAP_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__));
|
31 |
-
define('FLXMAP_PLUGIN_VERSION', '1.6.
|
32 |
|
33 |
// shortcode tags
|
34 |
define('FLXMAP_PLUGIN_TAG_MAP', 'flexiblemap');
|
3 |
Plugin Name: Flexible Map
|
4 |
Plugin URI: http://snippets.webaware.com.au/wordpress-plugins/wp-flexible-map/
|
5 |
Description: Embed Google Maps in pages and posts, either by centre coodinates or street address, or by URL to a Google Earth KML file.
|
6 |
+
Version: 1.6.3
|
7 |
Author: WebAware
|
8 |
Author URI: http://www.webaware.com.au/
|
9 |
*/
|
28 |
if (!defined('FLXMAP_PLUGIN_ROOT')) {
|
29 |
define('FLXMAP_PLUGIN_ROOT', dirname(__FILE__) . '/');
|
30 |
define('FLXMAP_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__));
|
31 |
+
define('FLXMAP_PLUGIN_VERSION', '1.6.3');
|
32 |
|
33 |
// shortcode tags
|
34 |
define('FLXMAP_PLUGIN_TAG_MAP', 'flexiblemap');
|
readme.txt
CHANGED
@@ -4,10 +4,10 @@ Plugin Name: WP Flexible Map
|
|
4 |
Plugin URI: http://snippets.webaware.com.au/wordpress-plugins/wp-flexible-map/
|
5 |
Author URI: http://www.webaware.com.au/
|
6 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6ZCY9PST8E4GQ
|
7 |
-
Tags: google, maps, google maps, shortcode, kml
|
8 |
Requires at least: 3.2.1
|
9 |
Tested up to: 3.5.1
|
10 |
-
Stable tag: 1.6.
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -132,6 +132,14 @@ For more information and examples, see [the website](http://snippets.webaware.co
|
|
132 |
|
133 |
== Frequently Asked Questions ==
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
= Can I add multiple markers to a map? =
|
136 |
|
137 |
Using a KML file, you can have as many markers on a map as you like, with as much detail in the info windows. With KML you can also change marker icons and add other nice features. You can generate your KML file from an application like Google Earth, or you can create it yourself (in a text editor or with your own programming). [Learn more about KML](https://developers.google.com/kml/).
|
@@ -230,6 +238,9 @@ NB: currently, only AJAX methods that parse script tags will work correctly; thi
|
|
230 |
|
231 |
== Changelog ==
|
232 |
|
|
|
|
|
|
|
233 |
= 1.6.2 [2013-03-04] =
|
234 |
* fixed: CSS fix for themes that muck up Google Maps images by specifying background colour on images without being selective
|
235 |
* added: icon parameter to set marker icon on centre / address maps
|
4 |
Plugin URI: http://snippets.webaware.com.au/wordpress-plugins/wp-flexible-map/
|
5 |
Author URI: http://www.webaware.com.au/
|
6 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6ZCY9PST8E4GQ
|
7 |
+
Tags: google, map, maps, google maps, shortcode, kml
|
8 |
Requires at least: 3.2.1
|
9 |
Tested up to: 3.5.1
|
10 |
+
Stable tag: 1.6.3
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
132 |
|
133 |
== Frequently Asked Questions ==
|
134 |
|
135 |
+
= Why do I get "The Google Maps API server rejected your request"? =
|
136 |
+
|
137 |
+
If Google Maps is telling you this:
|
138 |
+
|
139 |
+
> The Google Maps API server rejected your request. The "sensor" parameter specified in the request must be set to either "true" or "false".
|
140 |
+
|
141 |
+
then something on your website is stripping the query strings on scripts. It's probably a misguided attempt to make your website more secure, and it's a dumb idea. Some so-called "security" plugins do this, and I've heard of a theme doing it too. You need to find out what is doing it and fixing it, or removing it. Start by deactivating plugins that pretend to enhance security and retest, then try switching your theme to twentytwelve to see if its the theme.
|
142 |
+
|
143 |
= Can I add multiple markers to a map? =
|
144 |
|
145 |
Using a KML file, you can have as many markers on a map as you like, with as much detail in the info windows. With KML you can also change marker icons and add other nice features. You can generate your KML file from an application like Google Earth, or you can create it yourself (in a text editor or with your own programming). [Learn more about KML](https://developers.google.com/kml/).
|
238 |
|
239 |
== Changelog ==
|
240 |
|
241 |
+
= 1.6.3 [2013-03-14] =
|
242 |
+
* fixed: HTML description now works for address-based maps (thanks, [John Sundberg](http://profiles.wordpress.org/bhwebworks/)!)
|
243 |
+
|
244 |
= 1.6.2 [2013-03-04] =
|
245 |
* fixed: CSS fix for themes that muck up Google Maps images by specifying background colour on images without being selective
|
246 |
* added: icon parameter to set marker icon on centre / address maps
|
styles.css
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
-webkit-box-shadow: none !important;
|
6 |
-moz-box-shadow: none !important;
|
7 |
box-shadow: none !important;
|
8 |
-
|
9 |
}
|
10 |
|
11 |
/* some basic styling for info window */
|
5 |
-webkit-box-shadow: none !important;
|
6 |
-moz-box-shadow: none !important;
|
7 |
box-shadow: none !important;
|
8 |
+
background-color: transparent !important;
|
9 |
}
|
10 |
|
11 |
/* some basic styling for info window */
|