Mapping the galaxy NGC 4486 (M87) through its globular cluster system