diff --git a/src/plugins/lib/libmapservice.py b/src/plugins/lib/libmapservice.py index db46b3d2d..010cff547 100644 --- a/src/plugins/lib/libmapservice.py +++ b/src/plugins/lib/libmapservice.py @@ -61,7 +61,9 @@ class MapService(): self.url = '' #An instance is called, we display the result self.calc_url() - self.__display() + # Don't call the map if empty url. + if len(self.url) >0: + self.__display() self._free() def _get_first_place(self):