Beispiel #1
0
 public void CenterMap()
 {
     WSANativeMap.CenterMap(new WSAGeoPoint()
     {
         Latitude = 52, Longitude = 5
     });
 }
Beispiel #2
0
 public void AddPOI()
 {
     WSANativeMap.AddMapElement("You are here", new WSAGeoPoint()
     {
         Latitude = 52, Longitude = 5
     });
 }
Beispiel #3
0
    public void CreateMap()
    {
        int xPos = (Screen.width / 2) - 350;
        int yPos = (Screen.height / 2) - 350;

        WSANativeMap.CreateMap(string.Empty, 700, 700, new WSAPosition()
        {
            X = xPos, Y = yPos
        }, new WSAGeoPoint()
        {
            Latitude = 50, Longitude = 0
        }, 6, WSAMapInteractionMode.GestureAndControl);
    }
Beispiel #4
0
 public void ClearMap()
 {
     WSANativeMap.ClearMap();
 }
Beispiel #5
0
 public void DestroyMap()
 {
     WSANativeMap.DestroyMap();
 }
Beispiel #6
0
 public void LaunchMapsApp()
 {
     WSANativeMap.LaunchMapsApp("collection=point.40.726966_-74.006076_Some Business");
 }