Normal Topic Google Street View (Read 2634 times)
actiontech
Full Member
***
Offline



Posts: 173
Joined: Apr 10th, 2016
Google Street View
Jun 6th, 2016 at 1:24pm
Print Post Print Post  
Code
Select All
//Insert Google Street View Static Image from Google API

var r_hno as string
var r_add as string
var r_city as string
var r_zip as string

r_hno = @replace(H_No, " ", "+")
r_add = @replace(Address, " ", "+")
r_city = @replace(City, " ", "+")
r_zip = @replace(Zip, " ", "+")


Street View = "http://maps.googleapis.com/maps/api/streetview?"
	    + "size=274x165"
	    + "&location=" + r_hno + "%20" + r_add + "%20"                   + r_city + "%20" + r_zip
 



I believe the size is customizable up to 600x400 pixels. I used the same ratio. (1.5:1)
  
Back to top
 
IP Logged