Constructor
new GSSIconBubble(cssClassName, iconSize, iconAnchor, popupAnchor, html)
Parameters:
Name | Type | Description |
---|---|---|
cssClassName |
String | CSS class that has a reference to marker URL. |
iconSize |
Array | Height and width of marker icon to be displayed. |
iconAnchor |
Array | Position of the marker icon where the tip points the LatLng on the map. |
popupAnchor |
Array | Center point of popup anchor to be displayed relative to marker icon. |
html |
String | Plain text or HTML string to be rendered in the marker. |
Example
var icon = new gssmaps.GSSIconBubble("text-icon", [32, 32], [16, 32], [0, -35], 'A');