Define icon sets
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | makeIcon(
iconUrl = NULL,
iconRetinaUrl = NULL,
iconWidth = NULL,
iconHeight = NULL,
iconAnchorX = NULL,
iconAnchorY = NULL,
shadowUrl = NULL,
shadowRetinaUrl = NULL,
shadowWidth = NULL,
shadowHeight = NULL,
shadowAnchorX = NULL,
shadowAnchorY = NULL,
popupAnchorX = NULL,
popupAnchorY = NULL,
className = NULL
)
|
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
|
iconAnchorY |
the coordinates of the "tip" of the icon
(relative to its top left corner, i.e. the top left corner means
|
shadowUrl |
the URL or file path to the icon shadow image |
shadowRetinaUrl |
the URL or file path to the retina sized version of the icon shadow image |
shadowWidth |
size of the shadow image in pixels |
shadowHeight |
size of the shadow image in pixels |
shadowAnchorX |
the coordinates of the "tip" of the shadow |
shadowAnchorY |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.