FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Screen referenced labels in map snapshot by sindizzy · Pull Request #1249 · DotSpatial/DotSpatial · GitHub

Screen referenced labels in map snapshot - #1249

Closed
sindizzy wants to merge 1 commit into
DotSpatial:DotSpatialV3from
sindizzy:Perez-ScreenReferencedLabels
Closed

sindizzy wants to merge 1 commit into
DotSpatial:DotSpatialV3from
sindizzy:Perez-ScreenReferencedLabels

Conversation

Copy link
Copy Markdown
Contributor

Since the DotSpatial framework currently does not provide a mechanism for screen referenced labels the best we can do in the meantime is to allow the developer to pass in Label objects that are controls placed on top of the map. This code overloads the Map.Snapshot routine to allow .NET labels to be included in the exported map bitmap.

Fixes #1161

Checklist

  • I have included examples or tests
  • I have updated the change log
  • I am listed in the CONTRIBUTORS file
  • I have cleaned up the commit history (use rebase and squash)

Changes proposed in this pull request:

  • Label controls which are screen referenced can be included in map snapshots. For example a title or footnote label that does not change coordinates with a change in map extents.

Since the DotSpatial framework currently does not provide a mechanism for screen referenced labels the best we can do in the meantime is to allow the developer to pass in Label objects that are controls placed on top of the map. This code overloads the Map.Snapshot routine to allow .NET labels to be included in the exported map bitmap.

DotSpatial#1161

Copy link
Copy Markdown
Contributor Author

Closed this PR in lieu of #1464

sindizzy closed this Oct 24, 2022
This file contains hidden or 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
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.

1 participant


Back | FazBrowse Home | New Git URL