Friday, October 1, 2010

Re: Problem with GWT Google-Maps-API 1.1 and IE 6

Hi Eric,

Thank you for the link. I have just installed it and tested out. Unfortunately, this does not really change the thing. It is a little bit faster but still unusable.

I've installed (just to check the difference) Google Chrome under Windows and the application runs fine. But with Chrome embedded in IE6, I don't have the same performances at all.

Boris

2010/10/1 Eric Ayers <zundel@google.com>
I'm going to go ahead and steer you away from there because all the
gwt-maps library is doing is translating your GWT calls into
javascript calls to the Maps API.  If you are willing to install a
plugin, try the chrome frame plugin for IE6.

http://code.google.com/chrome/chromeframe/

On Fri, Oct 1, 2010 at 8:54 AM, David Chandler (Google)
<drfibonacci@google.com> wrote:
> Hi Boris,
>
> You might also try posting your question here: http://groups.google.com/group/gwt-google-apis
>
> /dmc
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
>
> On Sep 30, 3:26 am, Boris Lenzinger <boris.lenzin...@gmail.com> wrote:
>> Hi everybody,
>>
>> I'm currently facing a blocking problem when using GWT google map api
>> (version 1.1.0) with IE 6.
>> GWT version used is 2.0.3.
>>
>> Here is the context : I have a web interface that displays 2 maps : one on
>> the left that shows
>> a general view and one the right that shows details of a selected zone of
>> the left map.
>>
>> The left map displays squares (let's denote them A-square) that are
>> clickable. When you click
>> on a A-square, the second map (on the right) zooms to show details of this
>> A-square. This
>> A-square is composed of smaller squares (let's denote the B-square).
>>
>> There are around around 180 B-squares per map. They are also clickable. When
>> you click on a
>> B-square, its color changes according to the context. It is also added to a
>> list of selected
>> squares (or removed if the click is for unselecting it).
>>
>> I got it working but it is very very slow. It is completely unusable in
>> fact. If I
>> click on the button for selecting all B-squares, I can see each one changing
>> of color (takes around
>> 15 seconds to get all of them  colored).
>>
>> I've investigated to understand what is going on. First CPU usage is raising
>> to 50% while applying color.
>> It seems that the A-square and B-square (and in fact all polygons) are
>> displayed using SVG polygons.
>> I have seen this with Firebug when selecting a B-Square. But IE does not
>> have native support for SVG and
>> I think the problem is that : no native support for SVG.
>>
>> I have tried to install Abode SVG plugin but it didn't change anything. I
>> then tried the library
>>  http://code.google.com/p/sgweb/but it didn't work neither.
>> So I really don't know how to solve this.
>>
>> I have to keep IE 6 as the main browser (it is working almost fine under
>> firefox).
>>
>> Anyone has already faced such thing and solved it ?
>>
>> Any hint are welcome !
>>
>> A solution would be to wrap some javascript component into GWT (since
>> apparently google maps
>> from javascript does not use SVG components from what I understood). But I
>> would like to make
>> pure GWT solution work since it is already coded.
>>
>> thank you for your help.
>>
>> Boris
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>
>



--
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment