No announcements
-
0 Votes
LocationRect Class Method fromEdges(north:number, west:number, south:number, east:number)
I tried to implement the fromEdges method in two different ways and neither worked. var mb = new Microsoft.Maps.LocationRect.fromEdges(mapBounds[0], mapBounds[1Discussion | 2 Replies | 387 Views | Created by developer68 - Thursday, June 20, 2019 6:28 PM | Last reply by developer68 - Friday, June 21, 2019 10:38 PM -
2 Votes
Inconsistencies in the LocationRect Class
A couple of inconsistencies I noticed in this class: The toString() method returns the center along with width and height like this: ...Answered | 3 Replies | 2045 Views | Created by Brad Mathews - Tuesday, September 19, 2017 6:16 PM | Last reply by Ricky_Brundritt - Saturday, September 30, 2017 4:44 PM -
1 Votes
SetView(LocationRect) problem
Hi, I think I've found a problem with the SetView method when it is provided with a LocationRect. As I understand it, this method should set both ...Answered | 3 Replies | 2741 Views | Created by Jon Stoneman - Monday, July 2, 2012 8:33 AM | Last reply by Jon Stoneman - Tuesday, July 3, 2012 7:34 AM -
0 Votes
LocationRect From Two Locations
I need center a route in map. The problem is: LocationRect does not support two Locations as Arguments. Dim rect as new ...Answered | 1 Replies | 4542 Views | Created by Luis Pignataro - Tuesday, April 24, 2012 9:59 PM | Last reply by jimwal - Wednesday, April 25, 2012 7:33 PM -
0 Votes
Precisely sizing a LocationRect (Silverlight)
if I call SetView(locationRect), the control should adjust such that the specified LocationRect fills the viewportAnswered | 1 Replies | 5996 Views | Created by Josh Santangelo - Thursday, June 2, 2011 10:08 PM | Last reply by tanoshimi - Thursday, June 2, 2011 10:45 PM -
1 Votes
Microsoft.Maps.SpatialMath.Geometry.bounds() returns incorrect LocationRect
It appears to ignore certain locations. Here's a simple visual example: var map = new Microsoft.Maps.Map(document.getElementById('myMap'), { credentials: 'YourAnswered | 1 Replies | 599 Views | Created by Ryan_Ross - Tuesday, November 8, 2016 3:31 AM | Last reply by Ricky_Brundritt - Wednesday, November 30, 2016 5:00 PM -
2 Votes
Cannot convert LocationRect and ShapeBase
//Otherwise, if the SearchRegion is set from the service response, go ahead use that LocationRect boundingArea = e.Result.ResultSets[0].SearchRegion.BoundingAreaAnswered | 1 Replies | 2272 Views | Created by EasyElephant - Saturday, October 6, 2012 1:51 PM | Last reply by Ricky_Brundritt - Saturday, October 6, 2012 11:09 PM -
1 Votes
Bing Maps V8 LocationRect fromLocations
In Bing Maps V8, the spatial math library provides a function that makes it easy to generate a LocationRect from an array of shapes. Here is a code sample: //LoadAnswered | 1 Replies | 2145 Views | Created by gwenci - Wednesday, September 14, 2016 3:20 PM | Last reply by Ricky_Brundritt - Wednesday, September 14, 2016 6:01 PM -
0 Votes
LocationRect wrong values due to DateLine
HI Tanosihmi Thanks for the reply and sorry for the delay... The way I solved my issue with antimeridian spanning is using two location rects like ...Answered | 2 Replies | 5630 Views | Created by barakroi - Thursday, December 30, 2010 8:07 PM | Last reply by barakroi - Thursday, February 10, 2011 9:17 AM -
0 Votes
abstract class Method and interface class method same
Cast the object to the interface (InterfaceClass) and then call the method ie var o = new MasterClass(); ((InterfaceClass)o).Display();Discussion | 1 Replies | 2326 Views | Created by Raghwendra Chaubey - Thursday, May 24, 2012 11:36 AM | Last reply by LeeCampbell - Thursday, May 24, 2012 2:28 PM -
0 Votes
Class and Method
Hi, I'm currently making a program which counts grades of a subject based on the characters in a text file. I'm now organizing my code into separate ...Unanswered | 1 Replies | 137 Views | Created by UnitarySquid1 - Tuesday, December 16, 2014 7:57 PM | Last reply by Kristin Xie - Wednesday, December 17, 2014 5:39 AM -
0 Votes
Class and Method
directly].Query(...), the method Query(...) must be a static method. Best Regards Neddy Ren[MSFT] MSDN Community Support |Answered | 5 Replies | 1525 Views | Created by MDMoura - Monday, February 27, 2012 5:40 PM | Last reply by Neddy Ren - Wednesday, February 29, 2012 3:19 AM -
0 Votes
Methods and Classes
://en.wikipedia.org/wiki/Class-based_programming http://en.wikipedia.org/wiki/Class_(computer_science) A method is essentially a ...Answered | 1 Replies | 3152 Views | Created by dresMuziQ - Thursday, January 21, 2010 1:12 AM | Last reply by WayneAKing - Thursday, January 21, 2010 2:21 AM -
1 Votes
base class methods calling derived class methods ?
you define a DoWork() method in the base class, but you don't know exactly how that work is going to be performed. And in this case, there is no default behavior for DoWork() ...Unanswered | 6 Replies | 30813 Views | Created by BitShift - Wednesday, August 2, 2006 8:34 PM | Last reply by Louis.fr - Monday, August 10, 2009 4:02 PM -
0 Votes
Class Method AND Instance Method
in the class itself, and one in the instantiated object which I had declared WithEvents. Reed's suggestion of overriding the class' OnDoWork ...Answered | 20 Replies | 1744 Views | Created by RMittelman - Friday, October 26, 2012 10:08 PM | Last reply by Reed Kimble - Thursday, November 1, 2012 8:50 PM -
0 Votes
class method
As EventHandler Public Sub InvokeMethod(ByVal sender As Object, ByVal e As EventArgs) RaiseEvent CommonEvent(sender, e) End Sub End ...Answered | 5 Replies | 2942 Views | Created by tmiller_15 - Friday, May 1, 2009 12:43 PM | Last reply by Rudedog2 - Friday, May 1, 2009 2:21 PM -
0 Votes
Passing a class method as a parameter of another class's method
How can i get the Sub btnEvent to be used here? End Sub End Class HeMingWay11Answered | 6 Replies | 2339 Views | Created by HeMingWay11 - Friday, August 17, 2012 12:08 AM | Last reply by Armin Zingler - Tuesday, August 28, 2012 1:39 PM -
0 Votes
Base class method or Extension method
Here is a nice discussion on stackoverflow. codevanced.netAnswered | 3 Replies | 4033 Views | Created by sand133 - Wednesday, August 19, 2009 7:01 AM | Last reply by Matthew Watson - Wednesday, August 19, 2009 9:27 AM -
1 Votes
class method?
such functionality into a separate procedure.Premature optimization is the root of all evil in programming. (c) by Donald Knuth Naomi Nosonovsky, SrAnswered | 2 Replies | 4226 Views | Created by Yong Mallare - Tuesday, December 22, 2009 2:18 AM | Last reply by Yong Mallare - Monday, June 18, 2012 11:45 PM -
0 Votes
Instance Method V Class Method...
an Array we need to use the class method... string[] bcd = etc etc; The equivalent is: Array.IndexOf(bcd, ...Answered | 4 Replies | 4223 Views | Created by CJW99 - Friday, December 8, 2006 3:00 AM | Last reply by Paul Louth - Monday, December 11, 2006 11:33 AM - Items 1 to 20 of 2081357 Next ›
No announcements