Re: [Mapbuilder-devel] GML DynamicFeatures rendering with OpenLayers

2007-08-02 Thread Andreas Hocevar
Hi Markus, On 8/3/07, Markus Innerebner <[EMAIL PROTECTED]> wrote: > It is not yet clear, if I should load the entire trajectory data of > several buses in the model, or I will only load and reload a subset into > the model and load a second subset in a further moment with the > intention to avoid

Re: [Mapbuilder-devel] GML DynamicFeatures rendering with OpenLayers

2007-08-02 Thread Markus Innerebner
Hi Andreas, ok, now I have a clearer idea how to implement it with MVC: the widget (View) will be implemented using openlayers the tool (loads the data in the model) and the getter returns always an instant (or probably a set of instants (ca 100) to be processed next). Probably I will use the jav

Re: [Mapbuilder-devel] Printing from MapBuilder

2007-08-02 Thread Diez, Matthew
Something like: function getVisibleLayerList(mapElement) { var layers = mapElement.containerModel.getAllLayers(); var layerConfig = ""; for (var i = 0; i < layers.length; i++) { var currentLayer = layers[i]; var layerName = currentLayer.selectSingleNode("wmc:Name").firstChild.nodeValue; var hidd

Re: [Mapbuilder-devel] GML DynamicFeatures rendering with OpenLayers

2007-08-02 Thread Markus Innerebner
> No, I was just thinking loud about a way to implement this cleanly in > a MVC manner: a widget that paints the points, and a tool that is > responsible for loading your data into the model, marking the next > timeframe to process there, and triggering the paint event in your > widget. But there