text: import MapElement from '../mixins/MapElement'
  
  const boundProps = [
    'animation',
    'clickable',
    'cursor',
    'draggable',
    'icon',
    'label',
    'opacity',
    'place',
    'position',
    'shape',
    'title',
    'visible',
    'zIndex'
  ]
  
  const redirectedEvents = [
    'click',
    'rightclick',
    'dblclick',
    'drag',
    'dragstart',
    'dragend',
    'mouseup',
    'mousedown',
    'mouseover',
    'mouseout'
  ]
  
  export default {
    name: 'GoogleMapMarker',
    mixins: [MapElement],
    googleMapsElement: {
      boundProps,
      redirectedEvents
    },
    props: {
      tag: {
        type: String,
        default: 'div'
      },
      animation: {
        type: Number
      },
      clickable: Boolean,
      cursor: String,
      draggable: Boolean,
      icon: {
        type: [String, Object]
      },
      label: {
        type: [String, Object]
      },
      opacity: {
        type: Number,
        default: 1
      },
      place: {
        type: Object
      },
      position: {
        type: Object
      },
      shape: {
        type: Object
      },
      title: {
        type: String
      },
      visible: {
        type: Boolean,
        default: true
      },
      zIndex: {
        type: Number
      }
    },
  
    render (h) {
      if (!this.$slots.default || this.$slots.default.length === 0) {
        return ''
      } else if (this.$slots.default.length === 1) {
        // So that infoWindows can have a marker parent
        return this.$slots.default[0]
      } else {
        return h(this.tag, this.$slots.default)
      }
    }
  }
  