Implement marker utility functions

1. Marker.isLocal()
2. Marker.setVisible()
Display markers corresponding to selected mode