Open Woongsik opened 1 year ago
Hello @Woongsik . Thanks for those details. I believe you apply your custom view the right way. We'll try to reproduce and fix it on iOS.
Is there any news regarding this bug? I have similar approach using
<map:MapView row="0" col="0" width="100%" id="map" ready="{{onReady}}"
markerInfoWindow="{{onMarkerInfoWindow}}"
infoWindowTap="{{onInfoWindowTap}}"
markerTap="{{onMarkerTap}}"
infoWindowClose="{{ onInfoWindowClose}}">
</map:MapView>
Works well on android, ios don't.
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 / ...
});
marker.showInfoWindow();
At least works on Android but not on IOS. Title & snippet from MarkerOptions, then IOS show the info on the marker.