Skip to content

A browser extension that lets you scroll with two fingers on your trackpad within Google Maps

License

Notifications You must be signed in to change notification settings

mauricelam/ScrollMaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 10, 2024
9eda613 · Dec 10, 2024
Feb 2, 2022
Feb 7, 2024
Dec 10, 2024
Dec 10, 2024
Feb 7, 2024
Feb 17, 2018
Aug 12, 2021
Jul 25, 2024
Jul 29, 2024
Jan 9, 2024
Jul 25, 2024
Jul 25, 2024
Dec 10, 2024
Dec 10, 2024
Jul 25, 2024

Repository files navigation

ScrollMaps

Lets you scroll with two fingers on your trackpad within online maps

Supported map providers

  • Google Maps
  • MapBox
  • Esri ArcGIS
  • Apple MapKit JS
  • OpenStreetMap
  • and a few others

Building

After checking out the source, initialize the dependencies using npm install.

After making changes, build a development version using gulp --<chrome/firefox/edge>. This will create an unpacked extension under gen/plugin-10000-<browser> that can then be loaded into Chrome as an unpacked extension.

You can also use gulp watch --<chrome/firefox/edge> to watch for changes and build new dev versions automatically.

To build the current release version for all browsers, use gulp release.

Unit testing

Unit tests can be run using gulp unit or gulp watchunit.

Integration Testing

Tests can be run using gulp test --<chrome/firefox/edge>.

Individual test fails can be run using mocha directly:

BROWSER=chrome npx mocha test/auto/google_com_travel.js