[OpenLayers-Users] can't read text layer

David Hollema dhollema at UnitedPower.com
Mon Jan 5 18:24:38 EST 2009


I'm having trouble simply reading a text file layer (tab-delimited).  I
see no marker on my map and I verified that I'm at coord 0,0.

	var newl = new OpenLayers.Layer.Text( "text file", {location:
"http://upigis/joint use/test.txt"} );
	map.addLayer(newl);

Here's my example text file:

point	title	description	iconSize	icon 
0,0	title	desc	1,1	http://upigis/joint use/marker.png

David A. Hollema
GIS Analyst
 
United Power, Inc.
Direct: 303-637-1366
Fax: 303-637-1366
www.unitedpower.com
 
Physical Address
500 Cooperative Way
Brighton, CO 80603
Mailing Address
P.O. Box 929
Brighton, CO 80601



More information about the Users mailing list