| 1 |
%% |
| 2 |
%% This is file `getmap-example', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% getmap.dtx (with options: `examplefile') |
| 8 |
%% |
| 9 |
%% Copyright (C) 2014,2016,2018 by: |
| 10 |
%% Josef Kleber |
| 11 |
%% <[email protected]> |
| 12 |
%% |
| 13 |
%% This file may be distributed and/or modified under the conditions of |
| 14 |
%% the LaTeX Project Public License, either version 1.3 of this license |
| 15 |
%% or (at your option) any later version. The latest version of this |
| 16 |
%% license is in: |
| 17 |
%% |
| 18 |
%% http://www.latex-project.org/lppl.txt |
| 19 |
%% |
| 20 |
%% and version 1.3 or later is part of all distributions of LaTeX version |
| 21 |
%% 2003/12/01 or later. |
| 22 |
%% |
| 23 |
%% This work has the LPPL maintenance status "author-maintained". |
| 24 |
%% |
| 25 |
%% The Current Maintainer of this work is Josef Kleber. |
| 26 |
%% |
| 27 |
%% This work consists of all files listed in manifest.txt. |
| 28 |
%% |
| 29 |
%% |
| 30 |
%% |
| 31 |
%% compile with pdflatex -shell-escape getmap-example |
| 32 |
%% |
| 33 |
%% |
| 34 |
\documentclass{article} |
| 35 |
\usepackage{graphicx} |
| 36 |
\usepackage{filecontents} |
| 37 |
%% use overwrite while optimizing the image |
| 38 |
\usepackage[overwrite,mode=gm]{getmap} |
| 39 |
\begin{document} |
| 40 |
\begin{filecontents*}{muc.epl} |
| 41 |
&path=weight:5|color:orange|enc:okydHa}peAXOHi@jANv@A@kJJmFAiDJuAHmDXcBb@cC`@gC^_DV}CJaCF{APaBVkBdAyEf@qC`@{B\aDSwB |
| 42 |
\end{filecontents*} |
| 43 |
\getmap[file=muc, |
| 44 |
markers={&markers=size:mid|label:H|color:green|München, Hbf |
| 45 |
&markers=label:S|color:yellow|Stachus, München |
| 46 |
&markers=label:M|color:blue|Marienplatz, München}, |
| 47 |
pathfile={muc.epl}]{} |
| 48 |
\includegraphics[width=10cm]{muc} |
| 49 |
\end{document} |
| 50 |
\endinput |
| 51 |
%% |
| 52 |
%% End of file `getmap-example'. |