Skip to content

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

License

Notifications You must be signed in to change notification settings

masadeus/newsmash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!!

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages