view readme.txt @ 20:982f98f0e52e

for ssl protocol
author Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
date Thu, 23 Mar 2017 11:13:24 +0100
parents e46b45b431a1
children
line wrap: on
line source

<< 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
t/ 					tilelayers

------------------------------------------------------------------------------------------------------------------------


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