portal: updated views
[myslice.git] / plugins / googlemap / googlemap.py
index d6ea883..59c7eb6 100644 (file)
@@ -6,9 +6,10 @@ class GoogleMap (Plugin):
     # pass columns as the initial set of columns
     #   if None then this is taken from the query's fields
     # latitude,longitude, zoom : the starting point
-    def __init__ (self, query, latitude=43., longitude=7., zoom=4, **settings):
+    def __init__ (self, query, query_all_uuid = None, latitude=43., longitude=7., zoom=4, **settings):
         Plugin.__init__ (self, **settings)
         self.query=query
+        self.query_all_uuid = query_all_uuid
         self.latitude=latitude
         self.longitude=longitude
         self.zoom=zoom
@@ -35,4 +36,4 @@ class GoogleMap (Plugin):
         return reqs
 
     # the list of things passed to the js plugin
-    def json_settings_list (self): return ['plugin_uuid','query_uuid', 'latitude', 'longitude', 'zoom', ]
+    def json_settings_list (self): return ['plugin_uuid','query_uuid', 'query_all_uuid', 'latitude', 'longitude', 'zoom', ]