Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HEREMap.prototype.updateMarker = function(markerName, coordinates) {
if (this.markers[markerName]) {
this.removeMarker(this.markers[markerName]);
}
this.markers[markerName] = this.addMarker(coordinates, markerName);
}
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.