On Fri, Aug 6, 2010 at 11:33 AM, Alexandre Saunier
<[email protected]> wrote:
> Hello,
>
> I have tried to integrate a MousePosition control within a mappanel
> toolbar as described in
> http://trac.geoext.org/attachment/ticket/195/195.0.patch
>
> But (at least?) with ExtJS 3.2.1 it doesn't seem to work: the "el"
> property of the component is not defined in the render() method. Thus
> coords are displayed on the map, not in the toolbar. If placed in an
> afterRender() method, "el" seems OK (including the coordinates from
> the control) but nothing is displayed anywhere

For the record, Alexandre and I figured this one out. this.el.dom
(instead of this.el) should be provided to the MousePosition control.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to