Merge pull request #5196 from ahocevar/batch-fill-stroke

Batch polygon and circle fills and strokes
This commit is contained in:
Andreas Hocevar
2016-08-24 12:02:52 +02:00
committed by GitHub
14 changed files with 438 additions and 26 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ var style = new ol.style.Style({
var vector = new ol.layer.Vector({
source: new ol.source.Vector({
url: 'data/topojson/world-110m.json',
format: new ol.format.TopoJSON()
format: new ol.format.TopoJSON(),
overlaps: false
}),
style: function(feature) {
// don't want to render the full world polygon, which repeats all countries