open google maps address on street view mode (1 Viewer)

cpampas

Registered User.
Local time
Today, 06:17
Joined
Jul 23, 2012
Messages
218
Hello,
I am wondering if the following is posible? while opening a googlemaps address with the code :

Code:
strCode="40.116260, -8.243384"
strURL = "http://maps.google.com/maps?hl=en&q=" & strCode
    Application.FollowHyperlink strURL

Is it posible to open the map zooming into the location in street view ?
Appreciatte your help
 

cpampas

Registered User.
Local time
Today, 06:17
Joined
Jul 23, 2012
Messages
218
I the meantime I found a way that works as intended

Code:
    Dim strGPS         As String
    Dim strURL         As String

    If IsNull(Me.gps) Then 'Ensure we have a gps code to get a map from
        MsgBox "This record does not have a gps code", vbCritical
        Exit Sub
    End If


    strGPS = Me.gps  ' gps coordinates
    strURL = "http://maps.google.com/maps?q=&layer=c&cbll=****&cbp=11,0,0,0,0"
    strURL = Replace(strURL, "****", strGPS)
    fHandleFile strURL, WIN_NORMAL

of course fHandle , is the well know Dev Ashish function
 

Users who are viewing this thread

Top Bottom