示例#1
0
 public void CenterMap()
 {
     WSANativeMap.CenterMap(new WSAGeoPoint()
     {
         Latitude = 52, Longitude = 5
     });
 }
示例#2
0
 public void AddPOI()
 {
     WSANativeMap.AddMapElement("You are here", new WSAGeoPoint()
     {
         Latitude = 52, Longitude = 5
     });
 }
示例#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);
    }
示例#4
0
 public void ClearMap()
 {
     WSANativeMap.ClearMap();
 }
示例#5
0
 public void DestroyMap()
 {
     WSANativeMap.DestroyMap();
 }
示例#6
0
 public void LaunchMapsApp()
 {
     WSANativeMap.LaunchMapsApp("collection=point.40.726966_-74.006076_Some Business");
 }