I would like to be able to have button in InfoWindow. I have tried to use title instead of content as below:
map.addEventListener(GoogleMapsEvent.MAP_CLICK).subscribe((e) => {
let markerOptions: MarkerOptions = {
position: e,
title:"<button>Test</button",
draggable: true
};
map.addMarker(markerOptions).then((marker: Marker) => {
marker.showInfoWindow()
});
});
When I tested it in my android device, it just show the String '<button>Test</button>' without any button. Is there any missing or any other functions to do that?