Code covered by the BSD License  

Highlights from
Google Earth Toolbox

image thumbnail
from Google Earth Toolbox by scott lee davis
Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth

demo_ge_groundoverlay()
function demo_ge_groundoverlay()

N = 66;
E = 38;
S = 2;
W = -23;

url = ['data',filesep,'map.bmp'];

kmlStr = ge_groundoverlay(N,E,S,W,...
                         'imgURL',url,...
                 'viewBoundScale',1e3,...
                      'polyAlpha','7C');

             
source = fullfile(googleearthroot,'data','map.bmp');
destination = fullfile(pwd,'data','map.bmp');
     

mkdir('data')
copyfile(source,destination);
ge_output('demo_ge_groundoverlay.kml',kmlStr)
           

Contact us at files@mathworks.com