<commit_before><template lang="pug">
  div(':class'="[$options.name]")
    vld-hero(':bold'="true" color="is-info")
      h1.title Feature
      h2.subtitle A vector object for geographic features

    section.section
      hr

      vld-markdown.
        ### vl-feature

        A vector object for geographic features with a geometry and other attribute properties,
        similar to the features in vector file formats like **GeoJSON**.

        Features can be placed inside components that are mixes in `featuresContainer` mixin such as: `vl-map`, `vl-source-vector` and etc.

        Features can be styled individually with `vl-style-*` placed inside default slot; otherwise they use the
        style of their vector layer.
      vld-cmp-api(':api'="featureApi")
</template>

<script>
  import { constant } from 'lodash/fp'
  import featureApi from '../../api/feature/feature'
  /* eslint-disable import/no-webpack-loader-syntax */
  /* eslint-enable import/no-webpack-loader-syntax */

  const computed = {
    featureApi: constant(featureApi),<commit_msg>docs: vl-feature page<commit_after><template lang="pug">
  div(':class'="[$options.name]")
    vld-hero(':bold'="true" color="is-info")
      h1.title Feature
      h2.subtitle Components for geographic features

    section.section
      vld-markdown.
        Module provides components to work with vector geographic features. Currently it consists of:
        - `vl-feature` - component to render one vector object

        Module has several entry files for different module systems, correct entry file will be resolved automatically
        according to local `package.json` file.
      vld-code(title="Install" lang="js").
        import Vue from 'vue'
        // import module and styles
        import { Feature } from 'vuelayers'
        // or
        import Feature from 'vuelayers/lib/feature'
        // import VueLayers styles
        import 'vuelayers/lib/style.css'
        // register vl-feature components
        Vue.use(Feature)

      hr

      vld-markdown.
        ### vl-feature

        A vector object for geographic features with a geometry and other attribute properties,
        similar to the features in vector file formats like **GeoJSON**.

        Features can be placed inside components that are mixes in `featuresContainer` mixin,
        such as: `vl-map`, `vl-source-vector` and etc.

        Features can be styled individually with `vl-style-*` placed inside default slot; otherwise they use the
        style of their vector layer.
      vld-cmp-api(':api'="featureApi")
</template>

<script>
  import { constant } from 'lodash/fp'
  import featureApi from '../../api/feature/feature'
  /* eslint-disable import/no-webpack-loader-syntax */
  /* eslint-enable import/no-webpack-loader-syntax */

  const computed = {
    featureApi: constant(featureApi),
{'fraction_non_alphanumeric': 0.1034965034965035, 'fraction_numerical': 0.0013986013986013986, 'mean_word_length': 2.8299866131191433, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1184538', 'n_tokens_mistral': 791, 'n_tokens_neox': 760, 'n_words': 265}