diff map/readme.txt @ 0:b12c99b7c3f0

commit for previous development
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 19 Jan 2015 17:13:49 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/map/readme.txt	Mon Jan 19 17:13:49 2015 +0100
@@ -0,0 +1,34 @@
+<< The Visualization of Local Monographs >>
+
+map.php				loads a predefined csv, overlay, and map file and visualize using sebastian's library
+map.php?mode=1			map.php with different toolbar layout
+map.js				javascript file for map.php
+map.css				css file for map.css
+about.php			the file containing description of the map.php program
+get_coordinates_for_listed_books.php	Read the specified file with a book list stored under search/csv_files/,  get the coordinates for the books, write to the specified file, store it under datasets/, and redirect to map.php
+					File name must be given: file=filename.csv; Name must be given: name=name , i.e. the url should be get_coordinates_for_listed_books.php?file=filename&name=name
+WindowWidget.*				javascript class enabling windows within the html document
+
+datasets/				input csv files for the program map.php
+images/					the image files for the program map.php
+coordinates/				the programs getting coordinates of each local monograph from CHGIS
+
+
+------------------------------------------------------------------------------------------------------------------------
+
+
+To change the list of background maps:
+Find the variable "backgroundMapArray" in map.js, and alter the list in accordance with the format.
+
+To change the list of overlays:
+Find the variable "overlayArray" in map.js, and insert a new overlay by giving "name" and "layer name". The name is to be displayed to the users. The layer name refers to the "name" as seen in GeoServer in layer preview.
+
+To change the list of dataset (csv format):
+Find the variable "datasetArray" in map.js, and insert a new dataset by giving "name" and "path". The name is to be displayed to the users. The path refers to the path to the csv file.
+
+To change the colors representing the datasets:
+Find the variable "colorArray" in map.js, and insert new colors. r1, g1, b1 refer to the color shown when the dataset is active/chosen. r0, g0, b0 refer to the color shown when the dataset is inactive/not chosen.
+
+To locate the "overlay" panel in the map:
+Give the parameter mode=1 in the url for map.php, i.e. map.php?mode=1
+