Move top-level typedefs to typedefs.js

With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
This commit is contained in:
Peter Robins
2016-05-04 12:05:41 +00:00
parent d6395a3c82
commit 535e8f5e35
43 changed files with 293 additions and 326 deletions

View File

@@ -20,7 +20,6 @@ goog.require('ol.MapEventType');
goog.require('ol.Object');
goog.require('ol.ObjectEvent');
goog.require('ol.ObjectEventType');
goog.require('ol.Pixel');
goog.require('ol.RendererType');
goog.require('ol.TileQueue');
goog.require('ol.View');
@@ -1443,19 +1442,6 @@ ol.Map.prototype.unskipFeature = function(feature) {
};
/**
* @typedef {{controls: ol.Collection.<ol.control.Control>,
* interactions: ol.Collection.<ol.interaction.Interaction>,
* keyboardEventTarget: (Element|Document),
* logos: (Object.<string, (string|Element)>),
* overlays: ol.Collection.<ol.Overlay>,
* rendererConstructor:
* function(new: ol.renderer.Map, Element, ol.Map),
* values: Object.<string, *>}}
*/
ol.MapOptionsInternal;
/**
* @param {olx.MapOptions} options Map options.
* @return {ol.MapOptionsInternal} Internal map options.