How to create an image in the calculation field from google street image API
I am trying to get a static google street image. The link is https://maps.googleapis.com/maps/api/streetview?size=600x300&location=@Property Address Map.
Can anyone help with this.
-
This is an example of a static image
2826-grants-river-circle-sugar-land-texas-77479 = will be in a property field in podio -
I am including a sample code below this. What I was looking for what their street view service where I can see an image of the location and be able to explore around the location. Wanted to know if that was possible?
function initialize() {
var fenway = new google.maps.LatLng(42.345573, -71.098326);// Note: constructed panorama objects have visible: true
// set by default.
var panoOptions = {
position: fenway,
addressControlOptions: {
position: google.maps.ControlPosition.BOTTOM_CENTER
},
linksControl: false,
panControl: false,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL
},
enableCloseButton: false
};var panorama = new google.maps.StreetViewPanorama(
document.getElementById('map-canvas'), panoOptions);
}google.maps.event.addDomListener(window, 'load', initialize);
Please sign in to leave a comment.
Comments
9 comments