/newsmash

NewsMash integrates Google Maps with Google News with a MySQL database containing thousands of postal codes, GPS coordinates, and more.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

newsmash

NewsMash shows where news take place, literally. It integrates Google Maps with Google News with a MySQL database containing thousands of postal codes, GPS coordinates, and more.

screen shot 2016-11-01 at 1 24 31 pm

In order to use it for your country use bin/import.php, a command-line script that takes the previosly downloaded and unzipped GeoNames file (http://download.geonames.org/export/zip/) that contains the ZIP codes and geographic relevant information. It will parse it and insert the data into the previously created places table. To create the places MySQL DB follow the scheme provided in bin/places.sql.

To change the map style do so in the object array style in public/js/scripts.js. Find further istructions in https://developers.google.com/maps/documentation/javascript/styling

Have fun!!