From: root Date: Thu, 10 Feb 2011 12:04:48 +0000 Subject: Date picker and bylines for platforms` X-Git-Url: https://maxious.lambdacomplex.org/git/?p=bus.git&a=commitdiff&h=6d5ae738dbbda058f3be93a2258a277087afc109 --- Date picker and bylines for platforms` --- --- 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,11 +29,22 @@ busness time - '.$pageTitle.' '; - if (isDebug()) echo ' - '; - else echo ' - '; + if (isDebug()) echo ' + + '; + else echo ' + + '; echo ' + + + +