Cool
> For implementing IE support, I'm using excanvas with Silverlight
> support,
> and so far I'm very satisified with excanas. However, I have two
> questions:
>
> - Is there anything I can do to improve performance with excanvas?
> Rendering the whole map with Firefox takes about 150 ms,
> while using excanvas it usually takes about 4 seconds. Most of the
> rendering consists of drawing many small graphics tiles in several
> layers.
Do you mind profiling the ExCanvas code for your usecase to see where
we spend most of the time?
> - How do I add a Javascript callback for mouse-click events on the
> Silverlight excanvas?
Doh, I never added code for this. Since the Silverlight version uses
a plugin we will have to add code to handle mouse and keyboard events
manually and retarget them to the correct element.
I don't have the time to work on this at the moment and I would really
appreciate any help we can get. We would need to add event listeners
for the events on the silverlight root element (see the silverlight
sdk) and then use fireEvent on the HTML canvas element (see MSDN dhtml
reference).
>
> Mvh,
> Andreas R.
>
>
>
>
> >
>
--
erik
It is a known issue that images in the VML version are very slow. I
was a bit surprised that the Silverlight version was slow as well. We
delegate most of the work to SL to do the actual work in draw image so
I don't think we can improve performance there.
Regarding SOAP: I used SOAP at a previous company from web apps and
you should really consider to switching to JSON (or JSON RPC etc). It
will be a lot easier to work with on and it has way better
performance. To sum it up, SOAP in web applications is pretty much a
dead end.
--
erik
--
erik