Beamer Hyperlink - 地理地图可行性

Beamer Hyperlink - 地理地图可行性

我正在制作一个投影仪演示文稿,想展示一些世界各国的数据分析图像。在地图图像中创建超链接是否可行?

我理想情况下想要一张世界地图,按如下方式勾勒出每个国家/地区的轮廓;我没有数据的国家/地区将为空白,而我有数据的国家/地区将填上红色。我希望能够单击每个红色国家/地区以自动转到包含我的数据分析图像的幻灯片(使用数据幻灯片上的投影仪按钮返回世界地图)。

这可行吗?

答案1

一个不太漂亮的解决方案可能是以下内容(代码中有更多信息):

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{svg.path,math}
\tikzset{mapScale/.style={scale=0.5,yscale=-1}}% in the svg file the coordinate are upside down therefore yscale=-1

%Europe countries borders (for a more clean code this can be put in a separete file)
%the svg file with the borders coordinates is take from https://simplemaps.com/resources/svg-europe
%open the file with a text editor and copy and paste the boreder of the nation of interest
%Italy
\newcommand{\ItalyBrd}[3]{%
\pgfsetstrokecolor{#1}
\pgfsetfillcolor{#2}
\pgfpathsvg{M602.6 595.6l-1.2 2.5-2.8 4.3-1.5 5.1 0.3 2 1.6 1.4-0.7 0.5 1.6 1.8 0.1 1.3-1.8 1.9-0.4 1.7 0.1 1.5-2.9-0.6-1.4 0.3-3.7-1.4-1.9-2.8-3-2-3 0-1.4-0.5-2.9-1.9-3-1.4-2.6-2.1-1.7-0.4-1.5-1-2.9 0-2.3-1.6-1.3-2.3 1.3-3.7 1.4-0.8 0.9-1.2 2.3 2.3 1.8-0.8 1.4-1.6 2.4 0.1 0.5 0.9 1.4 0.3 2.5 1.6 1.4 0.4 3.4-1 3 0.4 2.8-0.5 1.7-0.6 1.2-1 1.4-0.3 3.5 0.3 2-1.2 0.8 0.2 2-1.2 1.1 1.1z m-78.3-41.5l0.7 0.9 1.8 5-0.6 1.6-1.3 2 0.8 2.8-0.6 11.5-0.6 2.9-0.9 0.4-2.9-1.2-1.5 0.3-1.2-0.6-0.3 3-1.8 2.1-3-0.2-0.7-0.6-2.4-3.8-0.4-4.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 0.3 2.2-0.3 1.3-0.6 0.5-1.4 1.9-0.6-0.8 2.7 0.6 0.6 0.4 2 1.7 0.1 3.3 1.5 2.8 2.6 3.4-0.4z}
\pgfusepath{#3}}
\newcommand{\nx}{40}%number of division on x axis
\newcommand{\ny}{20}%number of division on y axis
\usepackage[absolute,overlay
%,showboxes
]{textpos} %absolute positioning of textblock. Uncomment 'showboxes' to show the border of the box
\TPGrid{\nx}{\ny}

\newcommand\myGrid{%
    \begin{tikzpicture}[
    overlay,
    remember picture,
    shift={(current page.north west)},
    ]
    \tikzmath{
        \sdx=\nx-1;
        \sdy=\ny-1;
    }
    \draw[very thin, blue!10, xstep=\TPHorizModule, ystep=\TPVertModule]
    (current page.south west) grid (current page.north east);
    \draw[very thin, red!50, xstep=5*\TPHorizModule, ystep=5*\TPVertModule]
    (current page.south west) grid (current page.north east);
    %\draw[thick,red!10] ([xshift=\smx*\TPHorizModule]current page.north west) --  ([xshift=\smx*\TPHorizModule]current page.south west);
    \foreach \x in {1,2,...,\sdx} { \node [xshift=\x*\TPHorizModule,label=below:\tiny\x,inner sep=0pt,outer sep=0pt] at (current page.north west){};}
    \foreach \y in {1,2,...,\sdy} {\node [yshift=-\y*\TPVertModule,label=right:\tiny\y,inner sep=0pt,outer sep=0pt] at (current page.north west) {};}
    \end{tikzpicture}%
}
\begin{document}

\begin{frame}
    \frametitle{Data for Some European Nations}
%\myGrid % <--very useful grid for positioning uncomment if necessary
\begin{textblock}{40}(0,5)
\begin{figure}
\begin{tikzpicture}[mapScale]
%Germany
\GermanyBrd{black}{white}{stroke,fill}
%Italy
\ItalyBrd{black}{red}{stroke,fill}
%Poland
\PolandBrd{black}{red}{stroke,fill}
%Switzerland
\SwitzerlandBrd{black}{red}{stroke,fill}
%France
\FranceBrd{black}{white}{stroke,fill}
\end{tikzpicture}
\end{figure}
\end{textblock}
%links creations 
%with great patience you must match the nation border of the link with that of the previous map by trial and errors 
%the positioning don't must be very precise, but more precise is better
%a tip can be of first draw the links of the most big nations and at the end that of the small nations, because the links overlap each others.
 
%link for Poland
\begin{textblock}{0}(22.9,5.7)%in the parenthesis there is the upper left bounding box of the country border that must be varied to match the previous map
\hyperlink{PolandDataPage}{%
\begin{tikzpicture}[mapScale]
%\PolandBrd{green}{red}{stroke}%for positioning
\PolandBrd{green}{red}{}
\end{tikzpicture}}
\end{textblock}

%link for Italy;
\begin{textblock}{0}(18.1,10)%in the parenthesis there is the upper left bounding box of the country border that must be varied to match the previous map
\hyperlink{ItalyDataPage}{%
\begin{tikzpicture}[mapScale]
%\ItalyBrd{green}{red}{stroke}%for positioning
\ItalyBrd{green}{red}{}
\end{tikzpicture}}
\end{textblock}

%link for Switzerland
\begin{textblock}{0}(17.7,9.6)%in the parenthesis there is the upper left bounding box of the country border that must be varied to match the previous map
\hyperlink{SwitzerlandDataPage}{%
\begin{tikzpicture}[mapScale]
%\SwitzerlandBrd{green}{red}{stroke}%for positioning
\SwitzerlandBrd{green}{red}{}
\end{tikzpicture}}
\end{textblock}
\hypertarget{EuropeMap}{}
\end{frame}

\begin{frame}
\frametitle{Poland Data}
\hypertarget{PolandDataPage}{}
Data from Poland
\hyperlink{EuropeMap}{\beamerbutton{Go Back}}
\end{frame}

\begin{frame}
\frametitle{Italy Data}
\hypertarget{ItalyDataPage}{}
(Always bad) data from Italy
\hyperlink{EuropeMap}{\beamerbutton{Go Back}}
\end{frame}

\begin{frame}
\frametitle{Switzerland Data}
\hypertarget{SwitzerlandDataPage}{}
Data from Switzerland
\hyperlink{EuropeMap}{\beamerbutton{Go Back}}
\end{frame}
\end{document}

一些欧洲国家的地图 波兰数据

相关内容