Hide the icon from the map

Do you know how to hide icon from the map?
These script should work as someone finds these places.