generalized the filepath of the marker icon