Open
Description
Hi, I tried to use custom marker info window.
First of all, Could you let me know proper way to implement this, since there is not clear instruction from documentation.
Anyway, I implemented like this, at least works on Android.
mapView.on('markerInfoWindow', (e: MarkerInfoEvent) => {
if (e.marker.userData.id === item.id) {
let infoTemplate: GridLayout = new GridLayout();
/* create a view that I want to customize manually */
...
e.view = infoTemplate;
});
marker.showInfoWindow();
At least works on Android but not on IOS.
Title & snippet from MarkerOptions, then IOS show the info on the marker.