[OpenLayers-Users] Question on changing Popups on Textlayer

Christopher Schmidt crschmidt at metacarta.com
Mon Nov 17 10:26:23 EST 2008


On Mon, Nov 17, 2008 at 10:22:43AM -0500, Yves Moisan wrote:
> 
> 
> > 
> > > If Layer.GML is so much better, is there a tool to merge already existent textfiles into this layer?
> > 
> > Yes, 
> >   new OpenLayers.Layer.GML("My Layer", 
> >                            "filename.txt", 
> >                            {format: OpenLayers.Format.Text });
> 
>   projects = new OpenLayers.Layer.Text( "Projects",
> {location:"project-locations.txt", projection: new
> OpenLayers.Projection("EPSG:4326")} );
>       
>  projects = new OpenLayers.Layer.GML("Projects", 
>                            "project-locations.txt", 
>                    {format: OpenLayers.Format.Text, projection: new
> OpenLayers.Projection("EPSG:4326") });

How does it not? can you provide an example? It should.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list