Plugin Directory

thydzikGoogleMap

  1. Upload folder 'thydzik-google-map' to the '/wp-content/plugins/' directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Under 'Plugins' > 'thydzik Google Map', you will find the 'thydzik Google map setup' page, paste your API key in the box and click update options. The default map size can be changed here if desired.
  4. Upload a Google map XML data file with latitude and longitude points. An example XML file http://thydzik.com/thydzikGoogleMap/example.xml is included, it is better to create a directory outside the plugin directory as every time you update your xml files will be deleted.

Use

thydzikGoogleMap is called in a Wordpress post by writing the following on a single line where you want the Google Map to appear:

thydzikGoogleMap(example.xml, width, height, zoom, maptype)

where:

  • example.xml is your xml file, and example xml file is included with thdyzikGoogleMap in the plugin directory.
  • width is the optional width parameter, if left out the default width defined in the thydzikGoogleMap options will be used.
  • height is the optional height parameter, if left out the default height defined in the thydzikGoogleMap options will be used.
  • zoom is the optional zoom level from 0 to 17 (0 being the furthest away), if left out zoom will be calculated automatically to fit all points.
  • maptype is the optional map type parameters, which can be (Normal, GNORMALMAP, N), (SATELLITE, GSATELLITEMAP, S), (HYBRID, GHYBRIDMAP, H), (PHYSICAL, GPHYSICALMAP, P, TERRAIN or T) if left out Normal is defined.

width, height, zoom and maptype can be in any order and are case insensitive, all the following are valid uses:

  • thydzikGoogleMap(example.xml)
  • thydzikGoogleMap(example.xml, 5)
  • thydzikgooglemap(example.xml, 4, S)
  • tHyDzIkGoOgLeMaP(example.xml,hYbRiD,450,225)
  • thydzikGoogleMap(example.xml, TERRAIN)
  • thydzikGoogleMap(example.xml, 640, 480)

Multiple thydzikGoogleMap can be displayed in a single post.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(15 ratings)