[OpenLayers-Users] Single image tiles...

Christopher Schmidt crschmidt at crschmidt.net
Mon Jun 26 12:42:21 CDT 2006


On Mon, Jun 26, 2006 at 12:27:37PM -0500, Steve Lime wrote:
> Very cool indeed. However there is a difference between a non-tiled layer and a layer
> with only a single tile (e.g. limited extent). With the latter you could overlay a custom
> map from who-knows-where on top of tiles. Your fixed extent radar image is a good 
> example.

var map = new OpenLayers.Map('mapDiv', {controls:[], maxResolution:'auto'});
map.addLayer(new OpenLayers.Layer.WMS.Untiled());
map.setCenter();

controls:[] gets rid of the panzoom *and* mouse controls -- with no
controls on the page, there would be no way to move the map. This would
allow you to build exactly the kind of thing you're talking about, I
think?

If not, let us know what else you might need?

-- Chris

> Steve
> 
> >>> "David William Bitner" <bitner at gyttja.org> 6/26/2006 11:51:21 AM >>>
> Steve,
> It can take a single image that is the size of the viewport right now
> (basically a layer that behaves like 'traditional' map serving apps).
> 
> See: http://openlayers.org/dev/examples/notile.html 
> 
> On 6/26/06, Steve Lime <Steve.Lime at dnr.state.mn.us> wrote:
> >
> > Hi all: I see that Open Layers can support multiple tiling schemes (sizes,
> > resolution). Does it follow that
> > it could also support a tiling scheme that consists of a single image of
> > arbitrary size?
> >
> > Steve
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org 
> > http://mailman-viper.python-hosting.com/listinfo/users 
> >
> 
> 
> 
> -- 
> ************************************
> David William Bitner
> bitner at gyttja.org
> 
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://mailman-viper.python-hosting.com/listinfo/users

-- 
Christopher Schmidt
Web Developer


More information about the Users mailing list