I am creating a web application on Google map api.I'm thinking of developing an app that allows me to search within a certain range in the place library and create my own directions by searching for routes with hits.
So I'd like to add a button to the infowind displayed on the marker and register it as a transit point, but I can't find a way to add a button to the infowind.
Please let me know the basic one.
javascript html5 api google-maps
How about setting it up on an InfoWindow class constructor?
var infowindow=newgoogle.maps.InfoWindow({
content: '<input type="button" value="click!"/>'
});
© 2024 OneMinuteCode. All rights reserved.