Google Maps

Google Map and Street View


function load() {
if (GBrowserIsCompatible()) {
var lat = -33.867141;
var lng = 151.207114;

var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(lat,lng), 15);

var infoTabs = [
new GInfoWindowTab("Address", "Sydney
NSW, Australia”),

// Place a marker in the center of the map and open the info window
var marker = new GMarker(map.getCenter());
GEvent.addListener(marker, “click”, function() {

var point = new GLatLng(lat,lng);
panoramaOptions = { latlng:point };
pano = new GStreetviewPanorama(document.getElementById(“streetview”), panoramaOptions);



Google Map

Street View


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: