EVOLUTION-MANAGER
Edit File: addAwesomeMarkers.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Add Awesome Markers</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for addAwesomeMarkers {leaflet}"><tr><td>addAwesomeMarkers {leaflet}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Add Awesome Markers</h2> <h3>Description</h3> <p>Add Awesome Markers </p> <h3>Usage</h3> <pre> addAwesomeMarkers(map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, icon = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, options = markerOptions(), clusterOptions = NULL, clusterId = NULL, data = getMapData(map)) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>map</code></td> <td> <p>the map to add awesome Markers to.</p> </td></tr> <tr valign="top"><td><code>lng</code></td> <td> <p>a numeric vector of longitudes, or a one-sided formula of the form <code>~x</code> where <code>x</code> is a variable in <code>data</code>; by default (if not explicitly provided), it will be automatically inferred from <code>data</code> by looking for a column named <code>lng</code>, <code>long</code>, or <code>longitude</code> (case-insensitively)</p> </td></tr> <tr valign="top"><td><code>lat</code></td> <td> <p>a vector of latitudes or a formula (similar to the <code>lng</code> argument; the names <code>lat</code> and <code>latitude</code> are used when guessing the latitude column from <code>data</code>)</p> </td></tr> <tr valign="top"><td><code>layerId</code></td> <td> <p>the layer id</p> </td></tr> <tr valign="top"><td><code>group</code></td> <td> <p>the name of the group the newly created layers should belong to (for <code><a href="remove.html">clearGroup</a></code> and <code><a href="addLayersControl.html">addLayersControl</a></code> purposes). Human-friendly group names are permitted–they need not be short, identifier-style names. Any number of layers and even different types of layers (e.g. markers and polygons) can share the same group name.</p> </td></tr> <tr valign="top"><td><code>icon</code></td> <td> <p>the icon(s) for markers;</p> </td></tr> <tr valign="top"><td><code>popup</code></td> <td> <p>a character vector of the HTML content for the popups (you are recommended to escape the text using <code><a href="../../htmltools/html/htmlEscape.html">htmlEscape</a>()</code> for security reasons)</p> </td></tr> <tr valign="top"><td><code>popupOptions</code></td> <td> <p>A Vector of <code><a href="map-options.html">popupOptions</a></code> to provide popups</p> </td></tr> <tr valign="top"><td><code>label</code></td> <td> <p>a character vector of the HTML content for the labels</p> </td></tr> <tr valign="top"><td><code>labelOptions</code></td> <td> <p>A Vector of <code><a href="map-options.html">labelOptions</a></code> to provide label options for each label. Default <code>NULL</code></p> </td></tr> <tr valign="top"><td><code>options</code></td> <td> <p>a list of extra options for tile layers, popups, paths (circles, rectangles, polygons, ...), or other map elements</p> </td></tr> <tr valign="top"><td><code>clusterOptions</code></td> <td> <p>if not <code>NULL</code>, markers will be clustered using <a href="https://github.com/Leaflet/Leaflet.markercluster">Leaflet.markercluster</a>; you can use <code><a href="map-options.html">markerClusterOptions</a>()</code> to specify marker cluster options</p> </td></tr> <tr valign="top"><td><code>clusterId</code></td> <td> <p>the id for the marker cluster layer</p> </td></tr> <tr valign="top"><td><code>data</code></td> <td> <p>the data object from which the argument values are derived; by default, it is the <code>data</code> object provided to <code>leaflet()</code> initially, but can be overridden</p> </td></tr> </table> <hr /><div style="text-align: center;">[Package <em>leaflet</em> version 2.0.3 <a href="00Index.html">Index</a>]</div> </body></html>