Gmap4 Example Maps
In order to share a map with someone, you first have to make a link (i.e. URL) for your map. Each link can include one or more
parameters which control the appearance of the map when it first opens on the screen. As you look at the
following examples please take a moment to pay attention to the parameters that are part of the link for each map. If a parameter is not specified in a link, then the default value for that parameter will be used when the map opens. To read more about
the link parameters which Gmap4 understands, their allowable values and their default values please go to the Gmap4 help page and download the pdf file 'Link Parameters'."
These maps open in this same window, so use your back button to return to this page.
Recreation maps with GIS layers
The federal government and each state has a vast amount of recreation data on GIS (Geographical Information System) servers. Whether you want to know about public land boundaries, trails, campgrounds, boat launches, hunting areas, etc, there likely is a GIS data layer that has that information. This new project will look for federal and state GIS servers, find those data layers and make Gmap4 links so you can see that GIS recreation data with Gmap4.
This project will also include some non-recreation maps including maps about:
Note: Usually you can click on a GIS feature and see a popup with more information about the thing you clicked. This can be extremely helpful. Keep in mind that sometimes it will take a few seconds for the popup to appear.
Visit the homepage for the Gmap4 GIS recreation maps
USA national forest maps with trail mileages
These national forest maps show trails, trail mileages, campgrounds, picnic areas and more. Trails and symbols on the map can be clicked for more information. That additional information will include a link to a U.S. Forest Service detail web page if one has been produced for the thing that you clicked. The data displayed on these maps comes from the same federal servers that the forest service itself uses. Note that some of this data is in draft form and the data for each national forest is most likely incomplete. The forest service is constantly working to improve the quality and completeness of this data.
These maps can also display USFS "basic roads". To turn on this layer, open the menu that lets you change the basemap and go down to the "Overlay" section. (Mobile users scroll down.) Click "USFS_basic_roads".
See the list of national forest maps
Other recreation maps produced by MappingSupport
Many government websites (city, county, state and federal) have KML and KMZ files that Gmap4 can display. The following link displays a list of maps sorted by state that will display some recreation oriented KML and KMZ files. Most of these maps show the boundaries of land that is open for public access. Some of these maps will show trails, hunting areas, wildlife management areas and other kinds of public access information.
See the list of maps
Default map of the world
If there are not any parameters specified in the Gmap4 link then the default map of the world will appear.
Gmap4 map produced by searching
Display any Gmap4 map and click Menu ==> Search. You can search on (1) anything related
to addresses including names of many settlements that no longer exist and (2) any reasonable way to write
a latitude/longitude pair. Compare these searches:
Paris (click "Search")
Paris USA (click "Search and Mark")
Paris USA (click "List")
Note on the list of hits that there are a number of places in the USA named "Paris". If you do not ask to see the list of hits, then the map will always display the first hit on the list.
Gmap4 map of USA
This map shows most of the USA and Canada. When the map opens on the users screen, the ll parameter determines the center of the map and the z parameter determines the zoom level. After the map opens you can zoom in on the USA anywhere using your mouse wheel or the
map control in the upper left. To pan the map: Click-hold-drag. Keep zooming in until the scale
line in the lower left says "1 mile". Open the menu in the very upper right and select "t4 Topo High". You
are now looking at a high resolution scan of the USGS 7.5" topographic map (1:24,000 scale). Keep zooming in for more detail.
USA Congressional Districts
If you zoom in on this map then the solid colors go away and the congressional district boundaries are very easy to see. Click a district for a popup with data about that district. To learn how to get the most out of the map, including how to make a Gmap4 link that highlights any district, please click "Map Tips" in the upper left corner.
State Legislature Districts
The following map shows all the Pennsylvania state house districts. The districts are clickable and there is a "Map Tips" link in the upper left corner with information about these state legislature district maps.
Gmap4 map displaying crowd-sourced trails on a worldwide topo map from OSM Cycle
Both of the new OSM (Open Street Maps) maps show crowd-sourced trail data and are worldwide. In addition, the 't8 Topo World OSM Cycle' maps are also topographic. The following link shows the t8 maps centered on a location in the Washington State Cascade Mountains that is popular with Seattle-area hikers. Compare this map to the 't4 Topo High' map and you will see trails (one new and one old) that are not on the t4 map.
The OSM maps are worldwide. This topographic map shows some hiking trails for an area in Switzerland.
Gmap4 topographic map based on specific latitude longitude and with variable hill shading
These links display the new very high quality topographic maps that do not have any watermarks and do not have any ads. To control hill shading click Menu ==> Hill shading.
Yosemite National Park, California. With default amount of hill shading.
Yosemite National Park, California. With no hill shading.
Sunrise area, Mt. Rainier, Washington State. With default amount of hill shading.
Sunrise area, Mt. Rainier, Washington State. With no hill shading.
Gmap4 map displaying a nice topo map for a large area
This topo map uses the new 't6' topo maps from ESRI. It is at zoom level 12 and the scale in the lower left corner shows "2 Miles". The map is centered on Mistymoon Lake in the Cloud Peak Wilderness of Wyoming.
Gmap4 map displaying a UTM coordinate grid
This map shows part of the Alpine Lakes Wilderness area in Washington State. If you turn off the UTM grid (use the Menu button) then you will see that the topos themselves have a faint UTM grid based on the same datum (WGS84) that is used by Gmap4:
The UTM support in Gmap4 works worldwide. Here is a map showing the area around Montreux, Switzerland: https://mappingsupport.com/p/gmap4.php?ll=46.430476,6.922587&t=h&z=13&coord=utm
Gmap4 map displaying a USNG coordinate grid (same as MGRS)
The following links produce maps showing part of Florida and increasingly detailed USNG grid boxes. Note that by *not* including a z (zoom) parameter in the link, the map scale is automatically set based on the scale of the USNG coordinate.
USNG = U.S. National Grid. This coordinate system is the federal standard for ground-based search and rescue. It has also been adopted as a standard by several states. MGRS = Military Grid Reference System. USNG and MGRS are exactly the same except USNG coordinates are written with spaces so they are easier to read.
Grid Zone - https://mappingsupport.com/p/gmap4.php?tilt=off&t=h&usng=17R
100,000 meter grid - https://mappingsupport.com/p/gmap4.php?tilt=off&t=h&usng=17R_NK
10,000 meter grid - https://mappingsupport.com/p/gmap4.php?tilt=off&t=h&usng=17R_NK_9_2
1,000 meter grid - https://mappingsupport.com/p/gmap4.php?tilt=off&t=h&usng=17R_NK_93_27
100 meter grid - https://mappingsupport.com/p/gmap4.php?tilt=off&t=h&usng=17R_NK_936_271
Gmap4 example maps for fire - rescue - search
These maps are on a separate web page at
Each map displays one GIS overlay layer when the map opens on the screen. Click any symbol and a popup will appear that shows all the attribute values that the GIS server has for the thing that you clicked.
Each map also displays the U.S. National Grid (USNG) which is the federal standard for ground-based search and rescue.
Gmap4 map displaying a single symbol - No data file required
If you want to share a map that just has a single symbol on it, this is one way to do it.
The 'symbol' parameter can be used to tell Gmap4 to place a marker at the location specified
by the 'll' parameter.
Several different markers are available including custom markers designed for trailheads (&symbol=th)
and summits (crosshair &symbol=ch).
symbol=prs will display a small red paddle
symbol=pgs will display a small green paddle
Gmap4 map displaying contour lines on the Google aerial
This feature works across the USA except for Alaska. You have to zoom in a bunch and then the contour lines will appear.
Your map data saved in the Gmap4 link
No data file required!
All the data for your map is saved right in the Gmap4 link itself.
These examples use the new "markers" parameter to make anything from super easy maps to advanced maps. This new parameter supports a default symbol (red paddle), custom symbols, line color, line width, dashed lines, multiple lines, map title, labels, clickable labels, popup symbol descriptions and more.
Note: Links made with this feature should not excced 2,000 characters.
Anyone can start right now making basic Gmap4 links using the "markers" parameter by following these steps:
1. Start Gmap4 and zoom/pan (or Menu ==> Search) so the screen is displaying the area where you want to make a map.
2. Click Menu ==> Draw and Save
3. Select one of the three options
4. Click the map a few times
5. Right click any symbol and select "Gmap4 link - With description". Mobile users: Tap any symbol then select "Action Menu" and then select "Gmap4 link - With description".
You can copy the link that is displayed, paste it into a browser address bar, hit enter and your map will appear on the screen. A name (i.e. label) is displayed for each waypoint. If a waypoint is clicked then a description (i.e. comment) will appear.
If you look at the examples below you will immediately see how to edit the Gmap4 link you made to change how the map looks when it opens on the screen. You can start right away playing with map title, line color, etc to make your map look just the way you want it to look.
For more information about this feature please go to the Gmap4 help page and download the pdf file "Working With Files".
And since this map-in-a-link feature supports all the syntax for delimited files, you may also want to download the Help file titled "Delimited Data".
Note: The best way to copy these example links so you can edit them is to highlight the full link, rightclick, copy. If you use "copy link location" (instead of "copy") then when you paste the link into any editor you may see control codes (a space is turned into %20, etc).
Map with symbols:
Notice the || characters in the link. The vertical line character is probably an uppercase key on the right side of your keyboard.
Map with symbols and labels: https://mappingsupport.com/p/gmap4.php?label=on&markers=47.6062,-122.3320^Seattle||39.7375,-104.9847^Denver||38.6270,-90.1994^St. Louis||40.7143,-74.0059^New York
Notice the "label" parameter in the link.
Also notice the ^ character in the link. This character is used to separate the different fields of information and thus is known as a field delimiter. The caret character is probably an uppercase '6' key on your keyboard.
Map with symbols, labels, a bold title, descriptions that appear when you click the symbol and using the Google aerial with names as the basemap:
https://mappingsupport.com/p/gmap4.php?t=h&label=on&markers=title=<b>Click a symbol</b>||47.6062,-122.3320^Seattle^Seattle is in Washington State||39.7375,-104.9847^Denver^Denver is in Colorado State||38.6270,-90.1994^St. Louis^St. Louis is in Missouri State||40.7143,-74.0059^New York^New York is in New York State
Each point in the above link has three fields of information:
coordinate ^ name ^ description
Same four points as the very simple map in Example #1 but now the points are on a line.
https://mappingsupport.com/p/gmap4.php?markers=line=on width=2 color=ff0000 linesymbol=off dash=off||47.6062,-122.3320||39.7375,-104.9847||38.6270,-90.1994||40.7143,-74.0059
The setting "line=on" means that the following points will be connected with a line. The default line is two pixels wide and red (ff0000). The default setting "linesymbol=off" means that points on a line will not have any symbol on the map unless you also make some of the linepoints into waypoints. Finally, the default setting "dash=off" means that the line will be solid and not dashed.
Since there is no 't' parameter in the link, the default basemap (t1 Google terrain) is displayed.
Same as the prior map plus two yellow lines with different widths. The setting "linesymbol=on" causes a symbol to be displayed at each linepoint. Also the basemap is the Google aerial with names (t=h):
https://mappingsupport.com/p/gmap4.php?t=h&markers=line=on width=4 color=ffff00 linesymbol=on dash=off||47.6062,-122.3320||39.7375,-104.9847||line=off||line=on width=1||38.6270,-90.1994||40.7143,-74.0059
The "line=on" command appears twice in the above link. Notice that the settings for color, width, linesymbol and dash are 'sticky' in subsequent lines until they are given a new value. In the second "line=on" command the width is changed.
Same as the prior map except there is one yellow line that has different types of dashes. The coordinates for Denver and St. Louis were repeated so the line would be continuous:
https://mappingsupport.com/p/gmap4.php?t=h&markers=line=on color=ffff00 linesymbol=on dash=on||47.6062,-122.3320||39.7375,-104.9847||line=on width=4 dash=3,40||39.7375,-104.9847||38.6270,-90.1994||line=on width=8 dash=3,60||38.6270,-90.1994||40.7143,-74.0059
Same as the very simple map in Example #1 plus different symbols:
https://mappingsupport.com/p/gmap4.php?markers= symbol=https://maps.google.com/mapfiles/kml/pal4/icon50.png city|| symbol=https://maps.google.com/mapfiles/kml/paddle/grn-stars.png green paddle|| 47.6062,-122.3320^^^city|| 39.7375,-104.9847|| 38.6270,-90.1994^^^green paddle|| 40.7143,-74.0059
Notice that "city" and "green paddle" are used as short names for the two symbols that are defined in the link. Notice also that the symbol used for a coordinate is sticky until a new symbol short name is used for a coordinate.
The points in the above link are waypoints since they are not on a line. Also, notice the three delimiter characters after each coordinate. Even if the name and/or description fields are blank the delimiter characters still need to be in the link if you want to specify a short symbol name for that point.
Same as Example #3 except each description includes a link that can be clicked:
https://mappingsupport.com/p/gmap4.php?t=h&label=on&markers=title=<b>Click a symbol</b>||47.6062,-122.3320^Seattle^Seattle is in Washington State<br /><a href="http://www.seattle.gov">Seattle city website</a>||39.7375,-104.9847^Denver^Denver is in Colorado State<br /><a href="https://www.denvergov.org">Denver city website</a>||38.6270,-90.1994^St. Louis^St. Louis is in Missouri State<br /><a href="https://stlouis-mo.gov">St. Louis city website</a>||40.7143,-74.0059^New York^New York is in New York State<br /><a href="http://www.nyc.gov">New York city website</a>
Most HTML and inline CSS can be used in the title and description fields.
If you click the default symbol at the center of this map then you see a popup with a thumbnail. If you click the thumbnail then you see the full size picture. Use your 'back' button to return to the map.
https://mappingsupport.com/p/gmap4.php?t=t4&markers=47.409038,-120.856047^Bean Creek^<table><tr><td>Shooting Star<br>along Bean Creek<br><br><font color="red">Click the pic<font><br><br></td><td width="5px"></td><td><a href="https://sites.google.com/site/gmap4files/pics/shooting_star.jpg"><img src="https://sites.google.com/site/gmap4files/pics/shooting_star.jpg" height="100px" width="133px"></a></td></tr></table>
This example features a fancy label that is styled with CSS that controls the location of the label, the font size, font bolding and some other things. If you click the label you go to the PeakBagger website and see information about this peak. If you change the basemap to topographic then the label background becomes transparent.
https://mappingsupport.com/p/gmap4.php?t=h&z=14&label=on&markers=|| symbol=https://maps.google.com/mapfiles/kml/paddle/grn-circle-lv.png^green square|| label=on css=left:10px;top:-19px;font-weight:bold;font-size:1.5em;border:none;padding:0px;background-color:transparent; satellitecss=background-color:ffffcc;|| 47.41001,-120.842858^Earl Peak^<b>Earl Peak</b><br />7,036 feet 2,145 meters^green square^<a href=http://www.peakbagger.com/peak.aspx?pid=17673 style="text-decoration:none;" target="_blank"><font color=black>Earl</font></a>
The above link uses these fields:
coordinates ^ name ^ description ^ short symbol name ^ label
The 'label' field supports HTML and inline CSS.
The above link also uses a "label=on" command that includes CSS that will be used to display labels for the waypoints. These CSS settings for the labels are sticky until a new "label=on" command appears in the link with different CSS settings.
Tips for using the "markers" parameter.
A. A line that starts with a latitude longitude can have up to five pieces of information. Each piece of information is separated by a ^ character. The five pieces of information (i.e. fields) are:
coordinates ^ name ^ description ^ short symbol name ^ label
If the "label" field is not specified then the waypoint "name" is used for the label.
B. Consider deleting the ll and z parameters from the Gmap4 link. If these parameters are not included then Gmap4 will automatically center and zoom the map such that all of your data is on the screen.
C. Mobile users can also make Gmap4 links with the Menu ==> 'Draw and Save' feature. Turn this feature on and then touch the screen and set some draggable points. Tap any symbol you made. ('Cancel' any popup that asks if you want to 'Save the image'.) Touch 'Display Action Menu' and then touch 'Gmap4 link - With description'.
Gmap4 map displaying data from a GPX file hosted on Google Sites
Any of the data files that Gmap4 can display can be placed online using Google Sites. This is a free
service from Google. If you do not have your own website, then this is a great way to put your data files
online. For step-by-step instructions for using Google Sites, please go to the Gmap4 help page and download the pdf file 'Working With Files'.
The following map shows a GPX file containing the GPS track of a hike in the Washington State Cascades.
Gmap4 map displaying georeferenced photos
If you use a KML file instead of a GPX file then you can add photos to your map. The pdf file 'Working With Files' walks you though the process and gives you KML template files to get you started.
Would you like the above map to open on your screen with the UTM grid displayed? Simply add &coord=utm to the link:
Gmap4 map displaying data from regular Google maps (https://www.google.com/maps)
October 2014 update
Google recently made big changes to regular Google maps. Each map you make with regular Google maps used to be identified by a unique "msid" value. Now, each map you make with regular Google maps is identified by a unique "mid" value. You can import your old "classic" maps into the new Google maps. You can also import KML files into the new Google maps. Here is an example of using a "mid" value to display a KML file that was imported into the new Google maps:
To display your own regular Google map with Gmap4 first "share" your map with everyone and the substitute your mid value into the above link.
Gmap4 map displaying a small 'live' map in a trip report
If you enjoy filing trip reports describing your latest hike/climb/bike/ski/paddle trip then of course you could include a
link to a Gmap4 map in your report. But even better, if the website where you file your report allows iframes,
then you can include a 'live' map right in the body of your report. This 'live' map can be as small as
400 pixels by 400 pixels. Here's an example from a site in Washington State popular with hikers.
Scroll down just a bit for the map. Since this map is 'live' you can pan, zoom, play with the
Gmap4 map displaying information from three data files
If you place KML files online either as Google MyPlace map or on your own website, then you can produce a map that
displays information from several of those files.
Gmap4 displaying maps with labels
If you have a GPX or KML file that has waypoints with names, then you can turn all those names on by doing Menu ==> Label. You can also have all the waypoint names automatically displayed when the map opens by including this parameter in your Gmap4 link: &label=on.
You can style labels with your own HTML and CSS. The delimited text file format that Gmap4 can read includes additional label features that are not available for GPX, KML and TPO files. For more information about this label feature please go to the Gmap4 help page and download the pdf file 'Delimited Data'.
This example uses the delimited text file format to display a property line map with a label at each corner. For more information on obtaining property line maps and GPS coordinates for property corners please see PropertyLineMaps.com.
This next example uses a delimited text file hosted at Google Sites and shows an advanced way to use the new label feature. These labels are transparent and located to the right of their waypoint symbol. The labels are clickable and will take you to a page from http://peakbagger.com with more information. If you change to an aerial view, then the labels have a solid background so their black text does not disappear in a black shadow on the aerial.
This new label feature works with all the file types that Gmap4 can display, except it is not supported yet for KMZ files.
Gmap4 map displaying information from a delimited text file
This new file format is much easier to understand than GPX or KML files. To see more examples using this delimited text file format, please go to the Gmap4 help page and download the pdf file 'Delimited Data'.
The following two line text file is delimited with the ^ character and is online at Google Sites:
47.669655,-122.197298^ Google campus - Kirkland, WA^ 747 6th St S, Kirkland, WA 98033
Link to download data file: https://sites.google.com/site/gmap4files/p/delimited/delimited_01.txt
Link to display a map produced by the above data file. Open the map and then click the marker:
The following link also displays the above data file. URL parameters have been added to change the map center, override the default map type, override the default zoom and to turn the label feature on: https://mappingsupport.com/p/gmap4.php?q=https://sites.google.com/site/gmap4files/p/delimited/delimited_01.txt&ll=47.672083,-122.200817&t=h&z=16&label=on
The data file from Example 1 has been expanded to include:
* Map title
* Designated symbol images
* Lines with different widths and colors
Link to download data file: https://sites.google.com/site/gmap4files/p/delimited/delimited_02.txt
Link to display the Example 2 map: https://mappingsupport.com/p/gmap4.php?q=https://sites.google.com/site/gmap4files/p/delimited/delimited_02.txt&ll=47.672083,-122.200817&t=h&z=16&label=on
The data file from Example 2 has been expanded to include:
* A 'floating point' that has a label but no symbol (Moss Bay).
* A 'floating point' on a line (Beware of dog)
* A point on a line that has a symbol and is clickable (Future trail)
Link to download data file: https://sites.google.com/site/gmap4files/p/delimited/delimited_03.txt
Link to display the Example 3 map: https://mappingsupport.com/p/gmap4.php?q=https://sites.google.com/site/gmap4files/p/delimited/delimited_03.txt&ll=47.672083,-122.200817&t=h&z=16&label=on