Changeset 339 in tmcsimulator for trunk/webapps/js/cctvLayer.js


Ignore:
Timestamp:
03/21/2019 11:46:12 AM (7 years ago)
Author:
jdalbey
Message:

add cctv_unavailable.jpb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/js/cctvLayer.js

    r338 r339  
    4040{ 
    4141    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  
    4545    // Define the clickable area on an icon (the default is too big) 
    4646    var clickRegion = {coords: [0,0,14,8], type: "rect"}   
Note: See TracChangeset for help on using the changeset viewer.