Changeset 5246 in ntrip for trunk/BNC/src/map/map_gm.html
- Timestamp:
- Jun 17, 2013, 10:29:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/map_gm.html
r5245 r5246 15 15 var marker; 16 16 var zoom; 17 var useTrace; 17 18 18 function initialize(lat, lon ) {19 function initialize(lat, lon, trace) { 19 20 21 useTrace = trace; 22 20 23 var myOptions = { 21 24 center: new google.maps.LatLng(lat, lon), … … 49 52 map.setCenter(position); 50 53 marker.setPosition(position); 54 55 if (useTrace == 1) { 56 var trace = new google.maps.Marker({ 57 map: map, 58 position: new google.maps.LatLng(lat, lon), 59 }); 60 } 51 61 } 52 62 </script>
Note:
See TracChangeset
for help on using the changeset viewer.