Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

Google map control - address binding

I am trying this Google control from Codeplex. I am trying to bind it, why wouldn't it work? Please see below sample.

http://googlemap.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35111

Partial Class _Default
    Inherits System.Web.UI.Page

    Dim myarr As New ArrayList
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       '----------------------------------------------------------
       'This work fine
        'Dim myaddress As String = "33 New Montgomery St. San Francisco , CA 94105"
        'Me.GoogleMap2.Address = myaddress
        'Me.GoogleMap2.Markers.Clear()
        'Me.GoogleMap2.Markers.Add(New Artem.Web.UI.Controls.GoogleMarker(myaddress))
    '---------------------------------------------------



        myarr.Add("33 New Montgomery St. San Francisco , CA 94105")
        myarr.Add("757 Beach Street City: San Francisco 94109")
        Me.GoogleMap2.DataSource = myarr
        Me.GoogleMap2.DataBind()

    End Sub
End Class
0
VBdotnet2005
Asked:
VBdotnet2005
1 Solution
 
amar31282Commented:
i have not used this tool but you can u subgurim's google map tool thats very good for such functions..
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now