examples/measure.js
function createHelpTooltip() {
  if (helpTooltipElement) {
    helpTooltipElement.parentNode.removeChild(helpTooltipElement);
  }
  helpTooltipElement = document.createElement('div');
  helpTooltipElement.className = 'ol-tooltip hidden';
  helpTooltip = new Overlay({
    element: helpTooltipElement,
    offset: [15, 0],
    positioning: 'center-left'
  });
  map.addOverlay(helpTooltip);
}
function createHelpTooltip() {
  if (helpTooltipElement) {
    helpTooltipElement.parentNode.removeChild(helpTooltipElement);
  }
  helpTooltipElement = document.createElement('div');
  helpTooltipElement.className = 'ol-tooltip hidden';
  helpTooltip = new Overlay({
    element: helpTooltipElement,
    offset: [15, 0],
    positioning: 'center-left'
  });
  map.addOverlay(helpTooltip);
}
function createHelpTooltip ( ) { if ( helpTooltipElement ) { helpTooltipElement . parentNode . removeChild ( helpTooltipElement ) ; } helpTooltipElement = document . createElement ( 'div' ) ; helpTooltipElement . className = 'ol-tooltip hidden' ; helpTooltip = new Overlay ( { element : helpTooltipElement , offset : [ 15 , 0 ] , positioning : 'center-left' } ) ; map . addOverlay ( helpTooltip ) ; }
Creates a new help tooltip
Creates a new help tooltip