Sub Process_Globals 
    Private BANano As BANano 'ignore 
    Dim LeafletMap As BANanoLeafletMap 
End Sub
Sub Init() 
    BANano.GetElement("#DemoContainer").Empty 
    BANano.GetElement("#DemoContainer").Append("<h1>RotatedMarker - Demo</h1>")
    LeafletMap.Initialize("#DemoContainer") 
    LeafletMap.SetStyle($"{ "width": "800px", "height": "600px" }"$)
 
    ' add a TileLayer...
    Dim TileLayer As BANanoLeafletTileLayer
    TileLayer.Initialize
    LeafletMap.AddTileLayer(TileLayer)
    LeafletMap.PanTo(48.856613, 2.352222)
    LeafletMap.SetZoom(5)
    ' Add a marker
    Dim myMarker As BANanoLeafletMarker
    myMarker.Initialize2( 48.856613, 2.352222 )
    myMarker.SetDraggable(True)
    myMarker.SetAutoPan(True)
    myMarker.SetTooltip("I'm a Tooltip")
    myMarker.SetPopup("I'm a Popup")
    myMarker.SetRotationAngle(45) '<-------------
    LeafletMap.AddMarker(myMarker)
End Sub