createMarker(position, i) {
    const top = position === 'absolute' ? 3 : -10;
    return (
      '<div ' +
      'class="ol-scale-step-marker" ' +
      'style="position: ' +
      position +
      ';' +
      'top: ' +
      top +
      'px;"' +
      '></div>'
    );
  }
/**
   * Creates a marker at given position
   * @param {string} position The position, absolute or relative
   * @param {number} i The iterator
   * @return {string} The stringified div containing the marker
   */
Creates a marker at given position
@param {string} position The position, absolute or relative
@param {number} i The iterator
@return {string} The stringified div containing the marker
Creates a marker at given position @param { string } position The position absolute or relative @param { number } i The iterator @return { string } The stringified div containing the marker
createMarker(position, i) {
    const top = position === 'absolute' ? 3 : -10;
    return (
      '<div ' +
      'class="ol-scale-step-marker" ' +
      'style="position: ' +
      position +
      ';' +
      'top: ' +
      top +
      'px;"' +
      '></div>'
    );
  }
createMarker ( position , i ) { const top = position === 'absolute' ? 3 : - 10 ; return ( '<div ' + 'class="ol-scale-step-marker" ' + 'style="position: ' + position + ';' + 'top: ' + top + 'px;"' + '></div>' ) ; }
Creates a marker at given position
 @param {string} position The position, absolute or relative
 @param {number} i The iterator
 @return {string} The stringified div containing the marker
Creates a marker at given position @param { string } position The position absolute or relative @param { number } i The iterator @return { string } The stringified div containing the marker