Skip to content

Added BaseGeoLayer base class#119

Merged
esm7 merged 3 commits intoesm7:masterfrom
gentlegiantJGC:geo-base-class
Jan 14, 2023
Merged

Added BaseGeoLayer base class#119
esm7 merged 3 commits intoesm7:masterfrom
gentlegiantJGC:geo-base-class

Conversation

@gentlegiantJGC
Copy link
Copy Markdown
Contributor

@gentlegiantJGC gentlegiantJGC commented Aug 27, 2022

Adds BaseGeoLayer that FileMarker extends and in the future a GeoJSON class could be added as well.
BaseGeoLayer outlines shared attributes and methods that each subclass must define.

Modifies many functions that were previously only aware of the FileMarker class to use BaseGeoLayer.
FileMarker only code is moved behind an instance check. Other classes will currently throw an exception.
Perhaps in a future pull request that adds GeoJSON support, the class specific code should moved into a method of the class.

Resolves #109

gentlegiantJGC and others added 3 commits August 27, 2022 21:09
Adds BaseGeoLayer that FileMarker extends and in the future a GeoJSON class could be added as well.
BaseGeoLayer outlines shared attributes and methods that each subclass must define.

Modifies many functions that were previously only aware of the FileMarker class to use BaseGeoLayer.
FileMarker only code is moved behind an instance check. Other classes will currently throw an exception.
Perhaps in a future pull request that adds GeoJSON support, the class specific code should moved into a method of the class.
@esm7 esm7 merged commit 02dbeb6 into esm7:master Jan 14, 2023
@esm7
Copy link
Copy Markdown
Owner

esm7 commented Jan 14, 2023

Better late than never, thank you for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Geo Base Class

2 participants