Merge pull request #2155 from probins/rendersync

Document Map.render() and Map.renderSync()
This commit is contained in:
Éric Lemoine
2014-06-02 14:08:44 +02:00
+3 -2
View File
@@ -1068,7 +1068,7 @@ ol.Map.prototype.isRendered = function() {
/** /**
* Render. * Requests an immediate render in a synchronous manner.
* @todo api * @todo api
*/ */
ol.Map.prototype.renderSync = function() { ol.Map.prototype.renderSync = function() {
@@ -1077,7 +1077,8 @@ ol.Map.prototype.renderSync = function() {
/** /**
* Request that renderFrame_ be called some time in the future. * Requests a render frame; rendering will effectively occur at the next browser
* animation frame.
* @todo api * @todo api
*/ */
ol.Map.prototype.render = function() { ol.Map.prototype.render = function() {