-
Notifications
You must be signed in to change notification settings - Fork 8
PictometryWidget
andy.rothwell edited this page Aug 31, 2018
·
2 revisions
MapPanel.vue:
<slot class='widget-slot' name="pictWidget" />
Mapboard.vue:
<pictometry-widget v-if="this.shouldLoadPictometryWidget"
slot="pictWidget"
v-show="pictometryActive"
:apiKey="this.ak"
:secretKey="this.sk"
>
<png-marker v-if="this.pictometryShowAddressMarker"
:latlng="[this.geocodeData.geometry.coordinates[1], this.geocodeData.geometry.coordinates[0]]"
:icon="'markers.png'"
:height="60"
:width="40"
:offsetX="0"
:offsetY="0"
/>
<layer v-if="this.pictometryActive" />
<png-marker v-if="this.cyclomediaActive && this.pictometryActive"
:latlng="cycloLatlng"
:icon="'camera2.png'"
:height="20"
:width="30"
:offsetX="-2"
:offsetY="-2"
/>
<view-cone v-if="this.cyclomediaActive && this.pictometryActive"
:latlng="cycloLatlng"
:rotationAngle="cycloRotationAngle"
:hFov="cycloHFov"
/>
</pictometry-widget>
pictometry: {
enabled: true,
},