Skip to content

graytech/gw-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GW Mapper

Description

This Wordpress Plugin allows a uwer to create a Google Map inside a post or page usinga short tag.

Setup

Add the basic short tag to your page or post in wordpress to get a map. Wrap addresses to create markers at inside the short tags with a new address on each line.

short Tag

[gwmapper center="10 Main Street, Detroit, MI" zoom="10"]

Required Parameters

center - The address of the center point of the map. This can be any google acceptable map search string.

zoom - The zoom level for the map.

Optional Parameters

height - The height of the map in pixels. Default is 300.

width - The width of the map in pixels. Default is 300.

Examples

To get a map of Detroit that is zoomed in to the downtown area, use:

[gwmapper center="Detroit, MI" zoom="10"]

To get a map of Detroit that is zoomed in to the downtown area that is 500 pixels wide and 400 pixels tall, use:

[gwmapper center="Detroit, MI" zoom="10" width="500" height="400"]

To get a map of Detroit Meto area that has a marker in Royal Oak, MI and one in Dearborn, MI, use:

[gwmapper center="Detroit, MI" zoom="8"]
Royal Oak, MI
Dearborn, MI
[/gwmapper]]

About

A Wordpress plugin for inserting maps in posts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published