Thanks Arnd,

That at least un-grayed the layer :-)  Still not showing up though, I'll 
tinker with it some more...

Thanks again,
Jonathan

Arnd Wippermann wrote:
> Hi,
>
> Try with adding the resolutions to your options of your layer.
>
> {numZoomLevels: 3, isBaseLayer: false,
> resolutions:map.layers[0].resolutions,
> maxResolution:map.layers[0].resolutions[0]}; 
>
> Arnd
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im
> Auftrag von Jonathan Wolfe
> Gesendet: Sonntag, 6. September 2009 12:25
> An: [email protected]
> Betreff: [OpenLayers-Users] png on spherical mercator
>
> Hi,
>
> Am I using the OpenLayers.Layer.Image correctly? All I want to do is overlay
> a png onto a google projection...The layer shows up grayed out and nothing
> is displayed.
>
> var graphic = new OpenLayers.Layer.Image(
>                 'Nautical Chart',
>                 './nautical_chart4.png',
>                 new OpenLayers.Bounds(-135.0, 17.0, -115.0, 
> 62),             <-- I tried using x,y values, but neither worked.
>                 new OpenLayers.Size(276,212),
>                 {numZoomLevels: 3,
>                     isBaseLayer: false};
>             );
> map.addLayer(graphic);
>
> Thanks for your help!
> Jonathan
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>   
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to