- Timestamp:
- Jun 8, 2013, 12:15:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/html/mapview.js
r5172 r5173 15 15 16 16 marker = new google.maps.Marker({ 17 map: map, 18 position: new google.maps.LatLng(lat, lon), 19 title: "X", 20 // animation: google.maps.Animation.DROP, 21 // icon: jsonObj.icon 17 map: map, 18 position: new google.maps.LatLng(lat, lon), 19 // icon: jsonObj.icon 22 20 }); 23 24 //google.maps.event.addListener(map, "click", function() {} )25 21 } 26 22 … … 31 27 } 32 28 33 // function appendMarker(jsonObj)34 // {35 // var marker = new google.maps.Marker({36 // position: new google.maps.LatLng( jsonObj.geometry.location.lat, jsonObj.geometry.location.lng ),37 // map: map,38 // title: jsonObj.name,39 // animation: google.maps.Animation.DROP,40 // icon: jsonObj.icon41 // });42 //43 // google.maps.event.addListener(marker, 'click', function() {44 // QtPlaces.markerClicked( jsonObj['reference'] )45 // });46 //47 // markers.push(marker)48 // }49 //50 // function gotoPlace(json, zoom)51 // {52 // map.setCenter( new google.maps.LatLng( json.geometry.location.lat, json.geometry.location.lng ) )53 // map.setZoom(zoom)54 // }55
Note:
See TracChangeset
for help on using the changeset viewer.