Skip to content

Commit

Permalink
Display address in device location popup
Browse files Browse the repository at this point in the history
`addr` is part of the response for reverse geolocation lookups. `address` is already used in `LDeviceLocationPopup` and needs to be passed in from the map.

Closes #31
  • Loading branch information
saesh authored and linusg committed Mar 14, 2022
1 parent 3ea1d02 commit f5c1c82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
:regions="l.inregions"
:wifi="{ ssid: l.SSID, bssid: l.BSSID }"
:options="{ className: 'leaflet-popup--for-pin' }"
:address="l.addr"
/>
</LMarker>
</template>
Expand Down Expand Up @@ -92,6 +93,7 @@
:speed="l.vel"
:regions="l.inregions"
:wifi="{ ssid: l.SSID, bssid: l.BSSID }"
:address="l.addr"
></LDeviceLocationPopup>
</LCircleMarker>
</template>
Expand Down

0 comments on commit f5c1c82

Please sign in to comment.