Code Monkey home page Code Monkey logo

earthquake-map's Introduction

Earthquake Map

GitHub package.json version

TL;DR

震度分布図の描画

  • ミニマップあり
  • 海外地震に対応
  • HTMLに記述することでさまざまな情報を追加可能
  • Seleniumでキャプチャすればかんたんに画像化可能

描画できるもの

地震・津波に関する地図の描画。

  • 震度分布図(震度観測点)
    • 用途: 震源・震度に関する情報
  • 震度分布図(細分区域のタイル)
    • 震度速報
  • 震度分布図(都道府県のタイル)追加予定
    • 緊急地震速報等
  • 津波警報・注意報図追加予定
    • 津波注意報
    • 津波警報
    • 大津波警報

Run

# need docker installed

# run server
docker-compose up -d

# connect to http://localhost:8080/

デモサイト: https://earthquake-map.vercel.app/

パラメータの説明

パラメータの説明

各震度の色

震度
1 #54cfe8 #54cfe8
2 #64e375 #64e375
3 #f0ed4d #f0ed4d
4 #eb9423 #eb9423
5弱 #f74d4d #f74d4d
5強 #f74d4d #f74d4d
6弱 #f03eb8 #f03eb8
6強 #f03eb8 #f03eb8
7 #b347ed #b347ed

ライセンス

MIT

使用した場合、issueにて報告してくれるとありがたいです。

earthquake-map's People

Contributors

cateiru avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cateiru ewrs-dev

earthquake-map's Issues

拡大率、中心位置の調整

  • 震源地が見えない
  • 震度1の分布はあまり必要ない(大きい地震の場合)

変更案

  • 震度3以上の場合→震度1, 2は中心、拡大率の計算に使用しない

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.