Add ol/pixel module for Pixel type

This commit is contained in:
Tim Schaub
2018-07-19 10:17:00 -06:00
parent f77b6be8e9
commit e5493d1288
21 changed files with 43 additions and 43 deletions

View File

@@ -1077,7 +1077,7 @@ class View extends BaseObject {
* Center on coordinate and view position.
* @param {module:ol/coordinate~Coordinate} coordinate Coordinate.
* @param {module:ol/size~Size} size Box pixel size.
* @param {module:ol~Pixel} position Position on the view to center on.
* @param {module:ol/pixel~Pixel} position Position on the view to center on.
* @api
*/
centerOn(coordinate, size, position) {