Hi,
I am experiencing the sample problem and wonder if there is anybody out there that can help me. My Map loads fine in my Ka-Map viewer. I just get the error pink tiles in OL: Tile Request from Ka-Map - Works http://localhost:8070/kamap/tile.php?map=gmap&t=-24832&l=33280&s=25781&g=IRL&i=gif Tile Request from OL - Fails http://localhost:8070/kamap/OLTile.php?g=IRL&map=gmap&i=GIF&t=512&l=6144&s=NaN OL Code: <div style="width:100%; height:100%" id="map"></div> <script defer="defer" type="text/javascript"> var options = { Bounds: new OpenLayers.Bounds(0, 0, 450000, 450000), projection: "EPSG:29903", units: "meters" }; map = new OpenLayers.Map( $('map') , options); var jpl = new OpenLayers.Layer.KaMap( "IRL", "http://localhost:8070/kamap/OLTile.php", {g: "IRL", map: "gmap", i:"GIF"}); map.addLayer(jpl); map.addControl(new OpenLayers.Control.OverviewMap()); map.zoomToFullExtent(); </script> Any Help or guidance would be much appreciated Thanks, Roger Kunkel wrote: > > Hi, > > I just discovered OpenLayers and I think it's great. Thanks to all > contributors. > > I'm having trouble getting my kamap layer to work. It seems there is > no scale value being sent with tile requests: > > My set up looks like: > var map = new OpenLayers.Map("map", {maxExtent: new OpenLayers.Bounds > (-373976.58, -604526.09, 540015.4, 450070.88), maxResolution: "auto", > units: 'meters', projection: "EPSG:65538"}); > var cv = new OpenLayers.Layer.KaMap( "CalView", "http:// > casil.ucdavis.edu/geofinder/tile.php", {g: "CalView", map: > "calview"}, 'meters', 72); > map.addLayer(cv); > > I get the pink squares. Looking at tile img properties reveals that > s=NaN > If I substitute a s value in the tile url, I do get an image. > > Anyone have suggestion? > Thanks > > > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Ka-Map-Layer-Scale-tf3095681.html#a12130210 Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
