title: Adding an event handler for MapPolygon in Bing Map for Windows Store
body: <p>I try adding an event handler for a MapPolygon item in <code>Bing.Map</code> in a Windows 8.1 store  app and I simply can't find anything on the web. It seems like <code>Bing.Map</code> shapes are very limited (e.g MapPolygon only has 3 Properties). </p>
  
  <p>Does anyone know how to trigger an event when the user enters the area of the polygon/ or clicks?</p>
  
  <pre><code>        myMap.Credentials = "---";
          myMap.ZoomLevel = 9.5;
          myMap.Center = new Bing.Maps.Location(35.1,33.3);
          myMap.ShowNavigationBar = false;
          myMap.MapType = Bing.Maps.MapType.Aerial;
          //lat 35.34028
          //long -33.31917
  
          MapShapeLayer shapeLayer = new MapShapeLayer();
          MapPolygon polygon = new MapPolygon();
  
          //Kyrenia
          polygon.Locations = new LocationCollection() { 
              new Location(35.35028, 33.30917),
              new Location(35.35028, 33.32917),
              new Location(35.33028, 33.32917),
              new Location(35.33028, 33.30917)
              };
          polygon.FillColor = Windows.UI.Colors.Maroon;
          shapeLayer.Shapes.Add(polygon);
          myMap.ShapeLayers.Add(shapeLayer);
  </code></pre>
  
  <p>Thanks</p>