Exemplo n.º 1
0
 def html_url(self):
     url = WebLayer3857.html_url(self)
     apiKey = QSettings().value("Plugin-OpenLayers/googleMapsApiKey")
     if apiKey != None and bool(apiKey.strip()):
         url += "?key=%s" % apiKey
     return url
Exemplo n.º 2
0
 def html_url(self):
     url = WebLayer3857.html_url(self)
     url += "?layer=%s" % self._layer
     if self.apiKey():
         url += "&key=%s" % self.apiKey().strip()
     return url
Exemplo n.º 3
0
 def html_url(self):
     url = WebLayer3857.html_url(self)
     apiKey = QSettings().value("Plugin-OpenLayers/googleMapsApiKey")
     if apiKey != None and bool(apiKey.strip()):
         url += "?key=%s" % apiKey
     return url