2

I am making a beamer presentation and would like to show some data analysis images for different countries across the world. Is it feasible to create hyperlinks within an image of a geographic map?

I would ideally like a world map outlining each country as follows; the countries for which I do not have data will be blank whereas the countries for which I do have data will be filled in with the color red. I would like to be able to click each of the red countries to automatically go to a slide with my data analysis images (with a beamer button on the data slides to go back to the world map).

Is this feasible?

2
4

A not very beautiful solution can be the following (further informations in the code):

\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.3 0.6-1.3 0-2.5 1.1-0.1 0-1.7-1.8-1.2 0-1.9 0.7-1.4-0.1-2.6-0.8-0.9-0.8-2.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 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}

Map of some european nations Data from Poland

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.