You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please forgive any incorrect terminology as I am new to TS.
The KmlMouseEvent type is not associated with the onClick prop for the KmlLayer component, and is not defined elsewhere.
KmlLayer returns a KmlMouseEvent when clicked.
Here is the interface from the Google Maps API types:
export interface KmlMouseEvent {
/**
* A <code>KmlFeatureData</code> object, containing information about the
* clicked feature.
*/
featureData: google.maps.KmlFeatureData | null;
/**
* The position at which to anchor an infowindow on the clicked feature.
*/
latLng: google.maps.LatLng | null;
/**
* The offset to apply to an infowindow anchored on the clicked feature.
*/
pixelOffset: google.maps.Size | null;
}
The text was updated successfully, but these errors were encountered:
Please forgive any incorrect terminology as I am new to TS.
The KmlMouseEvent type is not associated with the onClick prop for the KmlLayer component, and is not defined elsewhere.
KmlLayer returns a KmlMouseEvent when clicked.
Here is the interface from the Google Maps API types:
The text was updated successfully, but these errors were encountered: