Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

MapBoxSyncHover

Sync Hover Function Guide for interactive Maps / Story-Telling mode with Scollama example

This is a basic guide on how I learned to make a synced up mouse hover function in javascript. The first one shows the steps to make sure that the mouse area is synced up and the second file shows how to make the storytelling mode alonside Scrollama better. Although the code is a bit unclean it got the job done. I hope this will be useful for anyone who just started learning to code like I did a couple months ago.

I opted to make a html, a js and a css file. You could condense them into one but I wanted to make it so that all chapters are dynamically generated and appended with my js.

The example provided in the html is from this map: https://rl05262n.github.io/Mapboxnew/syncmap2hover.html

The entire Page can be found here: https://rl05262n.github.io/Mapboxnew/

The Full Project can be found here: https://congressionaldistrict3.aafederation.org/

About

Sync Hover Function Guide for interactive Maps / Story-Telling mode with Scollama example

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages