[OpenLayers-Users] cannot load layer text from a url

Christopher Schmidt crschmidt at metacarta.com
Sat Oct 20 07:58:47 EDT 2007


On Sat, Oct 20, 2007 at 02:27:53PM +0800, maning sambale wrote:
> Hi,
> 
> One Q on the Layer.Text;
> 
> this one works:
> var newl = new OpenLayers.Layer.Text( "My Points", {
> location:"./textfile.txt"} );
> 
> this one doesn't:
> var newl = new OpenLayers.Layer.Text( "My Points", {
> location:"http://cosca-dlsu-cwts.wikispaces.com/space/showimage/textfile.txt"}
> );
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#WhydoIneedaProxyHost

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list