Rename ol.Map#requestRenderFrame to ol.Map#render
This commit is contained in:
@@ -87,7 +87,7 @@ var displaySnap = function(coordinate) {
|
||||
line.setCoordinates([coordinate, closestPoint]);
|
||||
}
|
||||
}
|
||||
map.requestRenderFrame();
|
||||
map.render();
|
||||
};
|
||||
|
||||
$(map.getViewport()).on('mousemove', function(evt) {
|
||||
|
||||
Reference in New Issue
Block a user