|
From: Cerávolo, R. V.B. <raf...@gm...> - 2010-06-21 13:45:45
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jon,<br>
<br>
I'm using SmartGWT with OpenLayers and it works (almost) fine!<br>
<br>
I'm using with a VLayout, but I suppose it will work with HLayout as
well. <br>
<br>
I'm doing this:<br>
<br>
Layout v_layoutMapa = new VLayout();<br>
this.addMember(v_layoutMapa);<br>
v_layoutMapa.addMember(m_mapWidget);<br>
v_layoutMapa.setWidth100();<br>
v_layoutMapa.setHeight("*");<br>
<br>
where "this" refers to a class that inherits from VLayout.<br>
<br>
But you will have some issues using with SmartGwt (well, actually, I
didn't tested these issues without Smart to see if it is a SmartGwt
problem or a OpenLayers problem):<br>
<ul>
<li>When showing maps inside Tabs (the main tabs like in the SmartGwt
showcase), switching from a tab with a map to another tab, the Features
added to the map keep visible in the other tabs!!! (I solved this by
hiding the map when the OnTabChange event is triggered)</li>
<li>Sometimes a "ghost" feature (duplicated from another existing
feature) appears on the map when dragging it. Using a Timer for
delaying the draw of the feature solved in some cases, but this problem
is still not solved 100%.</li>
</ul>
Regards,<br>
Rafael Ceravolo<br>
<br>
<br>
<br>
On 21/06/2010 08:16, Jon Britton wrote:
<blockquote
cite="mid:AAN...@ma..."
type="cite">Hi,
<div><br>
</div>
<div>I'm having trouble getting OpenLayers to work with SmartGWT.
I've got a Smart GWT HLayout and I'm trying to add a MapWidget to it,
but the map doesn't appear at all and I get no errors.</div>
<div><br>
</div>
<div>Has anybody else been successful in using GWT-OpenLayers and
SmartGWT together?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Jon</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/thinkgeek-promo">http://p.sf.net/sfu/thinkgeek-promo</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Gwt-openlayers-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gwt...@li...">Gwt...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users">https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
|