-
Notifications
You must be signed in to change notification settings - Fork 10
/
wikiminiatlas_extern_dev.php
49 lines (46 loc) · 1.36 KB
/
wikiminiatlas_extern_dev.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
ob_start("ob_gzhandler");
header('Content-type: text/javascript');
?>
/************************************************************************
*
* WikiMiniAtlas (c) 2006-2013 by Daniel Schwen, licensed under GPLv3
* Script to embed interactive maps into pages that have coordinate templates
* see:
* * http://meta.wikimedia.org/wiki/WikiMiniAtlas
* * https://github.com/dschwen/wikiminiatlas
*
* WMA contains the following third party liraries:
* * http://jquery.org/ (MIT license)
* * https://github.com/douglascrockford/JSON-js (PD)
* * https://github.com/toji/gl-matrix/blob/master/LICENSE.md
* * Poly2Tra, Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
************************************************************************/
// include files
<?php
require( 'min/jquery.min.js' );
echo "\n";
require( 'min/json2.min.js' );
echo "\n";
require( 'min/utils.min.js' );
echo "\n";
require( 'min/glMatrix-0.9.5.custom.js' );
echo "\n";
require( 'min/wmaglobe3d.min.js' );
echo "\n";
require( 'min/poly2tri.min.js' );
echo "\n";
require( 'medians.js' );
echo "\n";
require( 'wikiminiatlas_i18n.inc' );
if( true ) {
require( 'wmajt_dev.js' );
require( 'wmacore_dev.js' );
//require( 'min/wmacore_dev.min.js' );
} else {
require( 'min/wmajt_dev.min.js' );
require( 'min/wmacore_dev.min.js' );
}
?>