Abdul Qadir Memon
Abdul Qadir Memon

Reputation: 1019

how to convert Microsoft Map LocationRect to Edges

Microsoft.Map.getBounds() returns LocationRect object, which it self consist of center,width, height. i want to find left-top and bottom-right edges to query my database to brings all points in that area.

Upvotes: 0

Views: 323

Answers (1)

psousa
psousa

Reputation: 6726

The LocationRect class includes a GetNorthwest() and GetSoutheast() functions. You can check the reference here

Upvotes: 1

Related Questions