=== XML Google Maps ===
Contributors: dschuesae
Tags: google maps, google, maps, gpx, kml, kmz, tracks, routes, georss, flickr, nextgen gallery, geocode, geotag, gallery, exif, umapper
Requires at least: 2.1
Tested up to: 2.8
Stable tag: 1.12.1
Donate link: http://www.matusz.ch/donate_xmlgooglemapswpplugin.htm
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!
== Description ==
This plugin allows you to easily insert Google Map or Google Earth Plugin Maps into your blog. You just have to add a link to your self defined Map from My Google Maps, Picasa Webalbum Picture Map, any geoRSS Feed (like Flickr), your uploaded Google Earth file (kmz, kml) or any other dynamic or static Google Earth file (umapper.com, flickr.com, etc.).
Even if you have a GPX-File from your GPS, upload it, link it and it get displayed. For GPX-Tracks you can even display speed, elevation charts (Google Charts API) and a data table with checkpoints (distance, time, average speed, max speed, climb up, climb down).
If your NextGEN Gallery Images are already Geocoded (EXIF), this plugin shows your geocoded images on a map.
This plugin supports the Google Earth Plugin maptypes.
It's easy - try it! Have a look at one of these two pages:
Deutsche Plugin Homepage
English Plugin Homepage
== Installation ==
- Download the Plugin ZIP File
- Upload the Folder xml-google-maps to your wordpress plugin folder
- Activate the plugin
- Create a Google Maps API Key here
- Enter the Google Key in the Option Pane
- Set the size of your Google Map in the Option Pane
- Developed a better algo for resolving the url to a local path (GPX and KML parsing).
For Updates:
- Deactivate the plugin!
- Continue with the installation steps!
== Frequently Asked Questions ==
Deutsche Plugin Homepage
English Plugin Homepage
== Screenshots ==
1. Normal Map
2. KML map marker with image
3. Sample of GPX File with Elevation Graph
4. Supports Google Bar in the bottom left Corner and Hierarchical Map Type Buttons on the top right corner
5. Use of checkpoints and the data table
6. Use of the speed profile chart
7. Use of Google Earth Plugin in Google Maps
8. Picasa Webalbum Integration
9. Flickr geoRSS Feed
10. NextGEN Gallery Integration
== Licence ==
This plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. If you enjoy this plugin, you can thank me and leave a [small donation](http://www.matusz.ch/donate_xmlgooglemapswpplugin.htm "Donate with PayPal") for the time I've spent writing and supporting this plugin.
== Changes ==
Version 1.12.1
- Plugin didn't work under PHP 4 - fixed! Please update your PHP installations anyway. PHP 4 isn't supported anymore.
Version 1.12
- New GPX Parser included. This second parser can handle larger files than the first parser, but uses a lot of database space! You can choose between these two parsers!
- Since plugin uses curl (if installed), gpx files will not work anymore in a password protected wordpress blog. You have to include user and password directly in the URL. Eg. http://testusr:testpwd@www.somedomain.ch/test.gpx - this plugin supports links with the '@'-sign now.
- Database ID columns changed to bigint
- Donation and settings link on all other plugins, will disappear!
Version 1.11
- Database select commands for NGGallery uses now prepare statements.
- Opacity won't work correct if decimal separator was a comma.
- Added licence information!
- MySQL database will now use the correct charset
- Setting align didn't has any effect!
- Removed end checkpoint if no track is available!
- Added caching!
- Removed some old Google Maps API functions!
- Added classes and id to the div, iframe and img-tags generated with this plugin!
- Added two new 3D Controls: GLargeMapControl3D and GSmallZoomControl3D
- Added two new template variables for checkpoint table: Highest and deepest elevation!
- Uses curl instead of fopen!
- Plugin supports heartrate charts from GPX files!
- Plugin supports full screen mode of map!
Version 1.10.2
- Finally fixed bug 'Are you sure you want to do this?' that did not allow to save options on some wordpress installation. Thx to Pierre Burrin!
Version 1.10.1
- Regular expression changes for Version 1.10 feature Linebreaks sometimes will not work (replaced whole text or part with the map). Fixed the regular expressions!
Version 1.10
- Links with a Tilde-Sign (~) will work now!
- Even GPX elevation and speed chart should now produce valid XHTML Transitional output
-
- Images in Options Pane now produce valid XHTML Transitional output
- Added some new variables to GPX Marker Template: Latitude, Longitude, Elevation
- Added some new variables to NextGEN Gallery Marker Template: Latitude, Longitude
- Added some new variables to Checkpoint Row Template: Latitude, Longitude, Elevation
- Shows error message if PHP Installation does not support EXIF extension
- Linebreaks are now supported in HTML-Tags
Version 1.9
- Google Maps or Picasa links from UK will work too, now!
- New parameter: kmlparsing (enabled/disabled). If this option is set to enabled, this plugin tries to parse the kml file for coordinates, set the center and zoomlevel to the perfect values. Parsing only works for KML links that ends with the file ending .kml, it won't work with the following notation [xmlgm {xyz.kml}]!
- Supports templates for Marker text using GPX Waypoints or NextGEN Gallery Images
- GPX Files throwed warnings when showing checkpoint data, this should not happen anymore!
- NextGen Gallery Feature now supports Geotagged Images without GPSLongitudeRef or GPSLatitudeRef Exif data (iPhone images)
- NextGen Gallery Description, AltText and Gallery Description will get entity decoded now!
- New parameter: gpxdirectopenlink (disabled, click, dblclick) opens the URL in the Link Element of the specific Waypoint act as the given action
Version 1.8.1
- Fixed error in calculating checkpoint data if two points are exactly the same (distance between two track points is 0).
- New Checkpoint Table variables added: Movingtime, Movingspeed (without breaks)
- Better rounding for Checkpoint Table Data (1.1 becomes 1.10)
- Added nautic miles and knots as measurement types
- Map Button Earth property on Plugin Settings (show / hide) page will work now!
- Added error handling if adding a GGeoXML Overlay Object to a map fails!
- Fixed some division by zero errors in Google Charts Helper Class!
Version 1.8
- Don't shows any warnings if KML File can't be opened for parsing!
- NextGEN Gallery integration: Shows geocoded images from the NextGEN Gallery plugin directly on the map! (Parameter: ngg_gallery, ngg_picture --> multiuse of this parameter allowed)
- Replaced GPX Parser with a new one: Now it's possible to set html-tags in the description of a waypoint
- Checkpoint Templates can be changed now: didn't work till now!
- New Checkpoint Table variables added: Maxspeed, Checkpointnumber, Climbup, Climbdown
- Updated the default checkpoint templates
- Checkpoint summary data can be added in the table template, too!
- Tips added in the admin section
Version 1.7.1
- Tested up to Wordpress 2.6
Version 1.7
- Enumeration displayurlmode supports 'nomap' for disabling the specified URL.
- 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]!
Version 1.6
- The XML Google Maps Plugin supports now even Picasa-KML links in your post to be converted into a google map!
- Help for wrong My Google Maps link added. Now supports 'link to this page' to if a map has been saved (and the google earth link will be shown)!
Version 1.5
- Added support to use the Google Earth Plugin in the Google Maps. New Parameter added: mapearth (show, hide) and extended value for parameter maptype with G_SATELLITE_3D_MAP
Version 1.4
- Removed debug information from map (sometimes they get displayed - no idea why...)
- Added Quick Navigation Links on Admin Page
- Added Speed Chart to show the Speed Profile of a GPX Track (including new parameter: gpxspeedchartcolor, gpxspeedchart, gpxspeedchartlinewidth, gpxspeedchartheight)
- Support of Chart Title for Elevation Chart and Speed Chart
- Improvement of displaying Charts and Auto-Scale
- New Parameter: speedscale (level1 ms or fps / level2 kmh or mph)
- Changed Parameter: gpxelevationmeasurement to measurement
- New Parameter: gpxcheckpointinterval to set automatically checkpoints after x miles or kilometres (supported by checkpoint table, elevation charts and speed charts)
- New Parameter: gpxcheckpointmarkercolor (red / green / yellow / blue) for setting the color of the checkpoint marker on the map
- New Parameter: gpxcheckpointtable (show / hide) for showing a checkpoint data table
- By setting the gpxcheckpointinterval-parameter checkpoints will be displayed automatically as markers on maps and as vertical lines on charts
- Support of displaying a checkpoint table (distance, time, speed)
Version 1.3
- Also supports a-tags with single quoted attributes now
- New algorithm for GPX Polyline encoding
- Shows XML Google Maps WP Plugin Banner on Map
- Supports new Map Type Physical
- New Parameters to change the MapType Control Buttons: mapnormal, maphybrid, mapsat, mapphysical (show, hide)
- Support added for the new Hierarchical Map Type Control. Set parameter overviewmapcontrol to hierarchical
- New parameters (enabled/disabled) for customize the map behaviour: dragging, googlebar, continuouszoom, doubleclickzoom, scrollwheelzoom
Version 1.2.4
- GPX Elevation line color names didn't work (green, red, ...). The plugin now converts the known html color names into hex.
Version 1.2.3
- Changed algorithm to get local path of a gpx file
Version 1.2.2
- Changed admin pages for new Wordpress Admin Styles
Version 1.2.1
Version 1.2
- The plugin does now validate for XHTML 1.0 Transitional (thx to fishtoes2000)
- Link to a on My Google Maps created map now also works with domains other than google.com (examples: google.de, google.ch, ... - thx to marius).
- Did not free xml parser and so did not accept more than one gpx file on the same page!
- Solved problem with the apos sign in the gpx comment, description or name tag
- New property 'CSS Style for GPX Waypoints' added in the settings section of the plugin!
Version 1.1
- New Parameter: gpxelevationmeasurement: metric/imperial
- Improvements in displaying the chart
- Bug with missing description for GPX Waypoints in map fixed!
- New Parameter: zoom to ovveride the default or calculated zoomlevel
- New Parameter: deltazoom to add or subtract zoom level to calculated or default zoom level! (Only works for maps without parameter "zoom")
- Set property frameborder=0 to iframe. IE now shows the iframe without any frame!
- Changed required_once() to required_once(dirname(__FILE__).)
Version 1.0
- New feature: Reads elevation information from the gpx tracks and displays the data in a chart!
- New Parameter: gpxelevation: show( only works for gpx tracks with elevation information), hide
- New Parameter: gpxelevationcolor: line color of elevation chart
- New Parameter: gpxelevationlinewidth: line width of elevation chart
- New Parameter: gpxelevationheight: height of elevation chart
- Bug with parameter value showvars=title fixed.
- Bug with Google Maps URL with encoded ampersand '&' -> '&' in it fixed (Wordpress replaces every '&' to '&' during saving a post).
Version 0.8
- Using Maps without Links possible with: [xmlgm <parameters>]
Version 0.7
- KML Files loading problem (script duration) solved!
- Marker from GPX Files won't show
- New Parameters: width and height for single map dimensions
- KML only correctly loaded with MapType G_MAP_TYPE, now delayed loading of other MapTypes!
- Support for KMZ Files added!
- New Parameter: panzoomcontrol for defining the left top pan/zoom control!
- New Parameter: overviewmapcontrol for showing a small overview map of the region!
- New Parameter: scalecontrol for showing a Scale Control!
- New Parameter: maptypecontrol for showing the Map Type Selection Buttons!
- New Parameter: align for aligning the IFrame
Version 0.6
- Default values for parameters can be set on the Option Pane
- The plugin now uses Encoded Polylines for faster loading and smaller files
- Changed Google Maps API Version from 2.x to 2 (stable)
Version 0.5
- Option Pane for Google Maps API Key and Dimension of the showing Google Maps
- GPX and KML files don't need to be added to wp_check_filetypes anymore
Version 0.4
- Internet Explorer didn't show Overlay's
- Performance optimazation for Polylines with man points
Version 0.3
- Use of Parameters: maptype, gpxinterval, gpxcolor, gpxlinewidth, gpxlineopacity, gpxview, maxlat, maxlon, minlat, minlon and urldisplaymode
- "My Maps - KML"-Links also get converted
- Georg's Solution for show.php
- Tracks and Routes get displayed
Version 0.2