Simple Google Static Map

December 21, 2014

Simple Google Static Map Plugin

This simple plugin allow you to insert a google static map with a simple shortcode. A few parameters to setup and you've got it!

  • This simple plugin allow you to put a simple static google map with a simple shortcode.
  • A few parameters to setup and you’ve got it!
  • Use this example in your content area or widget area: [sgmap w=”300″ h=”300″ z=”14″ addr=”Granada,Spain” link=”true” divclass=”mycustomclass”]

Example Usage

  • ‘w’ means width of the map (Maximum value: 640px)
  • ‘h’ It’s the height of the map (Maximum value: 640px)
  • ‘z’ the zoom level (Between 0 -whole earth map- and 21)
  • ‘col’ markers colors (black, brown, green purple,yellow, blue, grey, orange, red, white)
  • ‘addr’ Location address you want to show on your sidebar, php code or content area.
  • ‘link’ set to ‘true’ or ‘false’ whenever you need a link to Google Maps.
  • ‘divclass’ custom class for your css customize. Name it as you want. Default is ‘sgmap’

Installation

  • Just install and activate the plugin.

Screenshots

FAQ

Can i use geographic coordinates?

  • Nop! I have no intention to use with coordinates, only street addresses.

Changelog

1.0.2

  • Compatibility with wordpress 4.1 and some images for plugin directory.

1.0.1

  • Added two additional options. Also clean and tidy code.

1.0

  • 26/01/2012 Fix for html valid, due to ‘alt’ tag missing. Thanks to Kurt Schlager.
  • 26/01/2012 Added an ID to img tag for css custom.

0.0.1

  • No changes actually.

Details

  • Version: 1.0.1
  • Active installations: 100
  • WordPress Version: 3.0.0
  • Tested up to: 4.1.41

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars