Changeset 335 in tmcsimulator for trunk/webapps/js/cctvLayer.js
- Timestamp:
- 03/19/2019 01:17:33 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/webapps/js/cctvLayer.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/js/cctvLayer.js
r326 r335 43 43 cctvLayer = new google.maps.Data(); 44 44 cctvLayer.loadGeoJson(kCCTVfile); 45 // Define the clickable area on an icon (the default is too big) 46 var clickRegion = {coords: [0,0,14,8], type: "rect"} 45 47 cctvLayer.setStyle(function(feature) 46 48 { … … 48 50 return { 49 51 icon: makecctvIcon(feature.getProperty("nearVDS")), 52 shape: clickRegion, 50 53 title: feature.getId() + " " +feature.getProperty('locationName'), 51 54 visible: false
Note: See TracChangeset
for help on using the changeset viewer.
