Changeset 5297 in ntrip
- Timestamp:
- Jun 28, 2013, 2:34:42 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/map_gm.html
r5256 r5297 15 15 var marker; 16 16 var zoom; 17 var useTrace;17 var dotSize; 18 18 var traceIcon; 19 19 20 function initialize(lat, lon, trace) { 21 22 useTrace = trace; 20 function initialize(lat, lon, mapWinSize) { 21 dotSize = mapWinSize; 23 22 24 23 var myOptions = { … … 43 42 null, 44 43 new google.maps.Point(1, 1), 45 new google.maps.Size( 2, 2)44 new google.maps.Size(dotSize, dotSize) 46 45 ); 47 46 … … 62 61 marker.setPosition(position); 63 62 64 if ( useTrace == 1) {63 if (dotSize > 0) { 65 64 var trace = new google.maps.Marker({ 66 65 map: map,
Note:
See TracChangeset
for help on using the changeset viewer.