Merge pull request #5361 from fredj/maki_url

Fix url to maki icons
This commit is contained in:
Frédéric Junod
2016-05-18 17:05:04 +02:00

View File

@@ -15,8 +15,8 @@ function createMapboxStreetsV6Style() {
var icon = iconCache[iconName];
if (!icon) {
icon = new ol.style.Style({image: new ol.style.Icon({
src: '//raw.githubusercontent.com/mapbox/maki/mb-pages/renders/' +
iconName + '-12.png'
src: 'https://cdn.rawgit.com/mapbox/maki/master/icons/' + iconName + '-15.svg',
imgSize: [15, 15]
})});
iconCache[iconName] = icon;
}