Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
9c61c0f
Create README.md
apjmason Mar 5, 2019
f886175
set base map and extent to Rome
apjmason Mar 5, 2019
bb67cdc
changes and small modifications; mostly testing
May 25, 2019
c822838
adds comments and changes button text
May 25, 2019
a179773
transfered TourBuilder files to MallMap plugin; the back-end is in pr…
May 25, 2019
fc1abe9
successfully makes the back-end work by changing tour-builder in rout…
May 25, 2019
8e8ae3b
makes public tours appear in the dropdown menu of the map
May 25, 2019
67ac350
now tour items must have geolocationsto be added to the map
May 28, 2019
00a8ac9
items with locations can now be filtered by tour
May 28, 2019
a11f83f
removes alerts, remove test code from form.php
May 28, 2019
3a0bdaf
adds line between markers in a tour
May 30, 2019
16bc9ee
changes color of line to blue
alexanderlewis99 May 30, 2019
6f5710a
changes to blue
alexanderlewis99 May 30, 2019
105fee9
fixes error on install
Apr 15, 2021
4a18e2b
no real updates
May 5, 2021
483f705
Comment out additional simple vocab filters
apjmason May 6, 2021
7524e37
Cleaned up leaflet libraries
apjmason May 6, 2021
bf514a4
added walking tours
May 26, 2021
69d36c2
few comments
May 26, 2021
14ead8a
couple comments
May 26, 2021
a2bd35f
final changes
Jun 6, 2021
6ebcf79
Error check
May 24, 2022
9492fa3
var_dump debug
May 26, 2022
7232a8a
Error check
May 31, 2022
c5ea188
test
May 31, 2022
6aa10ec
.
Jun 4, 2022
b698a9f
.
Jun 4, 2022
2df6967
created a new func to filter public tours
Jun 4, 2022
c7cdf3e
.
Jun 4, 2022
82f54f0
Updated the filter system for public tours items
Jun 5, 2022
68fb290
.
Jun 5, 2022
45845f9
.
Jun 5, 2022
d7df14a
.
Jun 5, 2022
51ccc2f
.
Jun 5, 2022
c934b09
.
Jun 5, 2022
2dcae8f
.
Jun 5, 2022
348d2b6
.
Jun 5, 2022
3f2ce3b
.
Jun 5, 2022
dd1e1b8
.
Jun 5, 2022
778c77c
Merge branch 'alvin-updates' of https://github.com/DigitalCarleton/Ma…
Jun 5, 2022
6767fb5
.
Jun 5, 2022
c47d241
.
Jun 5, 2022
9080e3c
Continued work on multiple tours issue
Jun 5, 2022
b5a5aea
6/06 work
Jun 5, 2022
d5f7748
Change the max zoom scale
Nov 14, 2022
910db79
Change the map tiles
Nov 14, 2022
203880d
Handle empty description condition
Nov 14, 2022
adbbd24
Merge pull request #8 from DigitalCarleton/detail-page-for-empty-item
apjmason Nov 21, 2022
eda9817
Change color for the filter
Jan 5, 2023
2e6f399
Add hover color to the back button
Jan 5, 2023
dc42a71
Update on button style
Feb 14, 2023
d746995
Change filter page
Feb 14, 2023
2b8146a
Update color
Feb 21, 2023
711b9fd
Change back button
Feb 21, 2023
03cc83f
Update README.md
evan-lauer Feb 27, 2023
d182a6d
Fixed duplicate map icons, added some comments
Feb 28, 2023
d1089a1
Update filter action
Feb 28, 2023
4908094
Merge pull request #10 from DigitalCarleton/mall-map-theming-to-match…
apjmason Mar 6, 2023
f10e2d5
Merge pull request #6 from DigitalCarleton/map-is-grey-on-full-zoom
apjmason Mar 6, 2023
5f5e190
fixed jquery bug
Mar 7, 2023
713eb2b
fixed jquery and css on tours form
Mar 7, 2023
63213ff
Starting to separate polyline logic from filter action
Mar 7, 2023
0f52cbe
Merge branch 'master' into alvin-updates
apjmason Mar 8, 2023
fa5e2c8
Merge pull request #1 from DigitalCarleton/alvin-updates
apjmason Mar 8, 2023
bd2aec5
fixed dashboard panel links and styling
Mar 8, 2023
ad660c7
Start of tour separator and tweak to show description html
Mar 16, 2023
2b3bf22
changed default map zoom and bounds to accommodate bigger tours
Mar 16, 2023
21fed2b
replacing earlier tile swap for esri over stamen
Mar 20, 2023
7f1aa40
Merge branch 'master' into evan-updates
Mar 20, 2023
582cfbe
Filter path functional
Mar 22, 2023
dd8d06c
Update the filtering algo
Mar 22, 2023
92e79fc
Clean up
Mar 22, 2023
5af3ce8
css fix to adjust overaly northward shift
Mar 22, 2023
036c0b5
Update get routes algo
Mar 22, 2023
1bf6e7b
clean up
Mar 22, 2023
0778815
Update styling for desktop view
Mar 22, 2023
b371d5c
Add the color option for tour in admin side
Mar 23, 2023
51e861a
Update info panel style
Mar 23, 2023
18edf50
Update the see full details redirect
Mar 24, 2023
b0e30f2
mobile view update
Mar 24, 2023
b03cc78
update tour filter
Mar 24, 2023
d3b7566
Change name of the filter field
Mar 24, 2023
4ed76b5
Finish the next item logic
Mar 24, 2023
217f0eb
ensure only one popup or filtering is allowed in the page
Mar 24, 2023
6ad2b78
update next and prev item button style
Mar 24, 2023
c53dee8
Clean Up
Mar 24, 2023
c8bb4c1
reenable the cookie
Mar 24, 2023
2304c27
Merge pull request #19 from DigitalCarleton/evan-updates
apjmason Mar 24, 2023
4ed8518
remove debug
Mar 24, 2023
05642d0
clean up
Mar 24, 2023
86e5124
centering click location
Mar 24, 2023
b4709c7
improve loading time
Apr 4, 2023
b73c42f
add show tour button and zoom to tours
Apr 4, 2023
7960bb5
add default zoom btn
Apr 4, 2023
7422df1
Add return to default zoom
Apr 4, 2023
4813fa9
update filter style
Apr 6, 2023
3a5acfb
Change popup bg color
Apr 6, 2023
645dc21
Update css
Apr 11, 2023
7597974
fix no images item
Apr 13, 2023
4547cd1
Add intro popup
Apr 21, 2023
cdb2557
fix filter tag fade logic
Apr 21, 2023
8deaf2b
Update intro popup styling
Apr 25, 2023
68f0170
Update locate button
May 3, 2023
efa1b03
update map height
May 3, 2023
06f12ae
Update config forms
May 9, 2023
6270327
Get map details from config
May 9, 2023
2a8ec72
Update form table
May 16, 2023
75eae3e
Merge pull request #20 from DigitalCarleton/update-info-panel
apjmason May 16, 2023
30b18a1
Merge pull request #22 from DigitalCarleton/no-image-on-item
apjmason May 16, 2023
f6f7bb2
Merge pull request #23 from DigitalCarleton/map-clustering
apjmason May 16, 2023
ab209dd
remove simple vocab dependency
Sep 28, 2023
19344be
Remove unused code
Sep 28, 2023
3e931df
Update name to walking tour
Dec 1, 2023
9763337
make style plugin dependent
Dec 1, 2023
b99b3a7
remove simple vocab
Dec 1, 2023
1cd8742
Rename plugin into walking tour
Jan 19, 2024
6fcf848
Rename js function name
Jan 19, 2024
1b55a60
Rename tour builder to walking tour builder
Jan 19, 2024
745bc72
Fix admin style bug
Jan 26, 2024
ec7e39d
Fix prefix
Feb 2, 2024
e4f5cb3
Merge branch 'rename-as-walking-tour' into 11-feature-embed-exhibit-i…
Feb 2, 2024
5aa1eda
Add convenience methods
Feb 9, 2024
22032fb
Add user role check for tour items
Feb 16, 2024
9bb33bc
Merge pull request #24 from DigitalCarleton/update-plugin-config
apjmason Feb 16, 2024
6e1a39d
Fix typo
Feb 16, 2024
95e186d
added signs to coordinates, exhibit ID,
AlejandroG31 Feb 16, 2024
2cd77c4
Update css issue
Feb 16, 2024
2ad8205
update plugin author name
Feb 23, 2024
b948e5e
Update admin side styling
Feb 23, 2024
485f874
remove launch tooltip
Feb 23, 2024
e508f2b
update css
Mar 1, 2024
35c6dde
update CSS
AlejandroG31 Mar 1, 2024
674173a
updated map.FlyTo
AlejandroG31 Mar 1, 2024
e5d1e77
update zoom css
Mar 1, 2024
0975fca
Update css class
Mar 8, 2024
a47b7d8
Update CSS issue
AlejandroG31 Mar 18, 2024
094ab10
Clean up config form
Mar 18, 2024
bbc3255
remove locate bound and alert outside locate bound
Mar 18, 2024
e00ff29
Update readme
Mar 18, 2024
f4bd7e1
Merge branch 'rename-as-walking-tour' into 11-feature-embed-exhibit-i…
Mar 18, 2024
2f4b8e3
Add exhibit option to the tour item
Mar 18, 2024
944cf73
Add linked exhibit to popup
Mar 18, 2024
924fac9
Add exhibit to the tour item
Mar 19, 2024
507acd7
clean up
Mar 20, 2024
6b9f94f
clean up walking tour js
Mar 21, 2024
261201a
fix width for link exhibit btn
Mar 21, 2024
8f8f90c
Add clear exhibit option
Mar 21, 2024
b655732
fix tour item remove logic
Mar 21, 2024
4a02198
update database schema for no linked exhibits
Apr 9, 2024
0e3561e
Remove max bounds constraint
Apr 23, 2024
426e237
Remove placeholder value
Apr 23, 2024
209c234
Add padding to tour autocomplete item
Apr 23, 2024
2679f59
Merge pull request #34 from DigitalCarleton/rename-as-walking-tour
apjmason Apr 23, 2024
c6c8226
Update options array
May 7, 2024
20b6a18
support choose center lat lng
May 14, 2024
de8ffc6
Update config todo
May 14, 2024
3639209
add auto fit to locations
May 21, 2024
37468a7
minor bug fix
May 22, 2024
1ad0aff
Update readme
May 22, 2024
39d8f9d
Merge pull request #38 from DigitalCarleton/update-config-form
apjmason May 23, 2024
cc74894
Changed name order
AlejandroG31 May 23, 2024
8625a39
Updated README and configuration defaults
AlejandroG31 May 24, 2024
4678eed
updated image paths
AlejandroG31 May 24, 2024
920bb02
Change the default center coor
May 28, 2024
45138a9
update default center coor
May 28, 2024
811f8ea
Updated configuration steps of the README
AlejandroG31 May 28, 2024
1a0f0db
Updated Formatting in README.md
AlejandroG31 May 28, 2024
8baee07
changed image file paths in README.md
AlejandroG31 May 28, 2024
c9737bb
Merge pull request #39 from DigitalCarleton/3-update-readme-to-reflec…
apjmason May 28, 2024
e6fefd6
Update walking-tour.css to remove link borders
apjmason Jan 22, 2025
3793380
Merge pull request #43 from DigitalCarleton/42-css-link-border-hotfix
apjmason Jan 22, 2025
2134231
Update README.md with better links
apjmason Jan 22, 2025
ec72e87
Add sample tour stop image
apjmason Jan 22, 2025
b1b135c
Update README.md
apjmason Jan 22, 2025
905adde
Merge pull request #46 from DigitalCarleton/44-update-readme-with-bet…
apjmason Jan 22, 2025
f412e94
Removed dev console.log calls
Jan 22, 2025
d232820
Merge pull request #47 from DigitalCarleton/41-remove-all-consolelogs…
apjmason Jan 22, 2025
86ff550
Updated version
Jan 22, 2025
de816b6
Added .gitattributes
apjmason Jan 22, 2025
abe9067
Show summary popup when clicking on tour route polyline
Mar 10, 2025
ae015d8
Show popup on mouseover
Mar 10, 2025
699e394
Fix typo
wrkzk Mar 10, 2025
88a6b19
Working walking tour preview map
wrkzk Apr 18, 2025
21043ec
Display only current tour being edited, number tour stops in order
wrkzk Apr 25, 2025
5815d30
Display distance and duration in the tour info popup
wrkzk Apr 25, 2025
e5b7bf5
Define currentTour variable in inline js for use in walking-tour.js
wrkzk Apr 25, 2025
3f0aa8c
Small css changes
wrkzk Apr 25, 2025
cca0a63
Redraw tour route and requery OpenRouteService to get new walking path
wrkzk May 16, 2025
0d334ad
Add the new route order to updatedOrder so walking-tour.js can access…
wrkzk May 16, 2025
75627a0
Relabel tour item and add green highlight on tourOrderChanged event
wrkzk May 23, 2025
8dc7053
Relabel tour stop markers on tourOrderChanged event
wrkzk May 23, 2025
df93998
Add message when no description is available for current tour stop
wrkzk May 23, 2025
bfd2105
Small css tweaks
wrkzk May 23, 2025
5b9e9d6
Write OpenRouteService api response to the Omeka database so the api …
wrkzk Jun 5, 2025
1a2e2ce
Move duplicated javascript files to shared folder, delete duplicates
wrkzk Jun 5, 2025
3ba39c2
Merge branch 'master' into tour-summary
wrkzk Jun 5, 2025
f02adb3
Merge pull request #49 from DigitalCarleton/tour-summary
apjmason Aug 13, 2025
a9fe945
removed absolute urls
wrkzk Aug 14, 2025
f0acb70
Adding route table to upgrade hook
wrkzk Aug 14, 2025
a15c325
define vars
wrkzk Aug 14, 2025
ba64b11
fix back ticks
wrkzk Aug 14, 2025
9dd1172
db name change
wrkzk Aug 14, 2025
d89d8bc
fix baseurl for subdirectory install
wrkzk Aug 14, 2025
60e5941
Fix locate tour tooltip positioning,instead of hardcoding, i try to m…
wrkzk Apr 30, 2026
1ee441c
test
May 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.tx/ export-ignore
/language/*.pot export-ignore
/language/*.po export-ignore
3 changes: 2 additions & 1 deletion .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.DS_Store
.vscode
70 changes: 0 additions & 70 deletions MallMapPlugin.php

This file was deleted.

90 changes: 90 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Walking Tour

## Summary

This plugin allows you to create interactive walking tours directly within an Omeka Classic project. Leverage your existing collections of geolocated items to build engaging experiences for visitors to explore your local history, art, architecture, or anything else you can map!

With the [Geolocation plugin](https://omeka.org/classic/plugins/Geolocation/) installed, any item that has been geolocated can be added to a walking tour, and the plugin will build line features plotting foot walking routes between tour stops using the [Openrouteservice Directions API](https://openrouteservice.org/dev/#/api-docs/directions%20service). Users on site can enable location on the map and view their position as they follow the routes between locations. Multiple tours can be created and color coded so that they are uniquely identifiable on the overview map.

### Walking Tour map view and sample tour stop

![Display Example](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/walkingTourImg.png)

![Sample Tour Stop](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/SampleTourStop.png)

## Installation and Configuration

1. Make sure you have [Geolocation](https://omeka.org/classic/plugins/Geolocation/) installed in your Omeka site before installing this plugin.
* Optionally, with [ExhibitBuilder](https://omeka.org/classic/docs/Plugins/ExhibitBuilder/) enabled, you can link to exhibits from walking tour stops, e.g. to highlight features inside a location.

2. Install the Walking Tour plugin with the standard [Omeka plugin installation procedure](https://omeka.org/classic/docs/Admin/Adding_and_Managing_Plugins/#installing-a-plugin).

3. Use the plugin Configuration Settings to set the help text and map default options. If you want the center of the map to be automatically calculated based off all geolocated items that have been added to walking tours, check the Auto-fit to Locations checkbox.

# Use Instructions

### 1. Create a Walking Tour:

1. Navigate to the "Walking Tour" tab in the left menu. Then select "Add a Tour".
![Walking Tour](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/WakingTourTab.png)

2. Fill in the relevant information fields that will populate the tour start and end screens.
![Add a Tour](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/AddATour.png)

### Adding and Removing Items from a Walking Tour:

1. Scroll down to the "Tour Items" field on the Add a Tour page (or navigate to the "edit" page for existing walking tours).
![Edit a Tour](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/EditTour.png)

2. Use the search bar to find the previously geolocated item(s) you would like to add by their titles.
3. In order to remove an item click the "remove" button to the right of the item name.
![Remove Item](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/RemoveItem.png)

4. Once you have added and removed all the desired items, select "Add Tour" (for new tours) or "Save Changes" (if editing an existing).

### Configure a Walking Tour:

1. Reorder the Items in a tour:
1. Navigate to the Walking Tour tab and click "edit" on the tour you wish to reorder.
2. Tour items will be connected into a route in the order they are listed. To change the order, hold click over the item and drag it to the desired position.
3. Click "Save Changes".

2. Change the Tour Color:
1. Navigate to the Walking Tour tab and click "edit" on the tour you wish to recolor.
2. In the "Color" field enter the [hexadecimal code](https://www.w3schools.com/colors/colors_picker.asp) of the desired color. This will apply to the color of the map markers and path, the tour filter and the tour stop heading background color.
![Change Color](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/ChangeColor.png)

3. Click "Save Changes".

4. Link an Exhibit to an Item:
1. Navigate to the Walking Tour tab and click "edit" on the tour you wish to link with an exhibit.
2. Scroll to the Tour Items field and click on the "Link Exhibit" button to the right of the item.
![Link Exhibit](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/LinkExhibit.png)

3. Search for exhibits by title in the box that appears and click on the results to select.
4. Click "Save Changes".
5. When exhibits are linked, a new button will appear on the tour stop to open the exhibit. (The text can be changed in the "Exhibit Button" field on the plugin configuration form)
![View Exhibit](https://github.com/DigitalCarleton/WalkingTour/raw/master/images/ViewExhibit.png)

## License

This plugin is published under [GNU/GPL](https://www.gnu.org/licenses/gpl-3.0.html).

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

## Contact

Maintained by [Digital Humanities @ Carleton College](https://www.carleton.edu/digital-humanities/)


## Acknowledgements
This plugin builds on a number of other projects. Thus, we would like to thank the following:

1. Jim Safley, Kim Nguyen, and John Flatness for the [Mall Map](https://github.com/omeka/MallMap.git) plugin.
2. Kim Nguyen and Sheila Brennan for the [Mall Theme](https://github.com/chnm/mall-theme.git) theme.
3. Erin Bell, Greyson, Eli Pousson, and jbretmaney for the [Tour Builder](https://github.com/CPHDH/Curatescape/tree/master/plugins/TourBuilder) plugin.
4. The team that maintains the [openrouteservice APIs](https://openrouteservice.org).
Loading