I have a asp.net 2.0 page that uses an Ajax tab containter and Reimers
Map inside a Formview. When using IE7 or Firefox, the google map does
not render fully and instead shows gray areas.

Here is a print: http://www.estaleiro.criativawd.info/mapa.gif

Any help would be appreciated

My code:

    Protected Sub FormView1_DataBound(ByVal sender As Object, ByVal e
As System.EventArgs)
        Dim args As New DataSourceSelectArguments
        Dim dv As DataView = DSDeslocacoes.Select(args)

        Dim goo As GoogleMap = CType(FormView1.FindControl
("GoogleMap1"), GoogleMap)
        goo.GoogleKey = ConfigurationManager.AppSettings
("googlemaps").ToString
        goo.ClearOverlays()
            Dim icon As New GoogleIcon
            icon.ID = "Maq"
            icon.Image = "../../../Images/maquina.gif"
            icon.AnchorPoint = New GooglePoint(20, 20)
            icon.InfoWindowAnchor = icon.AnchorPoint
            Dim i As Integer
            For i = 0 To dv.Count - 1
                Dim point = New GoogleLatLng(dv.Item(i).Row.Item(0),
dv.Item(i).Row.Item(1))
                goo.Center = point
                Dim gm1 As New GoogleMarker("mrkClick" & i, point)
                gm1.Options = New GoogleMarkerOptions(icon)
                gm1.ClientSideHandlers.OnClick = gm1.OpenInfoWindowHTML
(goo, "<div>hello</div>")
                Dim pl As New GooglePolyline
                pl.Color = System.Drawing.Color.Crimson
                pl.Width = 15
                pl.Opacity = 0.25
                pl.ID = "pl" & i
                pl.Points.Add(point)
                goo.Icons.Add(icon)
                goo.Overlays.Add(gm1)
                goo.Overlays.Add(pl)
            Next
        goo.Zoom = 8
        goo.MapControls.Add(New
Reimers.Map.Controls.GoogleSmallMapControl("smc"))
        goo.MapControls.Add(New
Reimers.Map.Controls.GoogleSmallMapTypeControl("smtc", New
Reimers.Map.Controls.GoogleControlPosition
(Reimers.Map.GoogleControlAnchor.G_ANCHOR_TOP_RIGHT, New
Reimers.Map.GoogleSize(15, 15))))
    End Sub



And:

<Reimers:GoogleMap ID="GoogleMap1" Width="755px" Height="349px"
runat="server"  DoubleClickZoomEnabled="true"  Zoom="8"
RegisterKeyHandlers="True"  AllowDragging="true"
AllowInfoWindow="true" />


Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to