Edit in JSFiddle

      // create a map
      var map = $("#map").geomap({
        center: [-75, 40],
        zoom: 5
      });

      // create a geometry collection having a
      // Point, LineString and Polygon
      var gcol = {
        type: "GeometryCollection",
        geometries: [
          {
            type: "Point",
            coordinates: [-71, 42]
          },
          {
            type: "LineString",
            coordinates: [
              [-71, 42],
              [-75, 39.5]
            ]
          },
          {
            type: "Polygon",
            coordinates: [[
              [-75, 39.7],
              [-74.8, 39.3],
              [-75.2, 39.3],
              [-75, 39.7]
            ]]
          }
        ]
      };

      // append the entire collection as a single geometry
      // do not refresh the map yet
      map.geomap("append", gcol, { strokeWidth: "8px", color: "#dedede" }, false);

      // append the point
      // I'm refreshing the map just as an example
      // since true is the default, this is the same as not passing it
      // we normally would pass false because there's more append calls below
      map.geomap("append", gcol.geometries[0], true);

      // append the LineString
      // don't refresh the map yet,
      // this is the correct way when there's more drawing to do
      map.geomap("append", gcol.geometries[1], false);

      // append the Polygon with a blue style
      // refresh will default to true and the map will redraw
      // even if we passed false to all append calls above
      map.geomap("append", gcol.geometries[2], { color: "#00d" });
    <div id="map">
    </div>
    <div class="info">
      <h1>append</h1>
      <p>This page tests geomap's append method and some style and refresh arguments.</p>
      <p class="not-mobile">A geomap widget is initialized to the continental US and a point is placed in Massachusetts. A line extends from MA to South Jersey where a triangle covers an area. For points, geomap draws a pixel-based oval around the map coordinate. Since the size of the oval is based on pixels, it will be the same size at all scales. The pixel length of lines and size of polygons changes at different scales because each point that makes up the shapes is locked at specific map coordinates. The stroke width for all shapes will be the same number of pixels at all scales.</p>
      <p class="not-mobile">All the geometry is stored in a single GeometryCollection. This example first draws the entire collection with a broad stroked, off-white style to create a halo effect behind the real shapes. This makes them a little easier to see on the map. Then we draw each individual shape again with color. The first two have the default style which is red. For the last one, we change the color to blue.</p>
    </div>
.not-mobile
{
  display: none;
}

@media only screen and (min-width: 800px) 
{  
  .info
  {
    max-width: 45% !important;
    position: absolute !important;
    right: 16px;
    top: 16px;
  }
  
  .not-mobile
  {
    display: block;
  }
}

html
{
  font:13px/1.231 Calibri,Arial,sans-serif; *font-size:small;
}

.info 
{
  background: #fff;
  border-radius: 8px;
  box-shadow: -4px 4px #444;
  opacity: .8;
  padding: 8px;
  width: 95%;
}

    #map
    {
      position: fixed;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
    }

External resources loaded into this fiddle: