Skip to content

Commit 726d37c

Browse files
committed
fix(examples) Fix ESRI legend examples
1 parent 235c5a4 commit 726d37c

23 files changed

+920
-329
lines changed

examples/0209-layers-esri-legend-service-example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
overlays: {
104104
usa_pop: {
105105
name: "USA 2000-2010 Population Change",
106-
type: "dynamic",
106+
type: "agsDynamic",
107107
url: "http://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_1990-2000_Population_Change/MapServer",
108108
visible: true,
109109
layerOptions: {
@@ -113,7 +113,7 @@
113113
},
114114
usa_social: {
115115
name: "USA Social Vulnerability Index",
116-
type: "dynamic",
116+
type: "agsDynamic",
117117
url: "http://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Social_Vulnerability_Index/MapServer",
118118
visible: false,
119119
layerOptions: {

examples/0506-markers-groups-example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
</head>
113113
<body ng-controller="MarkersGroupController">
114114
<leaflet lf-center="london" markers="markers" layers="layers" height="480px" width="100%"></leaflet>
115-
<h1>This is a map with two hidden marker groups</h1>
116-
<p>Click here to hide or show the groups:</p>
115+
<h1>Marker groups</h1>
116+
<p>This is a map with two hidden marker groups, click here to hide or show the groups:</p>
117117
<button type="button" ng-click="toggleLayer('red')" class="btn btn-default">Red</button>
118118
<button type="button" ng-click="toggleLayer('blue')" class="btn btn-default">blue</button>
119119
</body>

0 commit comments

Comments
 (0)