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

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