Setting GoogleMap.Options.zoom breaks ShowInfoWindow

0
0

Hi,

I may have found a bug.

I have a form with a Listview and a GoogleMap object, with listview items corresponding to map markers.

On clicking a listview item, it is supposed to center the map, zoom in, and show the infowindow for the marker.

However, calling mobjGoogleMap.Options.zoom = 19 breaks the ability for the InfoWindow to be displayed (and all future attempts to by clicking the markers manually.).  When that line is commented, the InfoWindow shows, but there is no zoom-in.

 

Code:

 

 Private Sub lvIssues_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lvIssues.SelectedIndexChanged
     Dim i As Integer = lvIssues.SelectedIndex
      If i = -1 Then Exit Sub
      Dim dblLat As Double = Me.ilIssues.issues(i).iLat
      Dim dblLon As Double = Me.ilIssues.issues(i).iLon
      Me.SetCoordinates(dblLat, dblLon) 'Set Coords
      Me.mobjGoogleMap.Options.zoom = 19 ' set high zoom level
      Me.mobjGoogleMap.Update() 'update map
      ShowInfoWindow(i) 
 End Sub

 

 

  • You must to post comments
0
0

Hi Andrew,

WJ-8166 is fixed in the latest Wisej release (1.3.47).

Best regards
Frank

  • You must to post comments
0
0

Thanks Andrew.

I have logged WJ-8166 for that issue.

Best regards
Frank

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.