web services - Best way to update Locations dynamically in Bing Maps using Silverlight? -


i'm developing test application in need to:

a) draw paths downloaded data. have rest/json server whith these data , little app can consume without problem. paths downloaded once , that's all.

b) draw pushpins, circles, whatever @ locations locations can change in real-time. silverlight app must ask rest server updates in these points in order update shapes in map. rest provides "last know position" default, location want display dynamically.

my question is: simplest way achieve b)? i'm quite rookie @ silverlight, don´t know if has 'automatic-obvious' way automatic update. need 'timer' consume service, local list of locations , bindings between shapes , these locations?

thank in advance!

i you're on right track.

i create observablecollection of data model represents locations, , bind bing mapcontrol. create datatemplate (probably based on pushpin) visually represent how want data point on map. paths can created mappolylines

since you're communicating rest server, think best option updating points have timer object mentioned, , perform call update observablecollection every time fires.

hope helps!


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -