source:
ntrip/trunk/BNC/src/map/html/init.js@
5166
Last change on this file since 5166 was 5164, checked in by , 11 years ago | |
---|---|
File size: 403 bytes |
Line | |
---|---|
1 | var map; |
2 | var markers= []; |
3 | var QtPlaces; |
4 | |
5 | var searchCircle; |
6 | |
7 | function initialize(x, y) |
8 | { |
9 | var myOptions = { |
10 | center: new google.maps.LatLng(x, y), |
11 | zoom: 8, |
12 | mapTypeId: google.maps.MapTypeId.ROADMAP, |
13 | panControl: true |
14 | }; |
15 | map = new google.maps.Map(document.getElementById("map_canvas"), myOptions) |
16 | //google.maps.event.addListener(map, "click", function() {} ) |
17 | } |
Note:
See TracBrowser
for help on using the repository browser.