Skip to content

Script to build interactive page-map with markers and images

Notifications You must be signed in to change notification settings

gpoudel/BucketListMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

BucketListMap

Script to build interactive page-map with markers and images.

Live demo at: https://gpoudel.github.io/BucketListMap/

Introduction.

The R script can be used to generate a interactive map marking various places with description and images in pop-up. A live version of example output created based on the theme of popular video game Sid meier's civilization VI can be found here.

The page looks like this

Input.

A sample input file is provided (civ6Wonders.csv) and it has only four columns

  • Place: The name of the place or description - this field is also used as a google image search query, thus choose wisely. This text also appears as label on mouse rollover.
  • Type: This is used to catagorize the first field (Place). In the given example which includes the available wonders in the game Civilization 6, this is used to seperate the Natural wonders and the Human-made wonders. This field can be used to make 'Done vs To do' or 'To See vs Seen' type of distinction.
  • Latitude: The latitude coordinate of the place to mark on map.
  • Longitude: The longitude coordinate of the place to mark on map.

Features.

  • Select specific category: Notice the check-boxes on top right corner, they can be used to display only specifc categories based on selection. An example here shows earth's locations (wonders) from tha game, categorized either Natural or Human-made marked by either blue or green dots. This is based on the 'Type' column of the input file.



In the given example, natural wonders are represented by green dots while human-made wonders are represented by blue dots. We can use the check-boxes to select each category separately.




  • Mouseover to reveal further information


  • Mouse-click on the marker to display the image



  • Click on the image to open google search (image) page of the marker location on next tab

Hope you enjoy it.

About

Script to build interactive page-map with markers and images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages