简体   繁体   中英

Want to create the infowindow for the marker in google map

I want to create such kind of a marker which will display various info like table getting data from database,image,buttons,labels..etc but I am not able to do so, So my question is..Is there any other method rather than infowindow which should be opened when I click the respective Marker to perform my task? ,I have also worked on Modal Dailog Box and Also if I am making use of alert box but this is also not helping me,So any suggestion... Thanking all..

Clicking a marker does not have to create an infowindow. Clicking the marker triggers and event, and you can decide what happens next. This includes everything you said above

-Getting data from DB -Displaying images -Creating or deleting buttons

and much more.

Inside the event listener is where you want to put your new code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM