Changeset c5b13e1 for src/webapp/webserver/js
- Timestamp:
- Jan 20, 2019, 5:21:35 PM (8 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 74c3571
- Parents:
- 46f871f
- File:
-
- 1 edited
-
src/webapp/webserver/js/GnuBoat.Webserver.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webserver/js/GnuBoat.Webserver.js
r46f871f rc5b13e1 46 46 47 47 // add GNUBoat layers 48 var layer_gnuboat_ hillshade= L.tileLayer(49 './tiles/ hillshade/{z}/{x}/{y}.png',50 {tms: true, opacity: 0. 2, zIndex: 98, attribute: '© <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'}48 var layer_gnuboat_accuracy_low = L.tileLayer( 49 './tiles/gnuboat_10_100/{z}/{x}/{y}.png', 50 {tms: true, opacity: 0.5, zIndex: 98, attribute: '© <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'} 51 51 ); 52 var layer_gnuboat_color_relief= L.tileLayer( 53 'tiles/color_relief/{z}/{x}/{y}.png', 54 {tms: true, opacity: 0.4, zIndex: 99, attribute: '© <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'} 55 ); 56 var layer_gnuboat_slopeshade = L.tileLayer( 57 'tiles/slopeshade/{z}/{x}/{y}.png', 58 {tms: true, opacity: 0.2, zIndex: 97, attribute: '© <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'} 59 ); 60 var layer_gnuboat_group = L.layerGroup([layer_gnuboat_color_relief, layer_gnuboat_hillshade, layer_gnuboat_slopeshade]).addTo(GnuBoat.Webserver.private.map); 52 var layer_gnuboat_accuracy_high = L.tileLayer( 53 './tiles/gnuboat_100_100/{z}/{x}/{y}.png', 54 {tms: true, opacity: 0.5, zIndex: 98, attribute: '© <a href="http://gnuboat.engsas.de">GNUBoat</a> contributors'} 55 ).addTo(GnuBoat.Webserver.private.map); 61 56 62 57 // add layer control … … 66 61 // overlays 67 62 var overlays = {"Seamarks": layer_openseamap, 68 "GNUBoat": layer_gnuboat_group, 69 // "GNUBoat Hillshade": layer_gnuboat_hillshade, 70 // "GNUBoat Color Relief": layer_gnuboat_color_relief, 71 // "GNUBoat Slopeshade": layer_gnuboat_slopeshade, 63 "GNUBoat Low Accuracy": layer_gnuboat_accuracy_low, 64 "GNUBoat High Accuracy": layer_gnuboat_accuracy_high, 72 65 }; 73 66 GnuBoat.Webserver.private.mapControl = L.control.layers(
Note:
See TracChangeset
for help on using the changeset viewer.
