Use requestRenderFrame in vector layer example
This commit is contained in:
@@ -68,7 +68,7 @@ var displayFeatureInfo = function(pixel) {
|
||||
highlight = undefined;
|
||||
}
|
||||
if (highlight !== oldHighlight) {
|
||||
map.render();
|
||||
map.requestRenderFrame();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user