User Manual

Initialize Mapzania

  1. To initialize Mapzania, add the highlighted code to the Application_Start method in your global.asax file:

void Application_Start(object sender, EventArgs e)
{
	...
	Mapzania.Services.Start(this, new Mapzania.Options {
		LicenseKey = "[your license key]"
	});
	AreaRegistration.RegisterAllAreas();
	GlobalConfiguration.Configure(WebApiConfig.Register);
	RouteConfig.RegisterRoutes(RouteTable.Routes);
	BundleConfig.RegisterBundles(BundleTable.Bundles);
	...
}