From: root Date: Thu, 10 Feb 2011 07:33:52 +0000 Subject: Add html/pdf inconsistency fixes X-Git-Url: https://maxious.lambdacomplex.org/git/?p=bus.git&a=commitdiff&h=e031a5df0be46540bc99eb526ba9b1ed120c0513 --- Add html/pdf inconsistency fixes --- --- a/betweenpoint.php +++ b/betweenpoint.php @@ -10,7 +10,7 @@ // create the ol map object var map = new OpenLayers.Map('map'); - var osmtiles = new OpenLayers.Layer.OSM("local", "http://10.0.1.154/tiles/${z}/${x}/${y}.png") + var osmtiles = new OpenLayers.Layer.OSM("local", "/tiles/${z}/${x}/${y}.png") // use http://open.atlas.free.fr/GMapsTransparenciesImgOver.php and http://code.google.com/p/googletilecutter/ to make tiles markers = new OpenLayers.Layer.Markers("Between Stop Markers"); @@ -76,7 +76,7 @@ '; } ?> -var timeicon = new OpenLayers.Icon("http://maps.google.com/mapfiles/kml/pushpin/grn-pushpin.png",new OpenLayers.Size(32,32)); +var timeicon = new OpenLayers.Icon("icong.png",new OpenLayers.Size(16,16)); var timepoints = new OpenLayers.Layer.GeoRSS("Timing Points", "displaytimepoints.georss.php", { icon: timeicon }); map.addLayers([osmtiles, markers,timepoints]); --- a/busui/common.inc.php +++ b/busui/common.inc.php @@ -29,10 +29,10 @@ busness time - '.$pageTitle.' '; - if (isDebug()) echo ' - '; - else echo ' - '; + if (isDebug()) echo ' + '; + else echo ' + '; echo '