Fixes maps related js files fetch.
authorStéphane Jacob <sj@m4x.org>
Wed, 8 Jun 2011 07:55:12 +0000 (09:55 +0200)
committerStéphane Jacob <sj@m4x.org>
Wed, 8 Jun 2011 07:55:12 +0000 (09:55 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
Makefile
modules/geoloc.php

index 4cc834f..90b2ec8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -243,13 +243,13 @@ $(JSTREE_PATH):
 ##
 ## Maps auxiliary scripts
 ##
-maps: htdocs/javascript/markerclusterer_packed.js htdocs/javascript/markerwithlabel_packed.js
+maps: htdocs/javascript/markerclusterer.js htdocs/javascript/markerwithlabel.js
 
-htdocs/javascript/markerclusterer_packed.js:
-       wget http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer_packed.js -O htdocs/javascript/markerclusterer_packed.js
+htdocs/javascript/markerclusterer.js:
+       wget http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclusterer/1.0/src/markerclusterer_compiled.js -O htdocs/javascript/markerclusterer.js
 
-htdocs/javascript/markerwithlabel_packed.js:
-       wget http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.4/src/markerwithlabel_packed.js -O htdocs/javascript/markerwithlabel_packed.js
+htdocs/javascript/markerwithlabel.js:
+       wget http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.4/src/markerwithlabel_packed.js -O htdocs/javascript/markerwithlabel.js
 
 ##
 ## lists rpc
index 762e1ac..4db76cd 100644 (file)
@@ -36,8 +36,8 @@ class GeolocModule extends PLModule
         $map_url = $globals->maps->dynamic_map . '?&sensor=false&v=' . $globals->maps->api_version . '&language=' . $globals->maps->language;
         $page->addJsLink($map_url, false);
         $page->addJsLink('maps.js');
-        $page->addJsLink('markerclusterer_packed.js');
-        $page->addJsLink('markerwithlabel_packed.js');
+        $page->addJsLink('markerclusterer.js');
+        $page->addJsLink('markerwithlabel.js');
         $page->assign('pl_extra_header', '<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />');
     }