Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. MapLayer layer1 = new MapLayer();
  2.  
  3. Pushpin pushpin1 = new Pushpin();
  4. pushpin1.GeoCoordinate = new GeoCoordinate(51.503147, -0.113245);
  5. pushpin1.Content = "Pin 1";
  6.  
  7. MapOverlay overlay1 = new MapOverlay();
  8. overlay1.Content = pushpin1;
  9. overlay1.GeoCoordinate = new GeoCoordinate(51.503147, -0.113245);
  10. layer1.Add(overlay1);
  11.  
  12. WC_WATMap.Layers.Add(layer1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement