In my application, each time I add a feature of the type I want listed, I add a call to a javascript function (jquery, actually) that adds it to my list on the side.

There are many pre-existing scripts for sortable tables and the like, but there will be some javascript coding.

An alternative would be to render the page with a mixture of js and PHP, where PHP (or some other server-side language) queries the database and spits out properly-formatted web page elements. I'm doing that right now and can say that at the end of the day you end up looking at as much javascript as you would have otherwise. But I got it to work, so that's something.

Whether you use XML or JSON or .csv or (as I do) a rendered .js file to transfer the data to the web page is a matter of design choice.

Michael

On 5/25/2011 7:48 AM, Miguel Chang wrote:
I want to show a sidebar with the information of the markers, kind of list where I could sort the data by date or by location and by selecting this list it directly shows me the position on the map.



> CC: [email protected]
> From: [email protected]
> Subject: Re: [OpenLayers-Users] Questions about Markers and Text markers
> Date: Wed, 25 May 2011 00:49:34 -0500
> To: [email protected]
>
> Can you clarify what you're trying to do? By definition if you want to mess with the text on the client side you'll need jscript...which is what ol does.
>
> Sent from my mobile device
>
> On May 24, 2011, at 11:28 PM, Miguel Chang <[email protected]> wrote:
>
> > Hello there, I´m implementing a web page using Openlayer as the map provider and so far it seems to work... but I have some troubles with the markers because I want to show the information both at the map and on the page itself, is there anyway to manipulate the data from text file once loaded? also I´m looking for a more direct approach on feeding the data, like extracting directly from a database, is there any implementation that does not involves a lo of javascript coding ?
> >
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://lists.osgeo.org/mailman/listinfo/openlayers-users


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to