Remove autoreload on removing shape object and force reload on Refresh function.
[GB.MAP] * NEW: _MapShape: Remove reloading when removing a shape object. * NEW: Map: Force Layers reloading when function Refresh is called.
This commit is contained in:
parent
c2eec706a1
commit
9ea6651638
@ -6,6 +6,7 @@ Private $bMouseDown As Boolean
|
||||
Private $memZoom As Integer
|
||||
Private $bInCursor As Boolean
|
||||
|
||||
|
||||
Public Sub _new()
|
||||
|
||||
Dim hMv As MapView = GetMapView()
|
||||
@ -25,7 +26,7 @@ Public Sub _new()
|
||||
$colSprite!cursor = New Sprite(Image.Load("cursor.png"))
|
||||
$colSprite!cursor.Move($colSprite!plus.X, $colSprite!minus.y - $colSprite!cursor.Height - (150 / hMv.Map.MaxZoom * hMv.Map.Zoom))
|
||||
$memZoom = hMv.Map.Zoom
|
||||
|
||||
'stop
|
||||
End
|
||||
|
||||
Public Sub _Draw()
|
||||
|
Loading…
x
Reference in New Issue
Block a user