mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Initial support for Germany Cold War (#518)
* Initial support of Germany Cold War terrain * Updated with latest beacon import * Updated changelog and ran black * Fixed the GermanyCW landmap and naming scheme * Temporarily changed the requirements for pydcs to my branch (will switch back when merged) * Updated landmap for germanycw with even fewer exclusions * Removed unnecessary changes * Updated requirements to lastest pydcs * Fixed naming issues for Germany * Update pydcs to latest commit for GCW support * Add landmap to game.theater.__init__ * Update requirements.txt * Resolve PyCharm type-waring * Updated pydcs and exclusion of germany * Updated land and sea shapefiles for Germany Cold War with new map limits --------- Co-authored-by: Raffson <Raffson@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,10 @@ class LeafletPoint(BaseModel):
|
||||
|
||||
title = "LatLng"
|
||||
|
||||
@staticmethod
|
||||
def from_latlng(latlng: LatLng) -> LeafletPoint:
|
||||
return LeafletPoint(lat=latlng.lat, lng=latlng.lng)
|
||||
|
||||
|
||||
LeafletLine = list[LeafletPoint]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user