Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Copy > Location" should create a <map-feature> on your clipboard #779

Closed
prushforth opened this issue Mar 6, 2023 · 0 comments · Fixed by #804
Closed

"Copy > Location" should create a <map-feature> on your clipboard #779

prushforth opened this issue Mar 6, 2023 · 0 comments · Fixed by #804
Assignees

Comments

@prushforth
Copy link
Member

Something like:

<map-feature>
  <map-featurecaption>Copied point at latitude: _ and longitude: _ </map-featurecaption>
  <map-geometry>
    <map-point>
        <map-coordinates>-75.7093517 45.4005727</map-coordinates>
    </map-point>
  </map-geometry>
</map-feature>  

When pasting, perhaps we should consider if we should sniff for mapml content and if found, wrap it in a <layer-> so that it will get added to the map. That might also apply to pasting a <map-extent>, which could create an empty layer with the specified extent / bounds.

Ideas below, thank you.

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 a pull request may close this issue.

1 participant