https://github.com/minad/osm Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} minad / osm Public * Notifications * Fork 4 * Star 217 osm.el - OpenStreetMap viewer for Emacs GPL-3.0 License 217 stars 4 forks Star Notifications * Code * Issues 1 * Pull requests 0 * Actions * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Wiki * Security * Insights This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 2 branches 3 tags Code Latest commit @minad minad Configurable annotation ... a7dfc15 Mar 14, 2022 Configurable annotation a7dfc15 Git stats * 150 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time LICENSE Initial commit Mar 5, 2022 README.org README update link Mar 14, 2022 osm-ol.el Update file header Mar 7, 2022 osm.el Configurable annotation Mar 14, 2022 View code osm.el - OpenStreetMap viewer for Emacs Features Configuration Bookmarks and Org links Commands and Key Bindings Related projects Contributions README.org osm.el - OpenStreetMap viewer for Emacs GNU Emacs GNU ELPA GNU-devel ELPA MELPA MELPA Stable https://github.com/minad/osm/blob/screenshots/osm.png?raw=true The map data is (c) OpenStreetMap contributors, licensed under the ODbL The map rendering is (c) OpenTopoMap, licensed under the CC-BY-SA. Features * Zoomable and moveable map display * Display of tracks and POIs from GPX file * Parallel fetching of tiles with curl * Moving in large and small steps * Mouse support (dragging, clicking) * Map scale indicator * Go to coordinate * Search for location by name * Org link support * Bookmarked positions with pins * Multiple preconfigured tile servers Configuration The package is available on GNU ELPA and can be installed with package-install. The following is an example configuration which relies on use-package. Please take a look at the wiki for additional configuration. (use-package osm :bind (("C-c m h" . osm-home) ("C-c m s" . osm-search) ("C-c m v" . osm-server) ("C-c m t" . osm-goto) ("C-c m x" . osm-gpx-show) ("C-c m j" . osm-bookmark-jump)) :custom ;; Take a look at the customization group `osm' for more options. (osm-server 'default) ;; Configure the tile server (osm-copyright t) ;; Display the copyright information :init ;; Load Org link support (with-eval-after-load 'org (require 'osm-ol))) Bookmarks and Org links To store a bookmark press the key b, to store Org links press the key l. You can also use a custom binding, e.g., C-c l. Then the link can be inserted into an Org buffer with C-c C-l. Bookmarks and Org links can be created at point with the mouse, see osm-bookmark-set-click and osm-org-link-click. Examples: * Italia, 41.87deg 12.46deg OpenTopoMap * London, England, 51.49deg -0.14deg * Kobenhavn, Danmark, 55.69deg 12.57deg CyclOSM * New York, United States, 40.73deg -73.98deg Stamen Watercolor * Mount Everest, 27.96deg 86.89deg OpenTopoMap Commands and Key Bindings Top-level commands: * osm-home: Open new map at home coordinates * osm-search: Search and jump to location * osm-goto: Go to coordinates * osm-server: Select server * osm-bookmark-jump: Jump to bookmark * osm-gpx-show: Show GPX file in map viewer Key bindings in osm-mode buffer: * : Small step scrolling * C-, M-: Large step scrolling * +, SPC: osm-zoom-in - Zoom in * -, S-SPC: osm-zoom-out - Zoom out * : osm-center-click - Center to point * : osm-org-link-click - Store point as Org link * : osm-bookmark-set-click - Store point as bookmark * : osm-bookmark-delete-click - Click on bookmark at point to delete * : osm-mouse-drag - Drag the map with the mouse * d, DEL: osm-bookmark-delete - Delete selected bookmark * n: osm-bookmark-rename - Rename selected bookmark * t: osm-goto - Go to location * h: osm-home - Go to home location * s: osm-search - Search for location * v: osm-server - Select tile server * x: osm-gpx-show - Show tracks and POIs from GPX file * X: osm-gpx-hide - Hide overlays from GPX file * l: org-store-link - Store org link * b: osm-bookmark-set - Set bookmark * j: osm-bookmark-jump - Jump to bookmark * q: quit-window - Close buffer and window * c: clone-buffer - Clone buffer Related projects There have been other attempts at map viewers in Emacs before. * https://github.com/ruediger/osm-mode * https://github.com/svenssonjoel/Emacs-OSM * https://github.com/jd/google-maps.el * https://github.com/emacsattic/org-osm-link Contributions Since this package is part of GNU ELPA contributions require a copyright assignment to the FSF. About osm.el - OpenStreetMap viewer for Emacs Resources Readme License GPL-3.0 License Stars 217 stars Watchers 3 watching Forks 4 forks Releases 3 tags Packages 0 No packages published Languages * Emacs Lisp 100.0% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.