Setting GoogleMap.Options.zoom breaks ShowInfoWindow

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
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
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json