- Timestamp:
- 03/21/2019 11:46:12 AM (7 years ago)
- Location:
- trunk/webapps
- Files:
-
- 1 added
- 2 edited
-
cptms.html (modified) (1 diff)
-
images/cctv_unavailable.jpg (added)
-
js/cctvLayer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/cptms.html
r338 r339 213 213 <script src="js/controls.js"></script> 214 214 <script src="js/night_mode.js"></script> 215 <!-- Using John's API Key 215 <!-- Using John's API Key --> 216 216 <script async defer 217 217 src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD6iTyN0DjP-9OVkAgicyp4tkC10naE_B8&libraries=places&callback=initMap"> 218 </script> -->219 <!-- Project API Key -->218 </script> 219 <!-- Project API Key 220 220 <script async defer 221 221 src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCJuoPR3s6_qekC-GA1v5rvTcVocL3AXHE&libraries=places&callback=initMap"></script> 222 --> 222 223 <!-- 223 224 export GOOGLE_APPLICATION_CREDENTIALS="/home/<path to file>/TMC Simulator-c3ae15ddb96b.json" -
trunk/webapps/js/cctvLayer.js
r338 r339 40 40 { 41 41 var imgTag = '<IMG WIDTH="700" ONERROR=this.src="images/cctv_unavailable.jpg" SRC="images/'; 42 cctv_infowindow = new google.maps.InfoWindow(); 43 cctvLayer = new google.maps.Data(); 44 cctvLayer.loadGeoJson(kCCTVfile); 42 cctv_infowindow = new google.maps.InfoWindow(); // initial the singleton 43 cctvLayer = new google.maps.Data(); 44 cctvLayer.loadGeoJson(kCCTVfile); // load the features 45 45 // Define the clickable area on an icon (the default is too big) 46 46 var clickRegion = {coords: [0,0,14,8], type: "rect"}
Note: See TracChangeset
for help on using the changeset viewer.
