Ok I am sorry but I have not got any server to upload my map !!!
I made some small change to my Javascript code so i only create the map ones
but still can not integrate my KMZ file within.
Any suggestions ???
------- CODE -------
*(function() {
window.onload = function() {
// Creating an object literal containing the properties
//you want to pass to the map
var options = {
zoom: 10,
center: new google.maps.LatLng(27.98002, 86.92154),
mapTypeId: google.maps.MapTypeId.SATELLITE,
//Scale bar
scaleControl: true,
// Now we will play with the maptype terrain menu !!!
mapTypeControl: true,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
position: google.maps.ControlPosition.TOP_RIGHT
//Types of maps available to the user
/* mapTypeIds: [
google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.SATELLITE
] */
}
//Navigation toolbar (zoom)
// DEN LEITOURGEI !!!
/* disableDefaultUI: true,
navigationControl: true,
navigationControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT,
} */
};
//Creating the map
var map = new google.maps.Map(document.getElementById('map'), options);
var ctaLayer = new
google.maps.KmlLayer('http://bbs.keyhole.com/ubb/ubbthreads.php?ubb=download&Number=981817&filename=Mount-Everest-tour.kmz');
ctaLayer.setMap(map);
//Street view enable
var options = {
zoom: 3,
center: new google.maps.LatLng(27.98002, 86.92154),
mapTypeId: google.maps.MapTypeId.SATELLITE,
streetViewControl: true
};
//BackGround Color
//Den leitourgei
var options = {
zoom: 3,
center: new google.maps.LatLng(27.98002, 86.92154),
mapTypeId: google.maps.MapTypeId.SATELLITE,
backgroundColor: '#000000'
};
// Adding a marker on the Summit Everest
var marker = new google.maps.Marker({
position: new google.maps.LatLng(27.98002, 86.92154),
map: map,
// ADDING a title to the Marker
title: ' Summit Everest',
icon: 'http://gmaps-samples.googlecode.com/svn/trunk/markers/blue/blank.png'
});
// Create Infowindow on the Marker Everest
var infowindow = new google.maps.InfoWindow({
content:'The Highest Summit on Earth'
});
// Create 'LISTENER' so the Marker can saw info
google.maps.event.addListener(marker, 'click' , function() {
// call the open method od the InfoWindow
infowindow.open(map, marker);
});
//TELOS TELOUS
};
})();*
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.