Sample Maps

Unable to contact Google API service.


Only one (and the only mandatory) parameter is defined – address.

Unable to contact Google API service.


Description bubble will be visible immediately after map is loaded (show_description=”true”); if this is false (default) you need to click on the marker to show the bubble. Icon is changed to “star” and we entered a description in “title|rest of text” format. The “DIRECTIONS_LINK” will be replaced by a link to Google Maps on which you can get directions to the entered address.
Important: if you’re using double quotes to write the shortcode then you must use single quotes for your HTML, otherwise the shortcode wont be parsed properly.

Unable to contact Google API service.


After defining width and height in pixels we set the map type to hybrid (satellite + roads) and zoom level to 10 (which is 50% of [0-20]).

array (
  'width' => '100%',
  'height' => '400px',
  'address' => 'Los Angeles, USA',
  'lat' => '',
  'lng' => '',
  'description' => '',
  'show_description' => false,
  'zoom' => 12,
  'fullscreen' => false,
  'icon' => 'http://www.graphicsfactory.com/clip-art/image_files/tn_image/1/570901-tn_sun_1102.gif',
  'type' => 'ROADMAP',
  'disable_cache' => false,
  'debug' => true,
  'post_id' => '944',
  'title' => 'U',
)
'Unable to contact Google API service.'

Unable to contact Google API service.


The icon is custom, defined via full URL and debugging is turned on.

Unable to contact Google API service.


Placing a map in the sidebar is as easy as putting it in a post. You’ll probably just need to adjust the hight a bit.

No comments yet... Be the first to leave a reply!

Leave a Reply

Your email address will not be published. Required fields are marked *

  •