text: import Path from './Path';
  
  export default {
    mixins: [Path],
    props: {
      smoothFactor: {
        type: Number,
        custom: true,
        default: 1.0
      },
      noClip: {
        type: Boolean,
        custom: true,
        default: false
      }
    },
    data () {
      return {
        ready: false
      };
    },
    mounted () {
      this.polyLineOptions = {
        ...this.pathOptions,
        smoothFactor: this.smoothFactor ? this.smoothFactor : undefined,
        noClip: this.noClip
      };
    },
    methods: {
      setLStyle (newVal, oldVal) {
        if (newVal === oldVal) return;
        this.mapObject.setStyle(newVal);
      },
      setSmoothFactor (newVal, oldVal) {
        if (newVal === oldVal) return;
        if (newVal) {
          this.mapObject.setStyle({ smoothFactor: newVal });
        }
      },
      setNoClip (newVal, oldVal) {
        if (newVal === oldVal) return;
        if (newVal) {
          this.mapObject.setStyle({ noClip: newVal });
        }
      },
      addLatLng (value) {
        this.mapObject.addLatLng(value);
      }
    }
  };
  