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

maning sambale emmanuel.sambale at gmail.com
Sat Oct 20 02:27:53 EDT 2007


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"}
);

cheers,

maning



-- 
|---------|----------------------------------------------------------|
| __.-._  |"Ohhh. Great warrior. Wars not make one great." -Yoda     |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
|  /'.-c  |Linux registered user #402901, http://counter.li.org/     |
|  |  /T  |http://esambale.wikispaces.com|
| _)_/LI  |http://www.geocities.com/esambale/philbiodivmap/philbirds.html   |
|---------|----------------------------------------------------------|



More information about the Users mailing list