Fix url to maki icons
This commit is contained in:
@@ -15,8 +15,8 @@ function createMapboxStreetsV6Style() {
|
|||||||
var icon = iconCache[iconName];
|
var icon = iconCache[iconName];
|
||||||
if (!icon) {
|
if (!icon) {
|
||||||
icon = new ol.style.Style({image: new ol.style.Icon({
|
icon = new ol.style.Style({image: new ol.style.Icon({
|
||||||
src: '//raw.githubusercontent.com/mapbox/maki/mb-pages/renders/' +
|
src: 'https://cdn.rawgit.com/mapbox/maki/master/icons/' + iconName + '-15.svg',
|
||||||
iconName + '-12.png'
|
imgSize: [15, 15]
|
||||||
})});
|
})});
|
||||||
iconCache[iconName] = icon;
|
iconCache[iconName] = icon;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user