Plugin Directory

XML Google Maps

Author: Patrick Matusz

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 or your uploaded Google Earth (kmz, kml) file. 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 and elevation charts (Google Charts API) and a data table with checkpoints. This plugin also supports the Google Earth Plugin maptypes.

It's easy - try it!

Deutsche Anleitung!

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_MAP, G_SATELLITE_MAP, G_NORMAL_MAP, G_PHYSICAL_MAP, G_SATELLITE_3D_MAP)
  • 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 (Normal Buttons), hierarchical (Hierarchical Buttons and Checkboxes)
  • align: left, center, right
  • mapnormal, maphybrid, mapsat, mapphysical, mapearth: Shows or Hides the specific Map Type Control Button
  • dragging: enabled, disabled
  • googlebar: enabled, disabled
  • continuouszoom: enabled, disabled
  • doubleclickzoom: enabled, disabled
  • scrollwheelzoom: enabled, disabled
  • 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)
  • 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
  • measurement: metric or imperial
  • speedscale: level1 (m/s or fps) / level2 (km/h or mph)
  • gpxspeedchart: show (only works for gpx tracks with elevation information), hide
  • gpxspeedchartcolor: line color of speed chart
  • gpxspeedchartlinewidth: line width of speed chart
  • gpxspeedchartheight: height of speed chart
  • gpxcheckpointinterval: to set automatically checkpoints after x miles or kilometres on tracks (supported by checkpoint table, elevation charts and speed charts)
  • gpxcheckpointmarkercolor: red / green / yellow / blue
  • gpxcheckpointtable: show / hide

Examples: