-
Notifications
You must be signed in to change notification settings - Fork 8
PictometryPngMarker
andy.rothwell edited this page Aug 31, 2018
·
5 revisions
Note: This page is for documenting phila-vue-mapping's pictometry/PngMarker.vue, which is for adding a PngMarker to a pictometry widget.
There is also PngMarker, for adding a PngMarker to a leaflet map.
The <png-marker>
tag is put inside a <pictometry-widget>
tag:
<pictometry-widget v-if="this.shouldLoadPictometryWidget"
slot="pictWidget"
v-show="pictometryActive"
:apiKey="this.ak"
:secretKey="this.sk"
>
<png-marker v-if="this.cyclomediaActive && this.pictometryActive"
:latlng="cycloLatlng"
:icon="'camera2.png'"
:height="20"
:width="30"
:offsetX="-2"
:offsetY="-2"
/>
</pictometry-widget>
This is automatically included in a Mapboard app if pictometry is enabled:
pictometry: {
enabled: true,
},