Skip to content

Commit 15ca7bb

Browse files
fix add videolayer example config
1 parent 1caf6b4 commit 15ca7bb

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

examples/leaflet/ugc_spatialRelationship.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ <h5 class="panel-title text-center">空间关系</h5>
3939
<span class="input-group-addon">查找对象</span>
4040
<select id="positon" class="form-control">
4141
<option value="hasTouch">边界相触</option>
42-
<option value="isIdentical">完全相等</option>
4342
</select>
4443
</div>
4544
</div>
@@ -180,7 +179,13 @@ <h5 class="panel-title text-center">空间关系</h5>
180179
}
181180
});
182181
searchResults.forEach((item) => {
183-
res = L.geoJSON(item).addTo(map);
182+
res = L.geoJSON(item, {
183+
style: function() {
184+
return {
185+
color: 'green'
186+
}
187+
}
188+
}).addTo(map);
184189
resArr.push(res);
185190
});
186191
}

examples/mapboxgl/config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ var exampleConfig = {
189189
version: '11.2.0',
190190
thumbnail: "attributes.png",
191191
fileName: "02_attributes"
192+
},
193+
{
194+
name: "视频图层",
195+
name_en: "videoLayer",
196+
version: '11.2.0',
197+
thumbnail: "videoLayer.png",
198+
fileName: "videoLayer"
192199
}
193200
]
194201
},

examples/mapboxgl/img/videoLayer.png

127 KB
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy