Exporting a World-Map

This patch adds the world map exporter.

- add worldmap-save.c that writes the html to the file
- use Google maps v3 API to put the place marks on the map
- add worldmap-options.h to contain some settings for the JS which will
  make it easier for those to be changed
- add save HTML action in the mainwindow user interface

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Gehad 2014-03-30 22:14:56 +02:00 committed by Dirk Hohndel
parent 7696fbf9cd
commit 0cd9d09410
7 changed files with 152 additions and 0 deletions

15
worldmap-save.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef WORLDMAP_SAVE_H
#define WORLDMAP_SAVE_H
#ifdef __cplusplus
extern "C" {
#endif
extern void export_worldmap_HTML(const char* x);
#ifdef __cplusplus
}
#endif
#endif