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