Changeset 12445 in main
- Timestamp:
- 12/05/16 11:53:42 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
adopters/ky-epht/trunk/src/main/webapps/ehl-view/WEB-INF/config/leaflet_maps.xml
r12340 r12445 387 387 { 388 388 } 389 } */ // Don't forget to add comma in front of GeoLHD if GeoCnty is commented out 389 } // Don't forget to add comma in front of GeoLHD if GeoCnty is commented out 390 390 391 "GeoLHD": 391 392 { … … 395 396 { 396 397 } 397 } 398 } */ 398 399 } 399 400 } … … 404 405 </MAP> 405 406 406 <MAP> 407 <NAME>ADDs</NAME> //THIS IS THE DEFAULT MAP CONFIGURATION, if a map configuration is not specified // 408 <TITLE>ADDs</TITLE> 409 <DESCRIPTION>Includes core base map and layer options</DESCRIPTION> 410 <SORT_ORDER>0</SORT_ORDER> 411 <ACTIVE_FLAG>x</ACTIVE_FLAG> 412 <JSON_OPTIONS> 413 { 414 layersControl: 415 { 416 layerGroups: 417 { 418 "general": 419 { 420 title: "" // if no title then no group title... 421 ,type: "base" // isBaseMap: true 422 ,layers: 423 { 424 "default": 425 { 426 title: "Open Cycle Map" 427 ,type: "tile" 428 ,url: "http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png" 429 ,show: true 430 ,options: null 431 } 432 ,"none": 433 { 434 title: "None" 435 ,type: "tile" 436 } 437 ,"forest": 438 { 439 title: "Thunder Forest" 440 ,type: "tile" 441 ,url: "http://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png" 442 } 443 } 444 } 445 /* uncomment this section if you want an overlay of roads, must supply the .json you want */ 446 /* 447 ,"roads": 448 { 449 title: "Roads" 450 ,type: "overlay" 451 ,defaultOptions: 452 { 453 style: 454 { 455 dashArray: "4,5" 456 ,color: "#000" 457 ,weight: 3 458 ,opacity: 0.75 459 } 460 } 461 ,layers: 462 { 463 "interstates": 464 { 465 title: "Interstates" 466 ,url: "view/json/map/GeoRoadsInterstate.json" 467 ,options: 468 { 469 style: 470 { 471 color: "red" 472 } 473 } 474 } 475 } 476 } 477 */ 478 /* uncomment this section if you want an overlay of water (lakes, rivers, etc - must supply the .json you want */ 479 /* 480 ,"water": 481 { 482 title: "Water" 483 ,type: "overlay" 484 ,layers: 485 { 486 "main": 487 { 488 title: "Water" 489 ,url: "view/json/map/GeoWater.json" 490 ,show: true 491 ,options: 492 { 493 style: 494 { 495 dashArray: "" 496 ,color: "blue" 497 ,weight: 2 498 ,opacity: 0.5 499 } 500 } 501 } 502 } 503 } 504 */ 505 /* uncomment this section if you want an overlay of certain points, likc cities - etc - must supply the .json you want */ 506 /* 507 ,"points": 508 { 509 title: "Points" 510 ,type: "overlay" 511 ,layers: 512 { 513 "cities": 514 { 515 title: "Cities" 516 ,type: "interactive" 517 ,url: "view/json/map/GeoCity2500.json" 518 ,show: false 519 ,options: 520 { 521 pointToLayer: function(feature, latlng) 522 { 523 return new L.marker(latlng, 524 { 525 icon: new L.divIcon( {html: " ", className: "GeoIconMarker GeoCityIconMarker"} ) 526 } 527 ); 528 } 529 } 530 } 531 } 532 } 533 */ 534 535 ,"labels": // This is used for layers that label areas like counties // 536 { 537 title: "Labels" 538 ,layers: 539 { 540 /* 541 "GeoCnty": // Don't hink thereis room to label kentucky counties, maybe just have an ADD label layer 542 543 { 544 title: "County" 545 ,url: "view/json/map/GeoCntyLabel.json" 546 ,options: 547 { 548 } 549 } */ // Don't forget to add comma in front of GeoLHD if GeoCnty is commented out 550 "GeoLHD": 551 { 552 title: "Region" 553 ,url: "view/json/map/GeoLHDLabel.json" 554 ,options: 555 { 556 } 557 } 558 } 559 } 560 } 561 } 562 } 563 </JSON_OPTIONS> 564 </MAP> 407 565 408 566 409 <MAP>
Note: See TracChangeset
for help on using the changeset viewer.