# makeIcon

0th

Percentile

Define icon sets

##### Usage
makeIcon(
iconUrl = NULL,
iconRetinaUrl = NULL,
iconWidth = NULL,
iconHeight = NULL,
iconAnchorX = NULL,
iconAnchorY = NULL,
popupAnchorX = NULL,
popupAnchorY = NULL,
className = NULL
)
##### Arguments
iconUrl

the URL or file path to the icon image

iconRetinaUrl

the URL or file path to a retina sized version of the icon image

iconWidth

size of the icon image in pixels

iconHeight

size of the icon image in pixels

iconAnchorX

the coordinates of the "tip" of the icon (relative to its top left corner, i.e. the top left corner means iconAnchorX = 0 and iconAnchorY = 0), and the icon will be aligned so that this point is at the marker's geographical location

iconAnchorY

the coordinates of the "tip" of the icon (relative to its top left corner, i.e. the top left corner means iconAnchorX = 0 and iconAnchorY = 0), and the icon will be aligned so that this point is at the marker's geographical location

the URL or file path to the icon shadow image

the URL or file path to the retina sized version of the icon shadow image

size of the shadow image in pixels

size of the shadow image in pixels

the coordinates of the "tip" of the shadow

the coordinates of the "tip" of the shadow

popupAnchorX

the coordinates of the point from which popups will "open", relative to the icon anchor

popupAnchorY

the coordinates of the point from which popups will "open", relative to the icon anchor

className

a custom class name to assign to both icon and shadow images

##### Aliases
• makeIcon
Documentation reproduced from package leaflet, version 2.0.4.1, License: GPL-3

### Community examples

Looks like there are no examples yet.