Sub Use(vuetify As VuetifyApp)
'ensure that the module is loaded
If vuetify.ModuleExist("googlemap") = False Then
Dim VueGoogleMaps As BANanoObject
VueGoogleMaps.Initialize("GmapVue")
Dim opt As Map = CreateMap()
BANanoShared.PutRecursive(opt, "load.key", mGoogleMapKey)
BANanoShared.PutRecursive(opt, "load.libraries", "places,directions,drawing")
BANanoShared.PutRecursive(opt, "installComponents", True)
BANanoShared.PutRecursive(opt, "autobindAllEvents", True)
vuetify.Use1(VueGoogleMaps, opt)
'-------------------------------------------------
' Dim Cluster As BANanoObject = VueGoogleMaps.GetField("Cluster")
' google = VueGoogleMaps.GetField("gmapApi")
' vuetify.ImportComponentBO("gmap-cluster", Cluster)
'------------------------------------------------------
vuetify.AddModule("googlemap")
End If
End Sub