lib/PbfSplicer.js
function PbfSplicer(options) {
  // tag which will be auto-removed and auto-injected. Usually 'name'
  this.nameTag = options.nameTag;
  // tag that contains JSON initially, and which works as a prefix for multiple values
  this.multiTag = options.multiTag;

  // If options.namePicker is given, this class converts multiple language tags into one
  // Otherwise, it assumes that a single name_ tag exists with JSON content, and it will replace
  // it with multiple tags "name_en", "name_fr", ... depending on the JSON language codes
  this.namePicker = options.namePicker;

  // Flag to make requested_name (local_name) form
  this.combineName = options.combineName;
}
function PbfSplicer(options) {
  // tag which will be auto-removed and auto-injected. Usually 'name'
  this.nameTag = options.nameTag;
  // tag that contains JSON initially, and which works as a prefix for multiple values
  this.multiTag = options.multiTag;

  // If options.namePicker is given, this class converts multiple language tags into one
  // Otherwise, it assumes that a single name_ tag exists with JSON content, and it will replace
  // it with multiple tags "name_en", "name_fr", ... depending on the JSON language codes
  this.namePicker = options.namePicker;

  // Flag to make requested_name (local_name) form
  this.combineName = options.combineName;
}
function PbfSplicer ( options ) { // tag which will be auto-removed and auto-injected. Usually 'name' this . nameTag = options . nameTag ; // tag that contains JSON initially, and which works as a prefix for multiple values this . multiTag = options . multiTag ; // If options.namePicker is given, this class converts multiple language tags into one // Otherwise, it assumes that a single name_ tag exists with JSON content, and it will replace // it with multiple tags "name_en", "name_fr", ... depending on the JSON language codes this . namePicker = options . namePicker ; // Flag to make requested_name (local_name) form this . combineName = options . combineName ; }
Transform vector tile tags
@param {object} options
@param {string} options.nameTag
@param {string} options.multiTag
@param {LanguagePicker} [options.namePicker]
@constructor
Transform vector tile tags