<!--
osgEarth Sample - Simple Ocean with surface texture  
-->
<map name="Demo: Ocean layer (use --sky)">

    <xi:include href="readymap_imagery.xml"/>
    <xi:include href="readymap_elevation.xml"/>

    <Ocean>
        <texture>../data/textures/water_modulate.png</texture>
        <texture_lod>13</texture_lod>
        <use_bathymetry>false</use_bathymetry>
        <mask_layer>ocean_mask</mask_layer>        
    </Ocean>
    
    <TMSImage name="ocean_mask" shared="true" visible="false">
        <url>https://readymap.org/readymap/tiles/1.0.0/2/</url>
    </TMSImage>

    <Viewpoints>
        <viewpoint name="San Clemente">
            <heading>-4.56648</heading>
            <pitch>-15.6443</pitch>
            <range>9272.95m</range>
            <long>-118.4811706646827</long>
            <lat>32.80594432832285</lat>
            <height>-139.788777125068</height>
            <srs>+proj=longlat +datum=WGS84 +no_defs </srs>
        </viewpoint>
        <viewpoint name="Capri">
            <heading>50.1869</heading>
            <pitch>-14.3472</pitch>
            <range>8118.73m</range>
            <long>14.21358890393404</long>
            <lat>40.53085371008456</lat>
            <height>-296.9707998111844</height>
            <srs>+proj=longlat +datum=WGS84 +no_defs </srs>
        </viewpoint>
    </Viewpoints>
</map>
