|
Last change
on this file since 7672 was 7671, checked in by janveeden, 16 years ago |
|
Added comments to nodemapWL.js
|
|
File size:
480 bytes
|
| Line | |
|---|
| 1 | function initialize_map() {
|
|---|
| 2 | //Specify start position of the map
|
|---|
| 3 | var latlng = new google.maps.LatLng(52.162687, 4.493294);
|
|---|
| 4 | //Default settings for how the map starts out
|
|---|
| 5 | var myOptions = {
|
|---|
| 6 | zoom: 11,
|
|---|
| 7 | center: latlng,
|
|---|
| 8 | mapTypeId: google.maps.MapTypeId.ROADMAP
|
|---|
| 9 | };
|
|---|
| 10 | //Create the map using the settings from myOptions and placing it in the div mapcanvas
|
|---|
| 11 | var map = new google.maps.Map(document.getElementById("mapcanvas"), myOptions);
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.