Thank you Pierre... That works great :)
About Ajax, I´m using .NET C#...
I took off : myform.submit(); of doSubmit()
And a added a new js function that call a server method throw Ajax...
If you need anything you can ask...
Thanks
----- Original Message -----
From: "Pierre GIRAUD" <[EMAIL PROTECTED]>
To: "Bruno Maluche Neto" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, November 25, 2005 10:49 AM
Subject: Re: [Cartoweb-users] Clean up mapframe...
I probably did not pay enough time to think about it, but the simplest way
to clear the "canvas", is to have something like following and call it when
the new map is loaded (withou any page reload):
function clearMap() {
mainmap.getDisplay('map').currentLayer.innerHTML = '';
}
Note that it has not been tested.
Besides, we, at camptocamp, have also been working on an Ajax
implementation. We're interested in such developpements if you are about
to share.
Regards.
Pierre GIRAUD
Bruno Maluche Neto a écrit :
Hello... I´m doing some changes in Cartoweb... I added Ajax to eliminate
submit... So I dont need to createMap() each map´s iteration...
The problem is each zoomin, zoomout or pan add a cursor on screen (cross
or a box) and I need to clean up it... How can I do that without use
createMap() ???
Thank you
------------------------------------------------------------------------
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
--
_________________________________________________________
Pierre GIRAUD
Géomaticien, Analyste
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 93
Mail : [EMAIL PROTECTED]
http://www.camptocamp.com
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users