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

shape: geo #1549

Open
alixander opened this issue Aug 10, 2023 · 1 comment
Open

shape: geo #1549

alixander opened this issue Aug 10, 2023 · 1 comment

Comments

@alixander
Copy link
Collaborator

alixander commented Aug 10, 2023

shape: geo would set a background of a map with bounds defined by nodes. connections can just use direct lines? (which, mapped out on a map, turn into curves).

i suspect this should be a plugin.

map: {
  shape: geo
  r1: New York {
    top: 12.43
    left: -75.33
  }
  r2: SF {
    top: 11.32
    left: -742.2
  }

  r1 -> r2
}

weathermap

@cyborg-ts cyborg-ts added this to D2 Aug 10, 2023
@bo-ku-ra
Copy link
Contributor

what are the advantages over Google Maps?
https://developers.google.com/maps/documentation/javascript/examples/polyline-simple

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants