By default, the map has a marker at the specified lat/long or address. The marker can be turned off by setting :marker => false - see previous example. In addition, other markers can be added to maps. In this case, the map has to be named using the :gmapid parameter. After that, multiple markers can be added by referring to the same :gmapid. If :content is defined, a click on the marker will open a window with the content.
<%= gmap :gmapid => 'mrkrmap',
:lat => 37.32, :long => -122.02 %>
<%= gmarker :gmapid => 'mrkrmap',
:lat => 37.318, :long => -122.023,
:content => "Hello" %>