This project has moved and is read-only. For the latest updates, please go here.
5

Closed

Add basic AJAX support to Map control

description

Add basic AJAX support to Map control
 
Now that the main map features are implemented, I can start adding basic AJAX support. For the AJAX updates to work all you'll have to do is add an UpdatePanel to the page (do not place the map inside the UpdatePanel) and then any changes (zoom level change, adding pushpins, etc.) to the map on the server-side will be passed down to the client.
 
After implementing this feature, I will modify the included Sample Website to demonstrate this new AJAX functionality.

file attachments

Closed Apr 26, 2014 at 7:11 PM by crpietschmann
No longer relevant with latest release

comments

mudnug wrote Jul 12, 2007 at 8:30 PM

I was trying to figure out how to collaborate on this project, but I get an unauthorized uesr notice when I try to sync my changes with the codeplex client. E.G. I modified map.js and added another file.
    if(this._Shapes != null)         {        var shapeLayer1= new VEShapeLayer();

        for (var i = 0; i < this._Shapes.length; i++)            {                var shape = VEShape(VEShapeType.Pushpin,                   new VELatLong(this._Shapes[i].Location.Latitude, this._Shapes[i].Location.Longitude)) ;                   shape.SetTitle(this._Shapes[i].Title);                   shape.SetDescription(this._Shapes[i].Details);                   shape.SetCustomIcon(this._Shapes[i].Icon_url);                );                            shapeLayer1.AddShape(shape1);                  }            this._Map.AddShapeLayer(shapeLayer1);        }

wrote Jul 12, 2007 at 8:30 PM

mudnug wrote Jul 12, 2007 at 8:31 PM

It looks like there is a stray ); in there.

wrote Jul 29, 2007 at 3:57 PM

wrote Feb 2, 2013 at 2:02 AM

wrote Apr 26, 2014 at 7:11 PM