Remove bundling magic for Mapbox styles script
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable openlayers-internal/no-unused-requires */
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.format.MVT');
|
||||
@@ -46,7 +45,7 @@ var map = new ol.Map({
|
||||
}),
|
||||
tileUrlFunction: tileUrlFunction
|
||||
}),
|
||||
style: createMapboxStreetsV6Style()
|
||||
style: createMapboxStreetsV6Style(ol.style.Style, ol.style.Fill, ol.style.Stroke, ol.style.Icon, ol.style.Text)
|
||||
})
|
||||
],
|
||||
target: 'map',
|
||||
@@ -56,6 +55,3 @@ var map = new ol.Map({
|
||||
zoom: 2
|
||||
})
|
||||
});
|
||||
|
||||
// ol.style.Fill, ol.style.Icon, ol.style.Stroke, ol.style.Style and
|
||||
// ol.style.Text are required for createMapboxStreetsV6Style()
|
||||
|
||||
Reference in New Issue
Block a user