Hi Damien
The function 'linkaxes' does not support 'geoaxes'.
You may try this workaround by using the 'linkprop' function. There may be lag while rendering such a plot. This is due to the high computational requirements in geoaxes objects.
lat1 = rand(10, 1) * 10;
lon1 = rand(10, 1) * 10;
lat2 = rand(10, 1) * 10;
lon2 = rand(10, 1) * 10;
figure;
% Create geoaxes
ax1 = geoaxes;
ax2 = geoaxes;
% Plot initial data
geoscatter(ax1, lat1, lon1);
colormap(ax1, 'jet');
geoscatter(ax2, lat2, lon2);
colormap(ax2, 'winter');
ax2.Visible = 'off';
linkprop([ax1, ax2], {'MapCenter', 'ZoomLevel', 'LatitudeLimits', 'LongitudeLimits'});
I would suggest using single geoaxes to plot values and customize them using Marker Properties.
lat1 = rand(10, 1) * 10;
lon1 = rand(10, 1) * 10;
lat2 = rand(10, 1) * 10;
lon2 = rand(10, 1) * 10;
figure;
% Create geoaxes
ax1 = geoaxes;
% Plot initial data
geoscatter(ax1, lat1, lon1, 'blue');
hold on;
geoscatter(ax1, lat2, lon2, 'yellow');