> -----Original Message-----
> From: Ali Khan [mailto:akhan@anonymised.com]
>
> Thanks for the help but my script seems to break.
> This is what i have
> var wmsLayer = new OpenLayers.Layer.WMS(
> "Original Style", "http://dev.mysite.com:80/geo/wms",
> {
> width: '500',
> srs: 'EPSG:4326',
> layers: 'geodb:world',
> height: '362',
> sld: 'http://dev.mysite.com/Apps/PTRS/geo/cname2.sld’,
> format: 'image/png', tiled: 'true', tilesOrigin :
> "-197.99999999999818,-98.57637049999775"
> },
> {maxExtent: bounds, maxResolution: 1.546875, projection:
> "EPSG:4326"}
> );
>
> When I attempt this the pictures come up broken. What
> exactly am I doing incorrectly?
Are you getting any javascript errors in your browser? Otherwise it's
most likely a problem with your SLD. Could you post a link to it?
Regards,
Miles
___________________________________________________________________________
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________