Make vector-labels example work in advanced mode

This commit is contained in:
Tom Payne
2014-03-23 19:19:09 +01:00
parent 06469ede50
commit 14cca5e2f9
2 changed files with 9 additions and 9 deletions

View File

@@ -195,17 +195,17 @@ var map = new ol.Map({
})
});
var refreshPoints = function() {
$('#refresh-points').click(function() {
vectorPoints.setStyle(createPointStyleFunction());
};
});
var refreshLines = function() {
$('#refresh-lines').click(function() {
vectorLines.setStyle(createLineStyleFunction());
};
});
var refreshPolygons = function() {
$('#refresh-polygons').click(function() {
vectorPolygons.setStyle(createPolygonStyleFunction());
};
});
/**