Closed bryanashley closed 9 years ago
Thanks @bryanashley!
As you recommended I have cleaned up the current method and simplified the API (still ok to break stuff). Now you can do:
map.addMarker({"lon" : "37.5000", "lat" : "-79.0000", color: "red", char: "X" })
(also from blessed-contrib)
Adds a third, optional parameter, to change the character and color that is displayed on the map. I was going to combine this with the already optional
marker_type
, but I didn't want to make an api-breaking change. It's up to you which approach we take.