Add explanatory text to georss and TMS examples after comments from John.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4316 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
<form onsubmit="return false;">
|
||||
GeoRSS URL: <input type="text" id="url" size="50" /><input type="submit" onclick="addUrl(); return false;" value="Load Feed" onsubmit="addUrl(); return false;" />
|
||||
</form>
|
||||
<p>The above input box allows the input of a URL to a GeoRSS feed. This feed can be local to the HTML page -- for example, entering 'georss.xml' will work by default, because there is a local file in the directory called georss.xml -- or, with a properly set up ProxyHost variable (as is used here), it will be able to load any HTTP URL which contains GeoRSS and display it. Anything else will simply have no effect.</p>
|
||||
<div id="map"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -37,7 +37,13 @@
|
||||
</head>
|
||||
<body onload="init()">
|
||||
URL of TMS (Should end in /): <input type="text" id="url" size="60" value="http://labs.metacarta.com/wms-c/Basic.py/" /> layer_name <input type="text" id="layer" value="satellite" /> <select id="type"><option>jpg</option><option>png</option></select> <input type="submit" onclick="addTMS()"/><br />
|
||||
Example: http://labs.metacarta.com/wms-c/Basic.py/, satellite, jpg
|
||||
<p>
|
||||
Example: http://labs.metacarta.com/wms-c/Basic.py/, satellite, jpg<br />
|
||||
The first input must be an HTTP URL pointing to a TMS instance. The second
|
||||
input must be a layer name available from that instance, and the third must
|
||||
be the output format used by that layer. (Any other behavior will result in
|
||||
broken images being displayed.)
|
||||
</p>
|
||||
<div id="map"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user