<!--
Tests the Triton ocean plugin.
http://sundog-soft.com/sds/features/real-time-3d-clouds/
-->
<map name="Triton Demo">

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

    <!-- Triton masking layer. By default Triton will look at the elevation of
         the terrain and will draw water where the elevation is less than zero.
         But this will cause land below sea level to get water as well. You can
         use a mask like this to prevent that from happening. -->
         
    <TMSImage name="ocean_mask" shared="true" visible="false">
        <url>https://readymap.org/readymap/tiles/1.0.0/2/</url>
    </TMSImage>

    <Triton>
        <user> my_user_name </user>
        <license_code> my_license_code </license_code>
        <max_altitude> 10000000 </max_altitude>
        <mask_layer>ocean_mask</mask_layer>
    </Triton>

    <viewpoints>
        <viewpoint name="Start" heading="-29.7876" pitch="-12" range="4200" long="-156.537" lat="20.6702" />
        <viewpoint name="Above" heading="-35.42227636584842" height="-188.2792971581221" lat="20.68154179570284" long="-156.5452311560784" pitch="-30" range="5469"/>
        <viewpoint name="Near clip" heading="-0.618211rad" height="-190.1852927561849" lat="20.67586333023495" long="-156.5418074743535" pitch="-0.2546rad" range="1154.32m"/>
        <viewpoint name="Horizon"  heading="-27.1911" height="-206.3652788307518" lat="20.69785423327782" long="-156.5550697849549" pitch="-16.0293" range="68323m"/>
        <viewpoint>
            <name>Positano</name>
            <heading>6.84601</heading>
            <pitch>-1.08752</pitch>
            <range>11078.6m</range>
            <long>14.49135978754529</long>
            <lat>40.62397054670792</lat>
            <height>55.47445763554424</height>
            <srs>+proj=longlat +datum=WGS84 +no_defs </srs>
        </viewpoint>
    </viewpoints>

    <annotations>
        <model name="Object in the water">
            <url>../data/red_flag.osg.40.scale</url>
            <position lat="20.6714" long="-156.5384" alt="0"/>
        </model>
    </annotations>
</map>
