jcockroft64 / sierrahiking

Contains all the raw files for sierrahiking.net
GNU General Public License v3.0
2 stars 0 forks source link

Include photos in the HP map #24

Closed jcockroft64 closed 2 years ago

jcockroft64 commented 2 years ago

Include photos in the HP map. I'm not sure if these can be directly added or need to be part of a marker. Please investigate.

russellelliott commented 2 years ago

To add photo to a marker, go to that marker’s edit field and select “Import Media”. From there, select the photo/file/other media you want to include.

I added a photo to each of the map markers of the map

jcockroft64 commented 2 years ago

I was wondering if the photo can be popped out from the marker? If not, i'm willing to close this issue. The primary location to look at the hike photos is in the carousel but it would be nice to have a nice look at the photo from clicking on the marker. ** also, could you create a unique marker for photos?

jcockroft64 commented 2 years ago

Could we have three types of "info" markers: (1) picture; (2) campsite; (3) general info/point of interest. (1) flower; (2) tent; (3) "i"

russellelliott commented 2 years ago

The map has 3 types of markers

  1. Picture: flower icon
  2. Campsite: fire icon (couldn't find a tent icon)
  3. General info/point of interest: "i" icon
jcockroft64 commented 2 years ago

https://mapicons.mapsmarker.com/markers/tourism/camping/ https://www.mapsmarker.com/kb/user-guide/how-to-add-custom-map-icons

I changed the fire icon to trees icon, but we definitely need a tent.

jcockroft64 commented 2 years ago

(1) camera, (2) tent; (3) "i"

russellelliott commented 2 years ago

I changed the icons of the map on the Hiking Page Template to match your specifications.

Tutorial for how to add custom icons: https://www.mapsmarker.com/kb/user-guide/how-to-add-custom-map-icons Place to get custom icons: https://mapicons.mapsmarker.com/ To download a given icon, right-click on them and click "save as".

Got the camera icon from here: https://mapicons.mapsmarker.com/markers/media/photo/ Got the tent icon from here: https://mapicons.mapsmarker.com/markers/tourism/camping/

Select the icon you want by clicking the "change" button for that marker and selecting the icon you want. You have to upload the icons to the site first by choosing the file and then clicking the "upload" button in this area.

Campsites are represented with a green tent icon and points of interest are represented with a grey camera icon.

jcockroft64 commented 2 years ago

Done.