Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var iconUrl = ‘./images/marker-gelato.svg’;
var iconOptions = {
// The icon's size in pixel:
size: new H.math.Size(26, 34),
// The anchorage point in pixel,
// defaults to bottom-center
anchor: new H.math.Point(14, 34)
};
var markerOptions = {
icon: new H.map.Icon(iconUrl, iconOptions)
};
var marker = new H.map.Marker(coordinates, markerOptions);
map.addObject(marker);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.