[OpenLayers-Users] available WMS maps and troubleshooting

Vika Victoria.Elinson at nasa.gov
Thu Oct 29 12:33:42 EDT 2009


Thank you for the responses. It works now!

Victoria


Vika wrote:
> 
> Hi, 
> 
> I am very new to OL. I am trying to load Topo Map layer according to a
> sample usage http://trac.openlayers.org/wiki/AvailableWMSServices
> 
>  // create map options
>     var options = {
>         resolutions:
> [0.46875,0.3515625,0.17578125,0.087890625,0.0439453125],
>         controls: []
>     };
> 
>  var map = new OpenLayers.Map('map', options);
> 
>   var drg = new OpenLayers.Layer.WMS("Topo Maps",
>                 "http://terraservice.net/ogcmap.ashx",
>                 {layers: "DRG"});
>  map.addLayers([drg]);
> 
> However I get pink tile. The location of an image is
> http://openlayers.org/dev/img/blank.gif
> What does this mean ? How can I troubleshoot the problem ?
> 
> thanks
> 
> Victoria
> 
> 

-- 
View this message in context: http://n2.nabble.com/available-WMS-maps-and-troubleshooting-tp3908016p3913924.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list