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

Class: GSSIcon

GSSIcon(iconUrl, iconSize, iconAnchor)

A class that defines custom marker attributes.

Constructor

new GSSIcon(iconUrl, iconSize, iconAnchor)

Parameters:
Name Type Description
iconUrl String

Path to the icon.

iconSize Array

Height and width of icon to be displayed.

iconAnchor Array

The tip of the icon to be aligned with latitude and longitude on the map.

Example

GSSMarker instantiation with custom image.

var gssIcon = new gssmaps.GSSIcon("assets/bus-marker.png", [32, 32], [16, 32]);