c# - Add MapIcon to MapControl in Universal app using Caliburn Micro -


Kalibrn use Krkmicro I'm building a universal Windows Phone app (8.1). On the page I intend to show a map with a Mccinon position in the center.

  & lt; Map: MapControl MapServiceToken = "XXXXXXXXXXXXX" height = "560" center = "{biting Mancitrkentr}" zoom level = "15" Margin = "0,0,0,0" /> & Lt; / Map: MapControl & gt;  

It works well, but I do not know how to add the map in the map. Msdian shows that Mapaicon how to add to the back of the code:

  private void AddMapIcon () {MapIcon MapIcon1 = MapIcon new (); MapIcon1. Location = new Geopoint (new Besikjioposn () (latitude = 47.620, Longitude = -122.349}); MapIcon1.NormalizedAnchorPoint = new point (1.0, 0.5); MapIcon1.Title = "Space Needle"; MapControl1.MapElements.Add (MapIcon1) ;}  

how can I do this with Kalibrn Mirko doing?


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -