X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fgooglemap%2Fgooglemap.py;h=bce84f54a031fc441a3cc67fc76d077fb6105386;hb=69651f9a5760ec0995dbe592cd5c01e174408808;hp=59c7eb663ed337b6dfee7fa8e885c7c78042b7f5;hpb=5e7a8cc34122f08c80efb3f995db87a5de7a3840;p=myslice.git diff --git a/plugins/googlemap/googlemap.py b/plugins/googlemap/googlemap.py index 59c7eb66..bce84f54 100644 --- a/plugins/googlemap/googlemap.py +++ b/plugins/googlemap/googlemap.py @@ -6,10 +6,11 @@ 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, query_all_uuid = None, latitude=43., longitude=7., zoom=4, **settings): + def __init__ (self, query, query_all = None, latitude=43., longitude=7., zoom=4, **settings): Plugin.__init__ (self, **settings) self.query=query - self.query_all_uuid = query_all_uuid + self.query_all = query_all + self.query_all_uuid = query_all.query_uuid if query_all else None self.latitude=latitude self.longitude=longitude self.zoom=zoom