=== XML Google Maps ===
Contributors: dschuesae
Tags: gpx, kml, kmz, google maps, google, maps, tracks, routes
Requires at least: 2.x
Tested up to: 2.3
Stable tag: 1.2
Donate link: http://www.matusz.ch/donate_xmlgooglemapswpplugin.htm
Converts links to kml, kmz and gpx files to a google map!
== Description ==
Add your own KML, KMZ or GPX files to your web page. Links to these files will be converted automatically to a Google Maps map.
Simply upload your gpx, kml or kmz file in your blog entry upload form. Make an a-link to the file. Save the entry and here it is - as simple as possible.
To extend or correct the map there are some parameters too:
Include Parameters within the <a> and </a> tag (<a href="gpx, kml or kmz url">Title [Parameters]</a>) and make sure that the whole url is on the same line.
- maptype:
Defines view type of Google Maps > (G_HYBRID_TYPE, G_SATELLITE_TYPE, G_MAP_TYPE)
- gpxinterval:
Shows only every xth Track- or Routepoint
- gpxcolor:
Color of GPX Tracks and Routes!
- gpxlinewidth:
Width of GPX Tracks and Routes!
- gpxlineopacity: Opacity of GPX Tracks and Routes!
- gpxview: all, trk (tracks only), rte (routes only), wpt (waypoints only)
- maxlat, maxlon, minlat, minlon: Manually set center and zoom of your world View
- urldisplaymode: none (no link), showvars (include parameters), title (default)
- width, height: dimension of a single map can be changed
- zoom: Zoom Value of Google Maps to override the default or calculated zoom level (max. is around 20)
- deltazoom: Adds or subtracts zoom level to calculated or default zoom level! (Only works for maps without parameter "zoom")
- panzoomcontrol: large, small, zoom, hide
- overviewmapcontrol: hide, show
- scalecontrol: hide, show
- maptypecontrol: hide, show
- align: left, center, right
- gpxelevation: show (only works for gpx tracks with elevation information), hide
- gpxelevationcolor: line color of elevation chart
- gpxelevationlinewidth: line width of elevation chart
- gpxelevationheight: height of elevation chart
- gpxelevationmeasurement: metric or imperial
Examples:
Deutsche Anleitung!
== 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 ==
== Screenshots ==
1. screenshot-1.jpg
2. screenshot-2.jpg
== Changes ==
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