Hi,

caught you people not even looking at the new stuff! Because I forgot
to commit the latest changes of config.xml for the GeoBliki example,
you would have had to complain about a non-working example...

Anyway, I just commited the changes.

Regards,
Andreas.

On 5/22/07, Andreas Hocevar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> you have not heard from me for quite some time, but there was some
> progress with OL integration anyway.
>
> I have ported the GeoBliki example to OpenLayers. As a side effect, it
> now also works in IE.
>
> Around this example, some interesting new things emerged:
>
> widget/GmlRendererOL.js
> This widget uses a subclass of the OpenLayers GML layer. It does not
> get its GML directly from an URL, but from a xml doc. This doc can
> either be a Mapbuilder model (preferrably FeatureCollection), or a
> valid WFS FeatureCollection derived from a Mapbuilder model using an
> xsl transformation. By doing so, also a GeoRSS model and anything that
> contains GML geometries can be rendered using GmlRendererOL.
> GmlRendererOL also fires a gmlRendererLayer event. This event notifies
> a FeatureCollection model of the existence of a layer into which the
> content of the model will be rendered. It is fired using setParam and
> contains a reference to the OpenLayers layer.
>
> tool/FeatureSelectHandler.js
> This is a tool that manages highlighting and selecting vector
> features. It is initialized on a gmlRendererLayer event, which
> currently is triggered by GmlRendererOL.
> This tool also highlights a vector feature onmouseover, using the
> OpenLayers default style for selected vector features (TBD: make this
> style configurable).
> Widgets that listen for the olReatureSelect event can handle click
> events on a selected feature. They get an OpenLayers event object as
> parameter, extended with a feature property holding the feature on
> which the event occured.
>
> widget/TipWidgetOL.js
> This replaces TipWidget.js. It uses OpenLayers poupus instead of
> Overlib popups for displaying popup information. Because these popups
> are placed inside the map, they should not be larger than half of the
> MapPane, to make sure they fit into the map pane. The xsl
> transformation is a little bit different from the old TipWidget xsl,
> because it gets the fid of the selected feature as stylesheet
> parameter. The popup information is the fetched directly from the
> underlying model doc.
>
> From here, it will be no problem to port the shipTracks demo to
> OpenLayers. All that is needed is an XSL transformation to convert
> GeoRSS to WFS FeatureCollection, then the new widgets described above
> will do the rest of the job.
>
> I hope you like the new stuff - it is in the ol-integration sandbox of course.
>
> Regards
> Andreas.
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to