Sub gmap_MarkerClick(SelectedMarker As Marker) As BooleanDim ngm As NativeObject = gmap
Dim infoWindowVisible As Boolean = TrueIf ngm.GetField("selectedMarker").IsInitialized ThenDim current As Marker = ngm.GetField("selectedMarker")
If current.Title = SelectedMarker.Title Then infoWindowVisible = FalseEndIfIf infoWindowVisible ThenLog("Snippet is shown")
ElseLog("Snippet is hidden")
EndIfReturnFalseEndSub
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.