<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19046"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=347360317-18042011><FONT color=#0000ff 
size=2 face=Arial>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=347360317-18042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=347360317-18042011><FONT color=#0000ff 
size=2 face=Arial>in the attached textfile there is a blank instead of tabulator 
between point and title in the header. Change the blank to tab and it should 
work.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=347360317-18042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=347360317-18042011><FONT color=#0000ff 
size=2 face=Arial>Arnd</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=347360317-18042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT size=2 face=Tahoma><B>Von:</B> Sukuchha Shrestha 
[mailto:sukuchha@yahoo.de] <BR><B>Gesendet:</B> Montag, 18. April 2011 
09:56<BR><B>An:</B> users@openlayers.org<BR><B>Cc:</B> 
arnd.wippermann@web.de<BR><B>Betreff:</B> WG: AW: [OpenLayers-Users] example of 
OpenLayers.Format.Text using vectors<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV 
style="FONT-FAMILY: 'times new roman', 'new york', times, serif; FONT-SIZE: 12pt">
<DIV>Hi Arnd,</DIV>
<DIV><BR></DIV>
<DIV>My projection of the Map is also WGS1984. And my textfile are in the format 
point, tittle which i have attached to the mail.</DIV>
<DIV><BR></DIV>
<DIV>sukuchha&nbsp;</DIV>
<DIV 
style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV 
style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT 
size=2 face=Tahoma>----- Weitergeleitete Mail ----<BR><B><SPAN 
style="FONT-WEIGHT: bold">Von:</SPAN></B> Arnd Wippermann 
&lt;arnd.wippermann@web.de&gt;<BR><B><SPAN 
style="FONT-WEIGHT: bold">An:</SPAN></B> Sukuchha Shrestha 
&lt;sukuchha@yahoo.de&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">CC:</SPAN></B> 
users@openlayers.org<BR><B><SPAN style="FONT-WEIGHT: bold">Gesendet:</SPAN></B> 
Freitag, den 15. April 2011, 21:36:59 Uhr<BR><B><SPAN 
style="FONT-WEIGHT: bold">Betreff:</SPAN></B> AW: [OpenLayers-Users] example of 
OpenLayers.Format.Text using vectors<BR></FONT><BR>
<META content=off http-equiv=x-dns-prefetch-control>
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>

<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial>your code snippet seems to be correct.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial>What projection you are using for your 
map?&nbsp;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial>Can the textfile be found?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial>Arnd</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=025262719-15042011><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT size=2 face=Tahoma><B>Von:</B> 
openlayers-users-bounces@lists.osgeo.org 
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>Im Auftrag von </B>Sukuchha 
Shrestha<BR><B>Gesendet:</B> Freitag, 15. April 2011 17:07<BR><B>An:</B> 
openlayers-users@lists.osgeo.org<BR><B>Betreff:</B> [OpenLayers-Users] example 
of OpenLayers.Format.Text using vectors<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-FAMILY: times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times, serif; COLOR: black; FONT-SIZE: 12pt">Hello nice 
people,</DIV>
<DIV style="FONT-FAMILY: times, serif; COLOR: black; FONT-SIZE: 12pt"><BR></DIV>
<DIV style="FONT-FAMILY: times, serif; COLOR: black; FONT-SIZE: 12pt">I am 
trying to load my point data in a text file but somehow it is not working. I 
have scour the mail list, but still i am able to display my points ! My points 
are in the format of text file separated by tab ! Why it is not working ? If 
anybody can help, i would be a happy man !!</DIV>
<DIV style="FONT-FAMILY: times, serif; COLOR: black; FONT-SIZE: 12pt"><BR></DIV>
<DIV>
<DIV><FONT class=Apple-style-span 
face="'times new&#10; roman', 'new york', times, serif">
<DIV><BR></DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;//Add vector layer</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;vector_layer = new 
OpenLayers.Layer.Vector('Basic Vector Layer', {</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;protocol: new 
OpenLayers.Protocol.HTTP({</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;url: "map_data.txt",</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;format: new 
OpenLayers.Format.Text()}),</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>projection: new 
OpenLayers.Projection("EPSG:4326")</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>});</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN></DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN></DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;map.addLayer(vector_layer);</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; map.addControl( new 
OpenLayers.Control.LayerSwitcher());</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>&nbsp;</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN></DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>sukuchha&nbsp;</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;</DIV></FONT></DIV></DIV>
<DIV 
style="FONT-FAMILY: times, serif; COLOR: black; FONT-SIZE: 12pt"></DIV></DIV>
<META content=on http-equiv=x-dns-prefetch-control></DIV></DIV>
<DIV style="POSITION: fixed"></DIV></DIV></BODY></HTML>