cpcdev cpcdev - 3 months ago 21
CSS Question

Google Maps API Remove Step "Numbers" from Directions Output

I am using the Google Maps JavaScript API to display directions.

The directions output each step with numbers. Is it possible to remove these numbers?

enter image description here

I used inspector to find a unique identifier for the step numbers but unfortunately there is only the parent class ".adp-substep".

Is there a way to remove the actual step numbers from the directions?

Answer

I think this will do it:

CSS

td.adp-substep:nth-child(2){
    display:none;
}
Comments