<template>
  <div>
    comuniData: {{comuniData}}
    <div
      v-if="arrprovince"
      id="map"
      :style="`height:${myheight()}px; width:99%`"
    >
      <l-map :zoom="zoom" :center="center">
        <l-tile-layer :url="url"></l-tile-layer>
        <l-geo-json
          :geojson="comuniData"
          :options="{ style: styleFunction }"
        ></l-geo-json>
      </l-map>
    </div>
  </div>
</template>
<script lang="ts" src="./CMapComuni.ts">
</script>

<style lang="scss" scoped>
@import './CMapComuni.scss';
</style>
