emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Yet another way to use maps --- the light way


From: Sebastian Rose
Subject: [Orgmode] Yet another way to use maps --- the light way
Date: Thu, 23 Sep 2010 10:17:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]