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