Skip to content

Commit

Permalink
Merge pull request OpenGeoscience#1091 from OpenGeoscience/fix-typos
Browse files Browse the repository at this point in the history
Fix a few minor typos.
  • Loading branch information
manthey authored Jun 8, 2021
2 parents 7dd9526 + 37ea086 commit 3dc5c77
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ var layer = function (arg) {
/**
* Get/Set if the layer has been initialized.
*
* @param {boolean} [val] If specified, update the intialized value.
* @param {boolean} [val] If specified, update the initialized value.
* Otherwise, return the current instance.
* @returns {boolean|this} Either the initialized value or this.
*/
Expand Down Expand Up @@ -448,9 +448,9 @@ var layer = function (arg) {

/**
* Get or set the attribution html content that will displayed with the
* layer. By default, nothing will be displayed. Note, this content
* is **not** html escaped, so care should be taken when renderering
* user provided content.
* layer. By default, nothing will be displayed. Note, this content is
* **not** html escaped, so care should be taken when rendering user provided
* content.
*
* @param {string?} arg An html fragment
* @returns {string|this} Chainable as a setter
Expand Down Expand Up @@ -606,7 +606,7 @@ var layer = function (arg) {
/**
* Get or set the current layer opacity. The opacity is in the range [0-1].
* An opacity of 0 is not the same as setting `visible(false)`, as
* interactions can still occurr with the layer.
* interactions can still occur with the layer.
*
* @param {number} [opacity] If specified, set the opacity. Otherwise,
* return the opacity.
Expand Down
2 changes: 1 addition & 1 deletion src/svg/vectorFeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ var svg_vectorFeature = function (arg) {
m_style.classes = ['svgVectorFeature'];
m_style.visible = m_this.visible;

// Add markers to the defition list
// Add markers to the definition list
updateMarkers(data, s_style.strokeColor, s_style.strokeOpacity, s_style.originStyle, s_style.endStyle);

// pass to renderer to draw
Expand Down
6 changes: 3 additions & 3 deletions src/tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ var tile = function (spec) {
};

/**
* Return a unique string representation of the given tile useable as a
* hash key. Possibly extend later to include url information to make
* caches aware of the tile source.
* Return a unique string representation of the given tile useble as a hash
* key. Possibly extend later to include url information to make caches
* aware of the tile source.
*
* @returns {string}
*/
Expand Down

0 comments on commit 3dc5c77

Please sign in to comment.