Added default.aspx and some readme files
This commit is contained in:
parent
482c07ed8a
commit
e61997183c
5 changed files with 41 additions and 0 deletions
1
web/readme.txt
Normal file
1
web/readme.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Update map.js and set tileUrl and updateUrl
|
||||
3
web/tiles/readme.txt
Normal file
3
web/tiles/readme.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Set map.js tileUrl to this folder
|
||||
Also set map-tilepath in server.properties to point to this folder.
|
||||
New tile images will be generated here by the plugin
|
||||
16
web/up/default.aspx
Normal file
16
web/up/default.aspx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<%@ Page Language="C#" %>
|
||||
<script runat="server" language="C#">
|
||||
public void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
string lasttimestamp = Request.Params["lasttimestamp"];
|
||||
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create("http://localhost:8123/" + lasttimestamp);
|
||||
System.Net.WebResponse response = request.GetResponse();
|
||||
System.IO.Stream responseStream = response.GetResponseStream();
|
||||
System.IO.StreamReader reader = new System.IO.StreamReader(responseStream);
|
||||
Response.ContentType = "text/plain";
|
||||
Response.Write(reader.ReadToEnd());
|
||||
reader.Close();
|
||||
responseStream.Close();
|
||||
response.Close();
|
||||
}
|
||||
</script>
|
||||
2
web/up/readme.txt
Normal file
2
web/up/readme.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
default.aspx is not required for all installations.
|
||||
If you are running a windows server with IIS, it may help in your setup.
|
||||
Loading…
Add table
Add a link
Reference in a new issue