emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Yet another way to use maps --- the light way
Date: Thu, 23 Sep 2010 10:17:14 +0200	[thread overview]
Message-ID: <87tylgn0xw.fsf@gmx.de> (raw)

Hi,


there is a light and easy way to use google and openstreetmap.org maps
if you define them as a custom link type:


(setq org-link-abbrev-alist
  '(("gmap"
     . "http://maps.google.com/maps?q=%s")
    ("omap"
      . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1")))



Now
  [[gmap:Falkenstr 10, Hannover, Germany][Falkenstraße]]

and
  [[omap:Falkenstr 10, Hannover, Germany]]

show a map in your browser.  LaTeX and HTML export works out the box
with the advantage, that this export can legally be published on the
internet without any additional action (API license key).  Even on
commercial sites, as it's just a link to google.  OSM is no problem
anyway.


This way it's possible to show a certain place on earth, but not a track
or route.



There's a (known) bug in the LaTeX eporter:

        [[Falkenstraße 10, Hannover, Germany]]

will _not_ work, because the german Umlaut will be distorted somehow
(unless fixed already....)



  Sebastian

             reply	other threads:[~2010-09-23 11:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23  8:17 Sebastian Rose [this message]
2010-09-23 12:14 ` Yet another way to use maps --- the light way Carsten Dominik
2010-09-23 19:30 ` Memnon Anon
2010-09-23 20:10   ` Sebastian Rose
2010-09-24  7:18 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tylgn0xw.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).