4.2.0
Loading google maps libraries (Support/Move to) #277
https://www.nuget.org/packages/BlazorGoogleMaps/4.2.0
Added way to loud libraries via google recommended bootstrap loader
It works by invoking blazorGoogleMaps.objectManager.initMap with passed parameters
https://developers.google.com/maps/documentation/javascript/overview#Loading_the_Maps_API
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorPages();
services.AddServerSideBlazor().AddHubOptions(config => config.MaximumReceiveMessageSize = 1048576);
services.AddBlazorGoogleMaps(opt =>
{
opt.KeyProvider = () => "XXXXXXXXXXXXXXXXXXXXXXX";
opt.UseBootstrapLoader = true;
opt.Version = "beta";
opt.Libraries = "places,visualization,drawing,marker";
});
}