-
// GalleryComponent.vue let localMapStore; if (inBrowser && localMapStore == null) { localMapStore = mapStore(); localMapStore.$subscribe((mutation, state) => { const {payload} = mutation; const {selectedImageIndex} = payload; // open the selected photo within the photo gallery if (selectedImageIndex != undefined) { handleGalleryOpen(selectedImageIndex) } }) } /* ... */ const handleGalleryOpen = (index) => { // from https://github.com/hzpeng57/vue-preview-imgs/blob/master/packages/example/src/App.vue lightbox.loadAndOpen(parseInt(index, 10)); };
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
I display my photos on page using PhotoSwipe and I use leaflet to handle geographical maps. From technical point of view I display on map:
-
I display my photos on page using PhotoSwipe and I use leaflet to handle geographical maps. From technical point of view I display on map: