Link to home
Start Free TrialLog in
Avatar of mugsinc
mugsincFlag for Sri Lanka

asked on

Google maps v3 customize the directions panel

how can i customize the directions panel with css , this is the demo i am trying to customize

http://code.google.com/apis/maps/documentation/javascript/examples/directions-panel.html
Avatar of Member_2_4694817
Member_2_4694817

Maybe this helps you, that's how I once solved the problem:
http://www.redeker.de/CSS/googlemaps.css
Note that id="Fahrhinweise" is the div I let Google place the driving dirctions and the main trick is to use the #Fahrhinweise selector to make rules specifically for driving directions, i.e. I have
new GDirections(map,document.getElementById("Fahrhinweise"))
somewehre in my js code.

Use DOM inspector to find out about the structure and see what you wnat to restyle.

Note that you MUST NOT use css to visibly remove warning hints Google adds (e.g. for pedestrians that might cross a motorway)
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mugsinc

ASKER

it works