diff --git a/samples/event-poi/index.ts b/samples/event-poi/index.ts index 6a6a19f8..f7b1d50b 100644 --- a/samples/event-poi/index.ts +++ b/samples/event-poi/index.ts @@ -31,7 +31,7 @@ async function initMap() { if (isIconMouseEvent(event) && event.placeId) { showInfoWindow(event, infowindow); } else { - // Otherwise, close the info window. + // Close the info window if there is no placeId. infowindow.close(); } });