blob: 0f169d3d8737a2c2aa4aa2882bace74ec6e13d24 (
plain)
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
|
using Xamarin.Forms.Maps.WP8;
namespace Xamarin
{
public static class FormsMaps
{
static bool s_isInitialized;
internal static string ApplicationId { get; set; }
internal static string AuthenticationToken { get; set; }
public static void Init()
{
if (s_isInitialized)
return;
GeocoderBackend.Register();
s_isInitialized = true;
}
public static void Init(string applicationId, string authenticationToken)
{
ApplicationId = applicationId;
AuthenticationToken = authenticationToken;
Init();
}
}
}
|