Re: [RESOLVED] Javascript
Hee hee, I don't know how many times I have done something like that :)
Gary
Re: [RESOLVED] Javascript
Do you guys use anything to debug your javascript?
Re: [RESOLVED] Javascript
Re: [RESOLVED] Javascript
Hey,
Which version of Visual Studio are you using? Visual Studio 2008 allows you to set BreakPoints in your JavaScript:
http://weblogs.asp.net/scottgu/archi...debugging.aspx
Gary
Re: [RESOLVED] Javascript
Quote:
Originally Posted by
gep13
Lol yeah I just figured out this morning on accident that I could do that. That helps a lot.
Re: [RESOLVED] Javascript
Hey,
Yip, it can be a life saver!!
Gary
Re: [RESOLVED] Javascript
If you're using VE 6.2, some of your code is deprecated now. Have a look here for changes between versions:
http://msdn.microsoft.com/en-us/library/cc161073.aspx
Pushpins are now added like so:
Code:
var pin = new VEShape(VEShapeType.Pushpin, latlong);
pin.SetCustomIcon(icon_url);
pin.SetTitle(title);
pin.SetDescription(details);
map.AddShape(pin);
The reason this is relevant is because they control the JS, they can actually remove the method support completely at any point. I'm sticking with V6 though.
Re: [RESOLVED] Javascript
Quote:
Originally Posted by
mendhak
If you're using VE 6.2, some of your code is deprecated now. Have a look here for changes between versions:
http://msdn.microsoft.com/en-us/library/cc161073.aspx
Pushpins are now added like so:
Code:
var pin = new VEShape(VEShapeType.Pushpin, latlong);
pin.SetCustomIcon(icon_url);
pin.SetTitle(title);
pin.SetDescription(details);
map.AddShape(pin);
The reason this is relevant is because they control the JS, they can actually remove the method support completely at any point. I'm sticking with V6 though.
Yeah I already made the change to using shapes, but thanks.