<template>
  <div class="farm-map-container">
    <div class="deprecated-warning">
      <p>该组件已弃用，请使用 ThreeDMap.vue 组件替代</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'FarmMap',
  props: {
    height: {
      type: Number,
      default: 500,
      validator: value => value > 0
    },
    mapId: {
      type: String,
      default: 'farm-map'
    }
  }
}
</script>

<style scoped>
.farm-map-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 8px;
}

.deprecated-warning {
  text-align: center;
  color: #666;
  padding: 20px;
}

.deprecated-warning p {
  margin: 0;
  font-size: 16px;
}
</style>