[OpenLayers-Users] NationalAtlas.gov WMS usage

BigJimInDC bigjimindc at gmail.com
Fri Oct 17 16:43:11 EDT 2008


Here is also the code that I'm trying to get working:

	map = new OpenLayers.Map('map', {
		controls: [
			new OpenLayers.Control.PanZoomBar(),
			new OpenLayers.Control.ScaleLine(),
			new OpenLayers.Control.MousePosition(),
		],
		numZoomLevels: 20,
		tileSize: new OpenLayers.Size(512, 512)
	});

	map.addLayer(new OpenLayers.Layer.WMS("National Atlas States",
		"http://nationalatlas.gov/natlas/WMSProcess.asp", 
		{layers: 'grid,states', type:'gif'}
	));
	map.setCenter(new OpenLayers.LonLat(-76.77246, 38.9746), 9);



Christopher Schmidt-2 wrote:
> 
> On Fri, Oct 17, 2008 at 01:31:21PM -0700, BigJimInDC wrote:
>> 
>> Any ideas on how to make this work?  They have a ton of data layers that
>> would be useful to have easy access to, but as a new OpenLayers user,
>> I've
>> had some difficulty in getting it to work, and Google hasn't turned up
>> anything useful either.
> 
> It's typically best if you provide something you've tried that hasn't
> worked. Also, information about the WMS would be useful; not all of us
> have any idea what your'e talking about. (I don't, for example :))
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/NationalAtlas.gov-WMS-usage-tp1346818p1346877.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list