2768aa6c4d65f620878b73eb12a8d5340d3e298d
[plewww.git] / misc / googlemap-notes.txt
1 ==== packaged stuff, either in plcwww or myplc :
2
3 * wrote /var/www/html/misc/googlemap.js
4 -> has initial center & zoom hardcoded, as well as the clip window
5
6 * updated plc-map.py to generate /var/www/html/sites/plc-sites.js
7 -> this is a js file that contains (unclipped) sites description
8
9 * added two icons in misc/ named google-plc.png and google-ple.png 
10 -> in need for better names some day
11
12 ==== on planet-lab.eu
13
14 * defined a new input format that supports both php and textile -
15   order does not seem important
16
17 * gave up the idea of showing the googlemap on the main page -- too slow
18 * hacked googlemap.js to clip/filter-out non-EU sites to speed up, still too slow
19 * so went for creating a separate page that can be accessed for the right menu as 'Map'
20
21 * used that new input format (could have used php directly in fact since it's on its own now)
22
23 * in this page :
24 - uses php's drupal_set_html_head to download google api with related key
25 - uses php's drupal_add_js to insert sites/plc-sites.js
26 - uses php's drupal_add_js to insert misc/googlemap.js
27 - and quotes the <div id="map" > thing
28
29 and that's about it