Advertisement
Hirwanto

getmap

Mar 3rd, 2015
713
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 2.12 KB | None | 0 0
  1. % compile with pdflatex -shell-escape
  2. \documentclass{article}
  3. \usepackage[latin1]{inputenc}
  4. \usepackage{graphicx}
  5. \usepackage{filecontents}
  6. % use overwrite while optimizing the image
  7. \usepackage[overwrite,mode=gm]{getmap}
  8. \begin{document}
  9. \begin{filecontents*}{berlin.epl}
  10. &path=weight:5|color:purple|enc:_xq_IcgrpA?AFE@?^BFE@A^U@CLQXEZU?gCR?B?DBF@@?vA?D?D?BAHE@JBN@JLGFCG[DC~C?@?F?R?vA?p@iB@i@Fe@JWRSTOf@Gh@C^A?e@?gE?w@r@?lB@hA?`@??M?aA?]dI??O?O?Cn@cBfBeF|AeEHNVNBc@H@H_AEwA?OAMNA@N
  11. \end{filecontents*}
  12. \getmap[file=berlin, language=de, xsize=400, ysize=600,
  13.        markers={&markers=size:mid|label:H|color:green|Berlin, Hbf
  14.                 &markers=label:B|color:blue|Brandenburger Tor, Berlin},
  15.        pathfile={berlin.epl}]{}
  16. \includegraphics[width=6cm]{berlin}
  17.  
  18. \getmap[file=africa,mode=gm,type=terrain,xsize=500,ysize=500,%
  19. scale=2,zoom=3]{0,16}
  20. \includegraphics[width=9cm]{africa}
  21. \getmap[file=paris,mode=gm,type=hybrid,xsize=500,ysize=300,%
  22. scale=2,zoom=16]{Tour Eiffel, Paris}
  23. \includegraphics[width=9cm]{paris}
  24.  
  25. \getmap[file=indonesia,mode=gm,type=hybrid,xsize=500,ysize=300,%
  26. scale=2,zoom=14]{Malioboro, Yogyakarta}
  27. \includegraphics[width=9cm]{indonesia}
  28.  
  29. \getmap[file=lampung,mode=gm,type=hybrid,xsize=500,ysize=300,%
  30. scale=2,zoom=34]{Tugu Payan Mas,Lampung Utara}
  31. \includegraphics[width=9cm]{lampung}
  32.  
  33. \getmap[file=yogyakarta,mode=gm,type=hybrid,xsize=500,ysize=300,%
  34. scale=2,zoom=50]{Pogung Kidul,Sleman}
  35. \includegraphics[width=9cm]{yogyakarta}
  36.  
  37. \getmap[file=sumatra,mode=gm,type=terrain,xsize=500,ysize=500,%
  38. scale=2,zoom=5]{sumatra}
  39. \includegraphics[width=9cm]{sumatra}
  40.  
  41. \getmap[file=jawa,mode=gm,type=terrain,xsize=500,ysize=500,%
  42. scale=2,zoom=5]{sumatra}
  43. \includegraphics[width=9cm]{jawa}
  44.  
  45. \getmap[file=bali,mode=gm,type=terrain,xsize=500,ysize=500,%
  46. scale=2,zoom=5]{sumatra}
  47. \includegraphics[width=9cm]{bali}
  48.  
  49. \getmap[file=kalimantan,mode=gm,type=terrain,xsize=500,ysize=500,%
  50. scale=2,zoom=5]{kalimantan}
  51. \includegraphics[width=9cm]{kalimantan}
  52.  
  53. \getmap[file=indonesia,mode=gm,type=terrain,xsize=500,ysize=500,%
  54. scale=2,zoom=4]{indonesia}
  55. \includegraphics[width=9cm]{indonesia}
  56. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement