This is a small side project I put together with the goal of making an interactive JavaScript map of China. The map is a jVectorMap, and the data comes from the Wikipedia articles on each region in China.
Visit amapofchina.herokuapp.com to see it in action!
-
Run
bundle
-
Run
rake db:migrate
-
Run
rake db:seed
to populate the database -
Boot up the server with
rails s
-
Visit
localhost:3000
to view the map -
Mouse over a region to see more information about it!