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

初期位置を範囲内でランダムに指定 #1

Closed
naogify opened this issue May 21, 2021 · 1 comment
Closed

初期位置を範囲内でランダムに指定 #1

naogify opened this issue May 21, 2021 · 1 comment

Comments

@naogify
Copy link
Owner

naogify commented May 21, 2021

  • 緯度経度で範囲を指定。
  • その中でランダムな場所を選ぶ
@naogify
Copy link
Owner Author

naogify commented May 23, 2021

範囲取得はローディング時にバウンディングボックスをtile.jsonから取得してその範囲内でランダムに配置(turf.js使うか、緯度経度がその配置を超えないか)

@naogify naogify closed this as completed May 23, 2021
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

No branches or pull requests

1 participant