Skip to content

[@nativescript/google-maps] Marker info window not working on IOS #368

Open
@Woongsik

Description

@Woongsik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions