|
From: Mikael C. <mik...@cl...> - 2010-03-10 16:07:53
|
Nevermind, I found it
2010/3/10 Mikael Couzic <mik...@cl...>
> Hi all,
>
>
> I was creating a MultiPolygon class in the geometry package, and to get
> some inspiration I was looking at the Polygon and PolygonImpl classes. In
> the PolygonImpl.create(rings) method, I expected to see something like :
> create(JSObject rings)/*-{
> return new wnd.OpenLayers.Geometry.Polygon(rings);
> }-*/;
>
> However, here's what I found :
> create(JSObject rings)/*-{
> return new $wnd.gwt_openlayers_util.relay.createPolygon(rings);
> }-*/;
>
> My problem is that I have absolutely no idea how this works, and I don't
> know where and what to look for. I'm still going to try and wrap the
> MultiPolygon, but I suspect I'm not going to succed until I resolve this
> mystery.
>
> Do you guys have any advice ?
>
>
> --
> Mikael Couzic
> Pôle Business Intelligence
> Groupe Cliris
>
--
Mikael Couzic
Pôle Business Intelligence
Groupe Cliris
|