Mercurial > hg > LGMap
diff map.js @ 8:8f05c2a84bba
Apply new platin and Add tree layers
author | nylin@mpiwg-berlin.mpg.de |
---|---|
date | Wed, 07 Oct 2015 11:09:20 +0200 |
parents | 0330b2138c87 |
children | e46b45b431a1 |
line wrap: on
line diff
--- a/map.js Fri Sep 04 16:16:10 2015 +0200 +++ b/map.js Wed Oct 07 11:09:20 2015 +0200 @@ -5,18 +5,19 @@ var overlayArray=[ {name:"provincial distribution of local monographs", file:"China_Monograph_Project:monograph_distribution_prov_x", - preload:true + preload:false }, - { + /*{ name:"test", file:"China_Monograph_Project:v5_citas90_pref_pgn_utf", preload:false - }, + },*/ { name:"provincial capitals", file:"China_Monograph_Project:all_monographs_capital_points", preload:false - }]; + } + ]; var datasetArray=[{name:"distribution of local monographs", file:"./datasets/books_coordinates.csv", preload:true @@ -27,12 +28,31 @@ file:"./datasets/provincial_capital_coordinates.csv", preload:false }]; -var backgroundMapArray=[{ +var backgroundMapArray=[ + /*{ name: 'Barrington Roman Empire', - url: 'http://pelagios.dme.ait.ac.at/tilesets/imperium/${z}/${x}/${y}.png', - type:'XYZ', - attribution: "(c) Barrington Roman Empiry, <a href='http://pelagios.dme.ait.ac.at/maps/greco-roman/'>Pelagios</a>" - }]; + url: 'http://pelagios.dme.ait.ac.at/tilesets/imperium/${z}/${x}/${y}.png', + type:'XYZ', + attribution: "(c) Barrington Roman Empiry, <a href='http://pelagios.dme.ait.ac.at/maps/greco-roman/'>Pelagios</a>" + },*/ + { + name: '中國地形圖', + url: 't/China/${z}/${x}/${y}.png', + type:'XYZ', + attribution: "(c) mpiwg-berlin, <a href='https://www.mpiwg-berlin.mpg.de'>Max Planck Institute for the History of Science</a>" + }, + { + name: '陳正祥–蝗神廟之分佈', + url: 't/pa-cha/${z}/${x}/${y}.png', + type:'XYZ', + attribution: "(c) 中國文化地理 陳正祥, <a href='https://zh.wikipedia.org/wiki/%E9%99%B3%E6%AD%A3%E7%A5%A5'>wikipedia</a>" + },{ + name: '西元1820年 清朝 行政區', + url: 'http://wmsproxy.appspot.com/map.jsp?l=China1820-png-${z}-${x}-${y}', + type:'XYZ', + attribution: "(c) NTU CSIE 303 Lab, <a href='http://archimedes.csie.ntu.edu.tw/lab_web1/'>NTU 303 Lab</a>" + } + ]; var colorArray=[{//blue r1 : 0, g1 : 128,