forked from ArduPilot/MissionPlanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizations and map display bug fixes (ArduPilot#3168)
* Overlay features added in batch * Remove redundant feature copy * Warnings as errors * Map cache as list * Remove unused * Optimize memory allocations * Improve locking of map cache * Settings optimization * Reducing feature properties deserialized to reduce memory usage --------- Co-authored-by: Rupert Benbrook <[email protected]>
- Loading branch information
1 parent
90159ec
commit 05efac1
Showing
11 changed files
with
265 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
using System.Collections.Generic; | ||
using AltitudeAngelWings.Clients.Api.Model; | ||
using GeoJSON.Net.Feature; | ||
|
||
namespace AltitudeAngelWings | ||
{ | ||
public interface IOverlay | ||
{ | ||
void AddOrUpdatePolygon(string name, List<LatLong> points, ColorInfo colorInfo, Feature featureInfo); | ||
void AddOrUpdateLine(string name, List<LatLong> points, ColorInfo colorInfo, Feature featureInfo); | ||
bool LineExists(string name); | ||
bool PolygonExists(string name); | ||
bool IsVisible { get; set; } | ||
void RemovePolygonsExcept(List<string> names); | ||
void RemoveLinesExcept(List<string> names); | ||
void SetFeatures(IReadOnlyList<OverlayFeature> features); | ||
} | ||
} |
Oops, something went wrong.