Add assert messages for all assertions up until ol.renderer.vector.
This commit is contained in:
@@ -64,7 +64,8 @@ goog.inherits(ol.interaction.PinchZoom, ol.interaction.Pointer);
|
||||
* @private
|
||||
*/
|
||||
ol.interaction.PinchZoom.handleDragEvent_ = function(mapBrowserEvent) {
|
||||
goog.asserts.assert(this.targetPointers.length >= 2);
|
||||
goog.asserts.assert(this.targetPointers.length >= 2,
|
||||
'length of this.targetPointers should be 2 or more');
|
||||
var scaleDelta = 1.0;
|
||||
|
||||
var touch0 = this.targetPointers[0];
|
||||
|
||||
Reference in New Issue
Block a user