[ogmaps commit] r5 - trunk

1 view
Skip to first unread message

codesite...@google.com

unread,
Dec 3, 2007, 2:39:49 PM12/3/07
to ogmaps-...@googlegroups.com
Author: pub...@kered.org
Date: Mon Dec 3 11:39:28 2007
New Revision: 5

Modified:
trunk/ogmaps.py

Log:
removed the upper-right controls


Modified: trunk/ogmaps.py
==============================================================================
--- trunk/ogmaps.py (original)
+++ trunk/ogmaps.py Mon Dec 3 11:39:28 2007
@@ -153,6 +153,7 @@
js = js.replace('function rf(a,b){','function rf(a,b){b = b.replace("tiles/mt?","tiles/mt_");')
js = js.replace('mb("/maps/gen_204?ev=failed_tile&cad="+f)','mb("data/transparent.png")')
js = js.replace('document.body.style[Nk]=$(0);document.body.style[Fe]=$(8)','')
+ js = js.replace('this.u.id="hmtctl";','this.u.id="hmtctl";this.u.style.display="none";')
file = open(
os.path.join(RUN_FROM_DIR, 'data', 'main.js'), 'w' )
file.write( js )
file.close()
@@ -163,6 +164,7 @@
oa = openanything.fetch(mapfiles+'/mod_cb.js')
js = oa['data']
js = js.replace('/mapfiles/cb','data')
+ js = js.replace('c.id="cbcontrol";','c.id="cbcontrol";c.style.display="none;";')
file = open(
os.path.join(RUN_FROM_DIR, 'data', 'mod_cb.js'), 'w' )
file.write( js )
file.close()

Reply all
Reply to author
Forward
0 new messages