Changeset 13489 in main
- Timestamp:
- 03/31/17 13:58:19 (5 years ago)
- Location:
- adopters/ky-epht/trunk/src/main/webapps/ehl-view
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
adopters/ky-epht/trunk/src/main/webapps/ehl-view/WEB-INF/config/leaflet_maps.xml
r13274 r13489 154 154 ,maxBounds: [[36.48, -82.3], [39.23, -89.8]] 155 155 ,zoom: 7 156 ,attributionControl: true 156 157 } 157 158 … … 229 230 } 230 231 }*/ 232 ,"general": 233 { 234 title: "" // if no title then no group title... 235 ,type: "base" // isBaseMap: true 236 ,layers: 237 { 238 "osm": 239 { 240 title: "Open Street Map" 241 ,type: "tile" 242 ,url: "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" 243 ,show: true 244 ,options: {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'} 245 } 246 ,"none": 247 { 248 title: "None" 249 ,type: "tile" 250 } 251 } 252 } 231 253 } 232 254 } … … 262 284 ,layers: 263 285 { 264 /*"default":265 { 266 title: "Open CycleMap"267 ,type: "tile" 268 ,url: "http://{s}.tile.open cyclemap.org/cycle/{z}/{x}/{y}.png"286 "osm": 287 { 288 title: "Open Street Map" 289 ,type: "tile" 290 ,url: "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" 269 291 ,show: true 270 ,options: null 271 } 272 ,*/ /*Commented out the open cycle and any layers other than none to get rid of api requested*/ 273 "none": 292 ,options: {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'} 293 } 294 ,"none": 274 295 { 275 296 title: "None" 276 ,type: "tile"277 }278 /*,"forest":279 {280 title: "Thunder Forest"281 297 ,type: "tile" 282 ,url: "http://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png" 283 }*/ 298 } 284 299 } 285 300 } … … 425 440 <JSON_OPTIONS/> 426 441 </MAP> 427 428 429 /*Deleted entire all layers section setting up a new all layers section same as no layers above*/430 442 431 443 <MAP> … … 458 470 ,layersControl: 459 471 { 460 461 472 /* L.Control.LayersPanel uses these definitions */ 462 473 layerGroups: … … 469 480 { 470 481 "default": 471 { 472 title: "Open Cycle Map" 473 ,type: "tile" 474 ,url: "http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png" 475 ,options: null 482 { 483 title: "Open Street Map" 484 ,type: "tile" 485 ,url: "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" 486 ,show: false 487 ,options: {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'} 476 488 } 477 489 ,"none": 478 490 { 479 491 title: "None" 480 ,type: "tile" 492 ,type: "tile" 481 493 ,show: true 482 494 } … … 500 512 } 501 513 } 514 /* 502 515 ,layers: 503 516 { … … 515 528 } 516 529 } 530 */ 517 531 } 518 532 -
adopters/ky-epht/trunk/src/main/webapps/ehl-view/css/_SiteSpecific-general.css
r12430 r13489 224 224 } 225 225 226 /*~~~~~~~~~~~~~~~~~Leaflet Map Attribution Placement~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 227 228 .leaflet-container .leaflet-control-attribution 229 { 230 margin-top: 28px; 231 } 232 233 .leaflet-control-attribution a:hover 234 { 235 background-color: transparent; 236 } 237 226 238 /*============================ End of Style Sheet ============================*/ 227 239
Note: See TracChangeset
for help on using the changeset viewer.