[OpenLayers-Users] Mapserver and Openlayers - Pink Tiles
Chris Adams
chris at genieknows.com
Wed Apr 15 12:38:43 EDT 2009
Try using wget to download one of the tiles, mapserv will often put
error messages in place of the image (i.e. maybe your paths to mapserv &
the map file are correct). Also, you need to specify each layer by name
when you create your OpenLayers.Layer.MapServer, or at least I have not
found a way that works to turn them all on regardless.
sendeman wrote:
>
> The path to the 'mapserv' application should be in fact a URL, which can
> be accessed from any computer suitable for viewing the map. The path to
> your map file is a file path within the server.
>
> i.e.
>
> layer = new OpenLayers.Layer.MapServer("MyMap","http://myserver/cgi-bin/mapserv", {map: "c:\maps\mymap.map"} );
>
>
> Thanks for your reply. Tried it (and some derivatives), but still pink tiles and Firefox still wants to save the image-url when I paste one of the locations of the url's.
>
> What could be wrong??
>
> I hope someone can help me out.
>
> Best regards,
> Martijn Senden.
>
More information about the Users
mailing list