Merge pull request #3232 from stweil/master
Fix typos found by codespell.
This commit is contained in:
@@ -216,7 +216,7 @@ ol.Collection.prototype.push = function(elem) {
|
||||
|
||||
|
||||
/**
|
||||
* Removes the first occurence of elem from the collection.
|
||||
* Removes the first occurrence of elem from the collection.
|
||||
* @param {T} elem Element.
|
||||
* @return {T|undefined} The removed element or undefined if elem was not found.
|
||||
* @api stable
|
||||
|
||||
@@ -159,7 +159,7 @@ ol.coordinate.degreesToStringHDMS_ = function(degrees, hemispheres) {
|
||||
* that will be replaced by first and second coordinate values.
|
||||
* @param {number=} opt_fractionDigits The number of digits to include
|
||||
* after the decimal point. Default is `0`.
|
||||
* @return {string} Formated coordinate.
|
||||
* @return {string} Formatted coordinate.
|
||||
* @api stable
|
||||
*/
|
||||
ol.coordinate.format = function(coordinate, template, opt_fractionDigits) {
|
||||
|
||||
@@ -28,7 +28,7 @@ ol.DeviceOrientationProperty = {
|
||||
*
|
||||
* Many new computers, and especially mobile phones
|
||||
* and tablets, provide hardware support for device orientation. Web
|
||||
* developers targetting mobile devices will be especially interested in this
|
||||
* developers targeting mobile devices will be especially interested in this
|
||||
* class.
|
||||
*
|
||||
* Device orientation data are relative to a common starting point. For mobile
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// FIXME recheck layer/map projection compatability when projection changes
|
||||
// FIXME recheck layer/map projection compatibility when projection changes
|
||||
// FIXME layer renderers should skip when they can't reproject
|
||||
// FIXME add tilt and height?
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ ol.pointer.TouchSource.prototype.touchToPointer_ =
|
||||
// Touch identifiers can start at 0.
|
||||
// Add 2 to the touch identifier for compatibility.
|
||||
e.pointerId = inTouch.identifier + 2;
|
||||
// TODO: check if this is neccessary?
|
||||
// TODO: check if this is necessary?
|
||||
//e.target = findTarget(e);
|
||||
e.bubbles = true;
|
||||
e.cancelable = true;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @license
|
||||
* Latitude/longitude spherical geodesy formulae taken from
|
||||
* http://www.movable-type.co.uk/scripts/latlong.html
|
||||
* Licenced under CC-BY-3.0.
|
||||
* Licensed under CC-BY-3.0.
|
||||
*/
|
||||
|
||||
// FIXME add intersection of two paths given start points and bearings
|
||||
|
||||
Reference in New Issue
Block a user