Skip to content

Setting GoogleMap.Options.zoom breaks ShowInfoWindow #734

Closed

Description

@itg-assistant

Andrew Niese asked 2017-03-27 19:09:19 UTC

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

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-03-28 12:51:30 UTC

    Thanks Andrew.

    I have logged WJ-8166 for that issue.

    Best regards
    Frank

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-04-06 05:56:43 UTC

    Hi Andrew,

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

    Best regards
    Frank

  3. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions