![]() |
Online Maps
v3
|
Base class for markers managers More...
Public Member Functions | |
abstract OnlineMapsSavableItem[] | GetSavableItems () |
Returns an array of items to save More... | |
![]() | |
U | Add (U item) |
Adds an item to the list More... | |
void | AddRange (IEnumerable< U > collection) |
Adds items to the list More... | |
IEnumerator | GetEnumerator () |
Gets the enumerator More... | |
int | IndexOf (IOnlineMapsInteractiveElement element) |
Index of item More... | |
bool | Remove (U item, bool dispose=true) |
Remove an item More... | |
void | RemoveAll (bool dispose=true) |
Remove all items More... | |
void | RemoveAll (Predicate< U > match, bool dispose=true) |
Removes all items which matches the predicate More... | |
U | RemoveAt (int index, bool dispose=true) |
Remove an item by index More... | |
Public Attributes | |
Action< U > | OnCreateItem |
Called when a marker is created More... | |
float | defaultScale = 1 |
Scaling of 3D markers by default More... | |
Additional Inherited Members | |
![]() | |
static U | AddItem (U item) |
Adds an item to the list More... | |
static void | AddItems (IEnumerable< U > collection) |
Adds items to the list More... | |
static void | Init () |
Initializes the manager More... | |
static void | RemoveAllItems () |
Remove all items More... | |
static void | RemoveAllItems (Predicate< U > match) |
Removes all items which matches the predicate More... | |
static bool | RemoveItem (U item, bool dispose=true) |
Remove an item More... | |
static U | RemoveItemAt (int index) |
Remove an item by index More... | |
static void | SetItems (IEnumerable< U > collection) |
Sets the collection of items More... | |
![]() | |
static Action< U > | OnAddItem |
The event that occurs when an item is added. More... | |
static Action< U > | OnRemoveItem |
The event that occurs when an item is removed. More... | |
![]() | |
static void | Redraw () |
Redraws the map More... | |
![]() | |
static T | instance [get] |
Instance of the manager More... | |
List< U > | items [get, set] |
Gets / sets the list of items More... | |
OnlineMaps | map [get] |
Reference to the map More... | |
static int | CountItems [get] |
Count items More... | |
int | Count [get] |
Count items More... | |
U | this[int index] [get, set] |
Gets / sets item by index More... | |
Base class for markers managers
T | Subclass of OnlineMapsMarkerManagerBase |
U | Type of markers |
T | : | OnlineMapsMarkerManagerBase | |
T | : | T | |
T | : | U | |
U | : | OnlineMapsMarkerBase |
|
pure virtual |
Returns an array of items to save
Implements IOnlineMapsSavableComponent.
float OnlineMapsMarkerManagerBase< T, U >.defaultScale = 1 |
Scaling of 3D markers by default
Action<U> OnlineMapsMarkerManagerBase< T, U >.OnCreateItem |
Called when a marker is created