GEOCODING & SEARCH
REST
Android
iOS
DIRECTIONS & NAVIGATION
REST
JavaScript
Android
iOS
POSITIONING
Overview
ILP SDKs

Class: GSSIconBubble

GSSIconBubble(cssClassName, iconSize, iconAnchor, popupAnchor, html)

The class helps you to add some text/overlay an image on the marker icon.

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

GSSIconBubble instantiation.

var icon = new gssmaps.GSSIconBubble("text-icon", [32, 32], [16, 32], [0, -35], 'A');