Click here to Skip to main content
15,885,067 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I'm working on my project by using google MAP API.

I'm using Google Directions API to show routes from A to B to C, etc.

And I added markers for each locations.

Now, I want to add a function, that if you click on each markers, information show up like slide side bar on a map.

How can I do that?

What I have tried:

I googled but I couldn't find solutions. T
Posted
Comments
Member 15329613 18-Oct-21 12:37pm    
Did you read the documentation to see if there is a marker click event?
lem0n2222 20-Oct-21 16:46pm    
Yes, I did. It seems there is no way to add slide bar in the map. So I just add the slide bar next to the map.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900