Hi Markus,
first of all, it would be interesting if you could describe your exact use case.
If it is the following, you do not need to make any modifications to Mapbuilder:
- you have a data source (wfs, georss, or anything like that) that is
periodically updated
- your application updates a model with the new datasource after a
certain time period
If your use case is like this, you simply add a FeatureCollection
model to your mapbuilder config, which will have a GmlRendererOL
widget. To have the points updated, you could just use the following
line in a <script> block in your html file:
var update = window.setInterval("config.loadModel('<yourModelId>',
'<yourModelUrl>')", 30000);
This would update your points every 30 seconds.
Regards,
Andreas.
On 7/31/07, Markus Innerebner <[EMAIL PROTECTED]> wrote:
> Hello to everyone,
>
> I used in my first project MapPane2 to render the moving objects. I
> simply made some modification in the related js files, added an
> additional case in MapLayerMgr and after the modifications I was able to
> see my moving points.
> As I realized in the nightlybuild examples, most of them are based now
> on openlayers using MapPaneOL. Hence I am trying to adapt my project to
> it.
> My questions are now:
> 1) Should I extend the file GMLRendererOL to support moving points?
> 2) Makes it this sense to include that code into Mapbuilder?
> 3) As this might be my first contribution to Mapbuilder, is there are
> reference person, that checks if the code integration is ok?
>
> Maybe it makes sense if I am going to partecipate on the next mapbuilder
> meeting.
>
> thanks for your suggestion
>
> Markus
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel