coastline |
title |
coastline
|
onZoomGeo |
0 |
/geodata/ne_110m/coastline
|
4 |
/geodata/ne_10m/coastline
|
9 |
FXX |
/geodata/route500/coastline
|
WLD |
/geodata/ne_10m/coastline
|
|
12 |
FXX |
/geodata/bdcarto/coastline
|
WLD |
/geodata/ne_10m/coastline
|
|
14 |
/geodata/bdtopo/coastline
|
19 |
null |
|
style |
color |
blue
|
weight |
2
|
opacity |
0.65
|
|
|
coastAdminBoundaryLines |
title |
coast + boundary lines
|
onZoomGeo |
0 |
/geodata/ne_110m/coastAdminBoundaryLines
|
5 |
/geodata/ne_10m/coastAdminBoundaryLines
|
9 |
FXX |
/geodata/route500/limite_administrative
|
WLD |
/geodata/ne_10m/coastAdminBoundaryLines
|
|
12 |
FXX |
/geodata/bdcarto/limite_administrative
|
WLD |
/geodata/ne_10m/coastAdminBoundaryLines
|
|
14 |
/geodata/bdtopo/coastline
|
19 |
null |
|
style |
function(feature) {
if (feature.properties.featurecla == 'Coastline') { // NE
return {color: 'blue', weight: 1};
} else if (feature.properties.nature == 'Limite côtière') { // Route500 + BDCarto
return {color: 'blue', weight: 1};
} else if (feature.properties.nature == 'Hautes mers') { // BDTopo
return {color: 'blue', weight: 1};
} else {
return {color: 'chocolate', weight: 1};
}
}
|
displayedByDefault |
1
|
|
populated_places |
title |
City and town points
|
onZoomGeo |
0 |
/geodata/ne_110m/populated_places_simple
|
5 |
/geodata/ne_10m/populated_places_simple
|
9 |
FXX |
/geodata/route500/noeud_commune
|
WLD |
/geodata/ne_10m/populated_places_simple
|
|
12 |
FXX |
/geodata/bdcarto/zone_habitat
|
WLD |
/geodata/ne_10m/populated_places_simple
|
|
14 |
/geodata/bdtopo/chef_lieu
|
19 |
null |
|
pointToLayer |
function(feature, latlng) {
var label = '';
if (feature.properties.nom) // bdtopo
label = feature.properties.nom;
else if (feature.properties.toponyme) // bdcarto
label = feature.properties.toponyme;
else if (feature.properties.nom_comm) // route500
label = feature.properties.nom_comm;
else if (feature.properties.name) // ne_10m + ne_110m
label = feature.properties.name;
var myIcon = L.icon({
iconUrl: '/yamldoc/label.php?color=DarkSlateGray&font=3&label='+label,
iconSize: [label.length7, 13],
iconAnchor: [label.length7/2, 6],
});
return L.marker(latlng, {icon: myIcon});
}
|
displayedByDefault |
1
|
|
rivers_lake_centerlines |
title |
Rivers and lake centerlines
|
onZoomGeo |
0 |
/geodata/ne_110m/rivers_lake_centerlines
|
5 |
/geodata/ne_10m/rivers_lake_centerlines_scale_rank
|
9 |
FXX |
/geodata/route500/troncon_hydrographique
|
WLD |
/geodata/ne_10m/rivers_lake_centerlines_scale_rank
|
|
12 |
FXX |
/geodata/bdcarto/troncon_hydrographique
|
WLD |
/geodata/ne_10m/rivers_lake_centerlines_scale_rank
|
|
14 |
/geodata/bdtopo/troncon_cours_eau
|
19 |
null |
|
style |
color |
darkBlue
|
weight |
1
|
opacity |
0.65
|
|
displayedByDefault |
1
|
|
roads |
title |
Routes
|
minZoom |
4
|
onZoomGeo |
4 |
/geodata/ne_10m/roads
|
9 |
FXX |
/geodata/route500/troncon_route
|
WLD |
/geodata/ne_10m/roads
|
|
12 |
FXX |
/geodata/bdcarto/troncon_route
|
WLD |
/geodata/ne_10m/roads
|
|
14 |
/geodata/bdtopo/route
|
19 |
null |
|
style |
color |
red
|
weight |
1
|
opacity |
0.65
|
|
displayedByDefault |
1
|
|
railroads |
title |
Voies ferrées
|
minZoom |
4
|
onZoomGeo |
4 |
/geodata/ne_10m/railroads
|
9 |
FXX |
/geodata/route500/troncon_voie_ferree
|
WLD |
/geodata/ne_10m/railroads
|
|
12 |
FXX |
/geodata/bdcarto/troncon_voie_ferree
|
WLD |
/geodata/ne_10m/railroads
|
|
14 |
/geodata/bdtopo/troncon_voie_ferree
|
19 |
null |
|
style |
color |
darkGrey
|
weight |
1
|
opacity |
0.65
|
|
displayedByDefault |
1
|
|
urban_areas |
title |
Espaces urbanisés
|
minZoom |
4
|
maxZoom |
13
|
onZoomGeo |
4 |
/geodata/ne_10m/urban_areas
|
9 |
FXX |
/geodata/route500/zone_batie
|
WLD |
/geodata/ne_10m/urban_areas
|
|
12 |
FXX |
/geodata/bdcarto/zone_batie_activites
|
WLD |
/geodata/ne_10m/urban_areas
|
|
14 |
null |
|
style |
color |
maroon
|
weight |
1
|
opacity |
0.65
|
|
displayedByDefault |
1
|
|