help for gcmap

gcmap

Plot markers on a Google Map

Syntax

gcmap
using
filename,
latitude(varname)
longitude(varname)
[zoom(numeric)
name(varname)
centerlat(string)
centerlong(string)
normark(string)
selmark(string)
replace]

Description

gcmap Plots markers on a Google Map for latitude/longitude coordinates. A file is created which can be opened with a web browser (e.g., Google Chrome or Mozilla Firefox).

Options

latitude(varname) The variable in your data which contains the latitude (note: this variable must be numeric).

longitude(varname) The variable in your data which contains the longitude (note: this variable must be numeric).

zoom(numeric) Zoom level for your map where 0 is a view of the Earth and 20 is a view of the street (default is 10).

name(varname) The variable in your data which contains the name of the location.

centerlat(string) Specify the latitude to center your map on. If not specified, it takes the mean of the latitude variable.

centerlong(string) Specify the longitude to center your map on. If not specified, it takes the mean of the longitude variable.

normark(string) Web link for data marker point. PNGs, GIFs, and JPGs are supported.

selmark(string) Web link for selected data marker point. PNGs, GIFs, and JPGs are supported.

replace Overwrite file if it already exists.

Example

gcmap using "mymap.html", latitude(mylatitude) longitude(mylongitude) zoom(12) name(myplaces) centerlat(32.8) centerlong(-117.15) nor(http://www.belenchavez.com/uploads/5/6/9/3/56930511/9243470_orig.png) sel(http://www.belenchavez.com/uploads/5/6/9/3/56930511/5261019_orig.png) replace

Author

Version 1: George A. Woolsey

Current version: Belen Chavez

Special Thanks

William M. Matsuoka