Changeset 342628
- Timestamp:
- 02/08/2011 08:07:18 PM (15 years ago)
- Location:
- xml-google-maps/trunk
- Files:
-
- 5 edited
-
readme.txt (modified) (5 diffs)
-
xmlgooglemaps.php (modified) (2 diffs)
-
xmlgooglemaps_helper.php (modified) (2 diffs)
-
xmlgooglemaps_optionspage.php (modified) (7 diffs)
-
xmlgooglemaps_show.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
xml-google-maps/trunk/readme.txt
r254414 r342628 4 4 Requires at least: 2.1 5 5 Tested up to: 3.0 6 Stable tag: 1.12. 16 Stable tag: 1.12.2 7 7 Donate link: http://www.matusz.ch/donate_xmlgooglemapswpplugin.htm 8 8 … … 59 59 60 60 == Changes == 61 Version 1.12.2 62 <ul> 63 <li>Replaced ' with ' - due to HTML 4 compatibility</li> 64 <li>Heart Rate chart settings won't be saved on settings page</li> 65 </ul> 66 61 67 Version 1.12.1 62 68 <ul> … … 153 159 Version 1.7 154 160 <ul> 155 <li>Enumeration displayurlmode supports & apos;nomap' for disabling the specified URL.</li>161 <li>Enumeration displayurlmode supports 'nomap' for disabling the specified URL.</li> 156 162 <li>xmlgm supports now other links that are supported from the Google Maps API GeoXML Object - simply use it with [xmlgm {http://www.test.com/dynamic.php?output=kml} maptype=G_NORMAL_MAP]!</li> 157 163 </ul> … … 275 281 <ul> 276 282 <li>Option Pane for Google Maps API Key and Dimension of the showing Google Maps</li> 277 <li>GPX and KML files don& apos;t need to be added to wp_check_filetypes anymore</li>283 <li>GPX and KML files don't need to be added to wp_check_filetypes anymore</li> 278 284 </ul> 279 285 280 286 Version 0.4 281 287 <ul> 282 <li>Internet Explorer didn& apos;t show Overlay's</li>288 <li>Internet Explorer didn't show Overlay's</li> 283 289 <li>Performance optimazation for Polylines with man points</li> 284 290 </ul> … … 288 294 <li>Use of Parameters: maptype, gpxinterval, gpxcolor, gpxlinewidth, gpxlineopacity, gpxview, maxlat, maxlon, minlat, minlon and urldisplaymode</li> 289 295 <li>"My Maps - KML"-Links also get converted</li> 290 <li>Georg& apos;s Solution for show.php</li>296 <li>Georg's Solution for show.php</li> 291 297 <li>Tracks and Routes get displayed</li> 292 298 </ul> -
xml-google-maps/trunk/xmlgooglemaps.php
r148666 r342628 5 5 Feed URI: http://www.matusz.ch/blog/tags/xml-google-maps-wp-plugin/feed/ 6 6 Description: This plugin allows you to easily insert Google Map or Google Earth Plugin Maps into your blog. Supports KML, KMZ, GPX, geoRSS filelinks. Supports Default, Satellite, Hybrid, Physical and Google Earth Plugin Maptypes 7 Version: 1.12. 17 Version: 1.12.2 8 8 Author: Patrick Matusz 9 9 Author URI: http://www.matusz.ch/blog/ … … 13 13 14 14 //Versionsinformationen 15 define("XML_GOOGLE_MAPS_VERSION","1.12. 1",true);15 define("XML_GOOGLE_MAPS_VERSION","1.12.2",true); 16 16 define("XML_GOOGLE_MAPS_DB_VERSION",2,true); 17 17 -
xml-google-maps/trunk/xmlgooglemaps_helper.php
r152506 r342628 86 86 $lon = ($lon - $value3) * 100; 87 87 $value4 = floor($lon); 88 return $h." ".$value1."° ".str_pad($value2,2,"0",STR_PAD_LEFT)."& apos; ".str_pad($value3,2,"0",STR_PAD_LEFT).".".str_pad($value4,2,"0",STR_PAD_LEFT).""";88 return $h." ".$value1."° ".str_pad($value2,2,"0",STR_PAD_LEFT)."' ".str_pad($value3,2,"0",STR_PAD_LEFT).".".str_pad($value4,2,"0",STR_PAD_LEFT)."""; 89 89 } 90 90 … … 99 99 $lat = ($lat - $value3) * 100; 100 100 $value4 = floor($lat); 101 return $h." ".$value1."° ".str_pad($value2,2,"0",STR_PAD_LEFT)."& apos; ".str_pad($value3,2,"0",STR_PAD_LEFT).".".str_pad($value4,2,"0",STR_PAD_LEFT).""";101 return $h." ".$value1."° ".str_pad($value2,2,"0",STR_PAD_LEFT)."' ".str_pad($value3,2,"0",STR_PAD_LEFT).".".str_pad($value4,2,"0",STR_PAD_LEFT)."""; 102 102 } 103 103 -
xml-google-maps/trunk/xmlgooglemaps_optionspage.php
r146734 r342628 89 89 $xmlgm_heartratechart = $_POST[key_xmlgm_heartratechart]; 90 90 if ($xmlgm_heartratechart == '') 91 $xmlgm_heartratechart = xmlgm_heartratechart_default;91 $xmlgm_heartratechart = xmlgm_heartratechart_default; 92 92 update_option(key_xmlgm_heartratechart, $xmlgm_heartratechart); 93 93 … … 127 127 $xmlgm_speedheight = xmlgm_speedheight_default; 128 128 update_option(key_xmlgm_speedheight, $xmlgm_speedheight); 129 129 130 130 //Speed Height 131 131 $xmlgm_heartrateheight = intval($_POST[key_xmlgm_heartrateheight]); … … 417 417 $tipps[] = "Did you know that the <b>NextGEN</b> Parameters can be used more than once to show multiple galleries or pictures? [xmlgml ngg_gallery=1; ngg_gallery=2] will show the first and second gallery images on the map!"; 418 418 } 419 $tipps[] = "This plugin can handle <b><a href='http://www.umapper.com' target='_blank'>umapper.com</a></b> KML links. Try this [xmlgm {<link to the umapper kml file>}] or <a href=& apos;http://www.umapper.com/download/maps/kml/xxx.kml&apos>Testmap</a>!";419 $tipps[] = "This plugin can handle <b><a href='http://www.umapper.com' target='_blank'>umapper.com</a></b> KML links. Try this [xmlgm {<link to the umapper kml file>}] or <a href='http://www.umapper.com/download/maps/kml/xxx.kml&apos>Testmap</a>!"; 420 420 $tipps[] = "There are a lot of <b>samples</b> how to use this plugin. Have a look at the <a href='http://www.matusz.ch/blog/projekte/xml-google-maps-wordpress-plugin-en/samples/' target='_blank'>English</a> or <a href='http://www.matusz.ch/blog/projekte/xml-google-maps-wordpress-plugin/beispiele/' target='_blank'>German</a> Sample Page!"; 421 421 $tipps[] = "Did you know that a <b>GeoRSS</b> Feed can be converted into a map with this plugin? Try this [xmlgm {<link to the georss feed>}]!"; 422 $tipps[] = "Try the <b>Google Earth Browser Plugin</b> in the Google Maps API - this rocks! Set the Default Map Type & apos;Google Earth Plugin'!";422 $tipps[] = "Try the <b>Google Earth Browser Plugin</b> in the Google Maps API - this rocks! Set the Default Map Type 'Google Earth Plugin'!"; 423 423 $tipps[] = "Have a look at the Checkpoint Table feature if you're using a GPX file. This feature will extract additional data out of your GPX tracks (Average Speed, Moving Speed, Max Speed, Climbing up, Climbing down, Distances, Moving Time, Time)!"; 424 424 $tipps[] = "This plugin supports metric, imperial and nautical measurement types!"; … … 427 427 $tipps[] = "Did you ever doubleclicked on a GPX Waypoint Marker that has a Link Element? Yes, this plugin will directly open the specified URL in a new window! You want to open the URL by one click or disable this function, no problem: simply set the specific option or parameter to the specific value!"; 428 428 $tipps[] = "Enable caching now within this plugin!"; 429 $tipps[] = "To clear cache, simply click button & apos;Save Changes' here on this page!";429 $tipps[] = "To clear cache, simply click button 'Save Changes' here on this page!"; 430 430 $tipps[] = "Your GPS records your heart rate? Export to GPX and show a heart rate profile!"; 431 431 $tipps[] = "DIV, IFRAME and IMG-Tags generated from this plugin have a CSS Class now!"; … … 532 532 echo "value='".get_option(key_xmlgm_cache)."' />\n"; 533 533 ?> 534 <p style="margin: 5px 10px;">Enter the cache duration in minutes (-1 = disabled / 0 = infinite). Cache get cleared by clicking the & apos;Save Changes' Button here on this page!</p>534 <p style="margin: 5px 10px;">Enter the cache duration in minutes (-1 = disabled / 0 = infinite). Cache get cleared by clicking the 'Save Changes' Button here on this page!</p> 535 535 </td> 536 536 </tr> … … 607 607 ?> 608 608 <p style="margin: 5px 10px;">Specifies how to tranform the added Link. 609 If you want to completely remove it then select & apos;Map only'.610 If you want to remove only the parameters, then select & apos;Map, URL611 Title without Parameters& apos;. Orelse if you want to show the whole612 link as you typed it in then select & apos;Map, URL Title and613 Parameters& apos;. If you wan't to disable the plugin by default,614 select & apos;URL Title without Paramaters and without Map'!</p>609 If you want to completely remove it then select 'Map only'. 610 If you want to remove only the parameters, then select 'Map, URL 611 Title without Parameters'. Orelse if you want to show the whole 612 link as you typed it in then select 'Map, URL Title and 613 Parameters'. If you wan't to disable the plugin by default, 614 select 'URL Title without Paramaters and without Map'!</p> 615 615 </td> 616 616 </tr> … … 1327 1327 <td width="50%"><?php 1328 1328 echo "<select "; 1329 echo "name='".key_xmlgm_heartr etechart."' ";1329 echo "name='".key_xmlgm_heartratechart."' "; 1330 1330 echo "id='".key_xmlgm_heartratechart."'>"; 1331 1331 switch (get_option(key_xmlgm_heartratechart)) -
xml-google-maps/trunk/xmlgooglemaps_show.php
r148320 r342628 98 98 } 99 99 } else { 100 $error .= "Your PHP installation on your webserver doesn& apos;t support EXIF functions. This plugin needs these functions to read the coordinates from the image file. Please consult <a href=\"http://ch2.php.net/manual/en/book.exif.php\" target=\"_blank\">http://ch2.php.net/manual/en/book.exif.php</a> for more information!<br />";100 $error .= "Your PHP installation on your webserver doesn't support EXIF functions. This plugin needs these functions to read the coordinates from the image file. Please consult <a href=\"http://ch2.php.net/manual/en/book.exif.php\" target=\"_blank\">http://ch2.php.net/manual/en/book.exif.php</a> for more information!<br />"; 101 101 } 102 102 } else {
Note: See TracChangeset
for help on using the changeset viewer.