This is a simple QuickLook plugin to browse GPX files.
The plugin uses OpenLayers to render a map
preview using map tiles for Norway provided by The Norwegian Mapping
Authority, Kartverket. To use different
background map tiles, edit template.html
and change ol.source.XYZ
.
quicklook-gpx.qlgenerator
and choose Show in Finder.quicklook-gpx.qlgenerator
to ~/Library/QuickLook/
.
(You may need to create the QuickLook folder if it doesn't exist.)qlmanage -r
to reload the plugins.npm install openlayers
cd node_modules/openlayers
node tasks/build.js ../../openlayers/ol-customized-build.json ../../openlayers/ol.js
cp -p css/ol.css ../../openlayers/