Sub gmap_MarkerClick (SelectedMarker As Marker) As Boolean
Dim ngm As NativeObject = gmap
Dim infoWindowVisible As Boolean = True
If ngm.GetField("selectedMarker").IsInitialized Then
Dim current As Marker = ngm.GetField("selectedMarker")
If current.Title = SelectedMarker.Title Then infoWindowVisible = False
End If
If infoWindowVisible Then
Log("Snippet is shown")
Else
Log("Snippet is hidden")
End If
Return False
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.