Rename ol.Map#requestRenderFrame to ol.Map#render

This commit is contained in:
Tom Payne
2014-02-20 16:31:43 +01:00
parent ebdb5dce22
commit a8f932fa07
18 changed files with 45 additions and 45 deletions
@@ -68,7 +68,7 @@ ol.interaction.KeyboardZoom.prototype.handleMapBrowserEvent =
(charCode == '+'.charCodeAt(0) || charCode == '-'.charCodeAt(0))) {
var map = mapBrowserEvent.map;
var delta = (charCode == '+'.charCodeAt(0)) ? this.delta_ : -this.delta_;
map.requestRenderFrame();
map.render();
// FIXME works for View2D only
var view = map.getView().getView2D();
ol.interaction.Interaction.zoomByDelta(