Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2287 | - | 1 | |
2 | namespace GMap.NET |
||
3 | { |
||
4 | using GMap.NET.MapProviders; |
||
5 | |||
6 | public interface Interface |
||
7 | { |
||
8 | PointLatLng Position |
||
9 | { |
||
10 | get; |
||
11 | set; |
||
12 | } |
||
13 | |||
14 | GPoint PositionPixel |
||
15 | { |
||
16 | get; |
||
17 | } |
||
18 | |||
19 | string CacheLocation |
||
20 | { |
||
21 | get; |
||
22 | set; |
||
23 | } |
||
24 | |||
25 | bool IsDragging |
||
26 | { |
||
27 | get; |
||
28 | } |
||
29 | |||
30 | RectLatLng ViewArea |
||
31 | { |
||
32 | get; |
||
33 | } |
||
34 | |||
35 | GMapProvider MapProvider |
||
36 | { |
||
37 | get; |
||
38 | set; |
||
39 | } |
||
40 | |||
41 | bool CanDragMap |
||
42 | { |
||
43 | get; |
||
44 | set; |
||
45 | } |
||
46 | |||
47 | RenderMode RenderMode |
||
48 | { |
||
49 | get; |
||
50 | } |
||
51 | |||
52 | // events |
||
53 | event PositionChanged OnPositionChanged; |
||
54 | event TileLoadComplete OnTileLoadComplete; |
||
55 | event TileLoadStart OnTileLoadStart; |
||
56 | event MapDrag OnMapDrag; |
||
57 | event MapZoomChanged OnMapZoomChanged; |
||
58 | event MapTypeChanged OnMapTypeChanged; |
||
59 | |||
60 | void ReloadMap(); |
||
61 | |||
62 | PointLatLng FromLocalToLatLng(int x, int y); |
||
63 | GPoint FromLatLngToLocal(PointLatLng point); |
||
64 | |||
65 | #if !PocketPC |
||
66 | #if SQLite |
||
67 | bool ShowExportDialog(); |
||
68 | bool ShowImportDialog(); |
||
69 | #endif |
||
70 | #endif |
||
71 | } |
||
72 | } |