On Apr 6, 1:58 pm, Iratus <[email protected]> wrote: > 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 ???
It works on Google Maps: http://maps.google.com/maps?client=gmail&q=http:%2F%2Fbbs.keyhole.com%2Fubb%2Fubbthreads.php%3Fubb%3Ddownload%26Number%3D981817%26filename%3DMount-Everest-tour.kmz&ie=UTF8&hl=en&z=6 Means it should work on your map. -- Larry > > ------- 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&... > 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.
