forked from larrywelch/ScriptSharpBingMapsV8Import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Map.cs
106 lines (62 loc) · 2.98 KB
/
Map.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// Map.cs
// Script#/Libraries/Microsoft/BingMaps
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Collections;
using System.Html;
using System.Runtime.CompilerServices;
namespace Microsoft.Maps {
[Imported]
public sealed class Map
{
#region Constructors
public Map(Element element, MapOptions options) {}
public Map(Element element, MapViewOptions options) {}
public Map(string elementName, MapOptions options) { }
public Map(string elementName, MapViewOptions options) { }
#endregion Constructors
#region Properties
public MapEntityCollection Entities;
public MapLayerCollection Layers { get { return null; } }
#endregion Properties
#region Methods
public void Dispose(){}
public MapLocationRect GetBounds() { return null; }
public MapLocation GetCenter() { return null; }
public void GetCopyrights(Action<string []> callback) {}
public void GetCredentials(Action<string> callBack) {}
public string GetCulture() { return string.Empty; }
public int GetHeading() { return 0; }
public int GetHeight() { return 0; }
public string GetImageryId() { return null; }
[ScriptName("getMapTypeId")]
public MapType GetMapType()
{
return MapType.Aerial;
}
public double GetMetersPerPixel() { return 0;}
public MapOptions GetOptions() {return null; }
public int GetPageX() { return 0; }
public int GetPageY() { return 0; }
public Element GetRootElement() { return null; }
public string GetUserRegion() { return string.Empty; }
public int GetWidth() { return 0; }
public int GetZoom() { return 0; }
public MapRange GetZoomRange() { return null; }
public bool IsMercator() { return false; }
public bool IsRotationEnabled() { return false; }
public void SetMapType(MapType mapType) { }
public void SetMapOptions(MapOptions options) { }
public void SetViewOptions(MapViewOptions options) { }
public MapPoint TryLocationToPixel(MapLocation location) { return null; }
public MapPoint[] TryLocationToPixel(MapLocation[] locations) { return null; }
public MapPoint TryLocationToPixel(MapLocation location, MapPointReference pointReference) { return null; }
public MapPoint[] TryLocationToPixel(MapLocation[] locations, MapPointReference pointReference) { return null; }
public MapLocation TryPixelToLocation(MapPoint p) { return null; }
public MapLocation[] TryPixelToLocation(MapPoint[] points) { return null; }
public MapLocation TryPixelToLocation(MapPoint p, MapPointReference pointReference) { return null; }
public MapLocation[] TryPixelToLocation(MapPoint[] points, MapPointReference pointReference) { return null; }
#endregion Methods
}
}