mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 11:31:29 +00:00
5b72348eff
This is trial and error, based on a few websites describing the api. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
130 lines
5.8 KiB
XML
130 lines
5.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<dgml xmlns="http://edu.kde.org/marble/dgml/2.0">
|
|
<document>
|
|
|
|
<head>
|
|
<name>Google Satellite</name>
|
|
<target>earth</target>
|
|
<theme>googlesat</theme>
|
|
<icon pixmap="preview.png"/>
|
|
<visible>true</visible>
|
|
<description><![CDATA[<p>A <i>global roadmap</i> provided by Google.]]></description>
|
|
<zoom>
|
|
<minimum> 900 </minimum>
|
|
<maximum> 3700 </maximum>
|
|
<discrete> true </discrete>
|
|
</zoom>
|
|
</head>
|
|
|
|
<map bgcolor="#000000">
|
|
<canvas/>
|
|
<target/>
|
|
<layer name="googlesat" backend="texture" >
|
|
<!-- Let Google Maps rendered tiles expire after one year
|
|
or 31536000 seconds -->
|
|
<texture name="map" expire="31536000" >
|
|
<sourcedir format="JPG"> earth/googlesat </sourcedir>
|
|
<storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="20" mode="Custom" />
|
|
<projection name="Mercator" />
|
|
<downloadUrl protocol="http" host="mt0.google.com" path="/vt/lyrs=s&hl=en&x={x}&s=&y={y}&z={zoomLevel}&s=Ga" />
|
|
</texture>
|
|
<texture name="streets" expire="604800" >
|
|
<sourcedir format="PNG"> earth/googlesat/streets </sourcedir>
|
|
<storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="20" mode="Custom" />
|
|
<projection name="Mercator" />
|
|
<downloadUrl protocol="http" host="mt.google.com" path="/vt/lyrs=h@126&hl=en&x={x}&s=&y={y}&z={zoomLevel}&s=Ga" />
|
|
<blending name="OverpaintBlending" />
|
|
</texture>
|
|
<texture name="bicycle" expire="604800" >
|
|
<sourcedir format="PNG"> earth/googlesat/bicycle </sourcedir>
|
|
<storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="20" mode="Custom" />
|
|
<projection name="Mercator" />
|
|
<downloadUrl protocol="http" host="mt.google.com" path="/vt/lyrs=h@179207685,bike&x={x}&s=&y={y}&z={zoomLevel}&" />
|
|
<blending name="OverpaintBlending" />
|
|
</texture>
|
|
</layer>
|
|
<layer name="standardplaces" backend="geodata">
|
|
<geodata name="cityplacemarks">
|
|
<sourcefile format="KML">cityplacemarks.kml</sourcefile>
|
|
<pick>placemark</pick>
|
|
</geodata>
|
|
<geodata name="baseplacemarks">
|
|
<sourcefile format="KML">baseplacemarks.kml</sourcefile>
|
|
<pick>placemark</pick>
|
|
</geodata>
|
|
<geodata name="elevplacemarks">
|
|
<sourcefile format="KML">elevplacemarks.kml</sourcefile>
|
|
<pick>placemark</pick>
|
|
</geodata>
|
|
<geodata name="otherplacemarks">
|
|
<sourcefile format="KML">otherplacemarks.kml</sourcefile>
|
|
<pick>placemark</pick>
|
|
</geodata>
|
|
<geodata name="boundaryplacemarks">
|
|
<sourcefile format="KML">boundaryplacemarks.kml</sourcefile>
|
|
<pick>placemark</pick>
|
|
</geodata>
|
|
</layer>
|
|
</map>
|
|
<settings>
|
|
<property name="coordinate-grid">
|
|
<value>true</value>
|
|
<available>true</available>
|
|
</property>
|
|
<property name="overviewmap">
|
|
<value>true</value>
|
|
<available>true</available>
|
|
</property>
|
|
<property name="compass">
|
|
<value>true</value>
|
|
<available>true</available>
|
|
</property>
|
|
<property name="scalebar">
|
|
<value>true</value>
|
|
<available>true</available>
|
|
</property>
|
|
<group name="Places">
|
|
<property name="places">
|
|
<value>true</value>
|
|
<available>true</available>
|
|
</property>
|
|
<property name="cities">
|
|
<value>false</value>
|
|
<available>false</available>
|
|
</property>
|
|
<property name="terrain">
|
|
<value>false</value>
|
|
<available>false</available>
|
|
</property>
|
|
<property name="otherplaces">
|
|
<value>false</value>
|
|
<available>false</available>
|
|
</property>
|
|
</group>
|
|
<group name="Texture Layers">
|
|
<property name="streets">
|
|
<value>true</value>
|
|
<available>true</available>
|
|
</property>
|
|
<property name="bicycle">
|
|
<value>false</value>
|
|
<available>true</available>
|
|
</property>
|
|
</group>
|
|
</settings>
|
|
<legend>
|
|
<section name="streets" checkable="true" connect="streets" spacing="12">
|
|
<heading>Transportation</heading>
|
|
</section>
|
|
<section name="bicycle" checkable="true" connect="bicycle" spacing="12">
|
|
<heading>Bicycle Routes</heading>
|
|
</section>
|
|
<section name="coordinate-grid" checkable="true" connect="coordinate-grid" spacing="12">
|
|
<heading>Coordinate Grid</heading>
|
|
</section>
|
|
<section name="places" checkable="true" connect="places" spacing="12">
|
|
<heading>Places of Interest</heading>
|
|
</section>
|
|
</legend>
|
|
</document>
|
|
</dgml>
|