mapbox-directions.js icon indicating copy to clipboard operation
mapbox-directions.js copied to clipboard

Origin and destination markers A, B

Open mahmoudkm opened this issue 9 years ago • 1 comments

I've placed new map markers representing point A (origin) and point B (destination) with more app related icons inside my app, but can't figure out how I can remove point A, point B markers from my map or change their icons / color of marker A and B.

So is there any way I can remove point A, B markers or change their color / icons? Thanks

mahmoudkm avatar Feb 17 '16 11:02 mahmoudkm

Yes, you need to modify mapbox.directions.js - search for the markers(you can use their color hex#, size string etc), then you can delete the entire icon object so it doesn't produce A/B icons, just yours will show.

wyattp11 avatar Oct 20 '16 07:10 wyattp11