Mercurial > hg > LGMap
annotate map.php @ 19:3f1800e63c48
new overlay : China 1820 Prefecture (boundaries-only)
| author | Calvin Yeh <cyeh@mpipw-berlin.mpg.com> |
|---|---|
| date | Thu, 23 Mar 2017 11:13:23 +0100 |
| parents | 4151de159dbe |
| children |
| rev | line source |
|---|---|
|
7
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
1 <?php |
|
12
a599ced81534
update books_coordinates.csv for 176 missing coordinates
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
8
diff
changeset
|
2 include_once('config/config.php'); |
|
a599ced81534
update books_coordinates.csv for 176 missing coordinates
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
8
diff
changeset
|
3 global $lgdataverse_url; // only be used when we need to get data from LGDataverse |
|
a599ced81534
update books_coordinates.csv for 176 missing coordinates
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
8
diff
changeset
|
4 |
|
7
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
5 |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
6 ?> |
| 0 | 7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 8 <html> | |
|
7
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
9 <head> |
|
3
2b5a5cb5d6d1
update books_coordinates.csv
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
|
2b5a5cb5d6d1
update books_coordinates.csv
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
11 <link href="map.css" type="text/css" rel="stylesheet"/> |
|
2b5a5cb5d6d1
update books_coordinates.csv
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
0
diff
changeset
|
12 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/javascript"></script> |
| 0 | 13 <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> |
| 14 <link href="./geotemco/css/platin.css" rel="stylesheet" type="text/css"> | |
| 15 <link href="WindowWidget.css" rel="stylesheet" type="text/css"> | |
|
7
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
16 |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
17 <script type="text/javascript"> |
| 11 | 18 lgdataverse_url = JSON.parse('<?php echo json_encode($lgdataverse_url) ?>'); |
|
14
4151de159dbe
merge for updating books_coordinates.csv for 176 missing coordinates
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
13
diff
changeset
|
19 var client_ip="<?php echo $_SERVER['REMOTE_ADDR']?>"; |
|
7
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
20 </script> |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
21 |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
22 <script src="./geotemco/platin.js"></script> |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
23 <script src="map.js"></script> |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
24 <script src="WindowWidget.js"></script> |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
25 </head> |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
26 |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
27 <body> |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
28 |
| 0 | 29 <div id="leftWrapper"> |
| 30 <div class="container overlayLoader"> | |
| 31 <div id="overlayLoaderContainer"></div> | |
| 32 </div> | |
| 33 <div class='container toolbar'> | |
| 34 <div id="toolbarContainer"> | |
| 35 <div id="datasetIcon" class="icon" title="dataset"><img src="./images/dataset.png"/></div> | |
| 36 <div id="overlayIcon" class="icon" title="overlay"><img src="./images/overlay.png"/></div> | |
| 37 <div id="pieChartIcon" class="icon" title="pie chart"><img src="./images/pieChart.png"/></div> | |
| 38 <div id="timelineIcon" class="icon" title="timeline"><img src="./images/timeline.png"/></div> | |
| 39 <div id="aboutIcon" class="icon" title="about"><img src="./images/about.png"/></div> | |
| 40 </div> | |
| 41 </div> | |
| 42 </div> | |
| 43 <div id="rightWrapper"> | |
| 44 <div class="container map"> | |
| 45 <div id="mapContainer"></div> | |
| 46 </div> | |
| 47 <div class="container table" title="table"> | |
| 48 <div id="tableContainer"></div> | |
| 49 </div> | |
| 50 </div> | |
| 51 <div class="container dataset windowWidget" title="Dataset"> | |
| 52 <div id="datasetContainer"> | |
| 53 </div> | |
| 54 </div> | |
| 55 <div class="container overlay windowWidget" title="Overlay"> | |
| 56 <div id="overlayContainer"> | |
| 57 </div> | |
| 58 </div> | |
| 59 <div class="container pieChart windowWidget" title="Pie chart"> | |
| 60 <div id="pieChartContainer"></div> | |
| 61 </div> | |
| 62 <div class="container timeline windowWidget" title="Timeline"> | |
| 63 <div id="timelineContainer"></div> | |
| 64 </div> | |
| 65 <div class="container about windowWidget" title="About"> | |
| 66 <div id="aboutContainer"> | |
| 67 <?php | |
| 68 //write the description of the project in about.php | |
| 69 include("about.php"); | |
| 70 ?> | |
| 71 </div> | |
|
7
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
72 </div> |
|
0330b2138c87
add collecting post data from LGDataverse
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
3
diff
changeset
|
73 |
| 0 | 74 </body> |
| 75 </html> |
