Skip to content

Commit

Permalink
Adress Search - Add Google and IGN (france) API
Browse files Browse the repository at this point in the history
  • Loading branch information
mdouchin committed Feb 25, 2014
1 parent 0f33d81 commit 0fb4ba4
Show file tree
Hide file tree
Showing 9 changed files with 494 additions and 450 deletions.
Binary file modified i18n/lizmap_en.qm
Binary file not shown.
306 changes: 158 additions & 148 deletions i18n/lizmap_en.ts

Large diffs are not rendered by default.

Binary file modified i18n/lizmap_fr.qm
Binary file not shown.
306 changes: 158 additions & 148 deletions i18n/lizmap_fr.ts

Large diffs are not rendered by default.

Binary file modified i18n/lizmap_it.qm
Binary file not shown.
306 changes: 158 additions & 148 deletions i18n/lizmap_it.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lizmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def __init__(self, iface):
},
'externalSearch' : {
'widget': self.dlg.ui.liExternalSearch,
'wType': 'list', 'type': 'string', 'default': '', 'list':['', 'nominatim']
'wType': 'list', 'type': 'string', 'default': '', 'list':['', 'nominatim', 'google', 'ign']
},
'zoomHistory' : {
'widget': self.dlg.ui.cbActivateZoomHistory,
Expand Down
10 changes: 7 additions & 3 deletions ui_lizmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Form implementation generated from reading ui file 'ui_lizmap.ui'
#
# Created: Thu Feb 20 16:20:49 2014
# Created: Tue Feb 25 18:24:58 2014
# by: PyQt4 UI code generator 4.10
#
# WARNING! All changes made in this file will be lost!
Expand Down Expand Up @@ -63,7 +63,7 @@ def setupUi(self, lizmap):
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
self.scrollAreaWidgetContents = QtGui.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(-151, -190, 535, 604))
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 535, 604))
self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
self.gridLayout_20 = QtGui.QGridLayout(self.scrollAreaWidgetContents)
self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20"))
Expand Down Expand Up @@ -261,6 +261,8 @@ def setupUi(self, lizmap):
self.liExternalSearch.addItem(_fromUtf8(""))
self.liExternalSearch.setItemText(0, _fromUtf8(""))
self.liExternalSearch.addItem(_fromUtf8(""))
self.liExternalSearch.addItem(_fromUtf8(""))
self.liExternalSearch.addItem(_fromUtf8(""))
self.horizontalLayout_14.addWidget(self.liExternalSearch)
spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_14.addItem(spacerItem4)
Expand Down Expand Up @@ -881,7 +883,7 @@ def setupUi(self, lizmap):
self.scrollArea_4.setWidgetResizable(True)
self.scrollArea_4.setObjectName(_fromUtf8("scrollArea_4"))
self.scrollAreaWidgetContents_4 = QtGui.QWidget()
self.scrollAreaWidgetContents_4.setGeometry(QtCore.QRect(0, 0, 662, 466))
self.scrollAreaWidgetContents_4.setGeometry(QtCore.QRect(0, 0, 361, 435))
self.scrollAreaWidgetContents_4.setObjectName(_fromUtf8("scrollAreaWidgetContents_4"))
self.verticalLayout_5 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_4)
self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
Expand Down Expand Up @@ -1219,6 +1221,8 @@ def retranslateUi(self, lizmap):
self.cbActivateGeolocation.setText(_translate("lizmap", "map.tool.geolocation", None))
self.label_19.setText(_translate("lizmap", "map.tool.externalSearch.label", None))
self.liExternalSearch.setItemText(1, _translate("lizmap", "nominatim", None))
self.liExternalSearch.setItemText(2, _translate("lizmap", "google", None))
self.liExternalSearch.setItemText(3, _translate("lizmap", "ign", None))
self.gb_Scales.setTitle(_translate("lizmap", "map.scales.label", None))
self.label_13.setText(_translate("lizmap", "map.minScale.label", None))
self.label_14.setText(_translate("lizmap", "map.maxScale.label", None))
Expand Down
14 changes: 12 additions & 2 deletions ui_lizmap.ui
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>-151</x>
<y>-190</y>
<x>0</x>
<y>0</y>
<width>535</width>
<height>604</height>
</rect>
Expand Down Expand Up @@ -518,6 +518,16 @@
<string>nominatim</string>
</property>
</item>
<item>
<property name="text">
<string>google</string>
</property>
</item>
<item>
<property name="text">
<string>ign</string>
</property>
</item>
</widget>
</item>
<item>
Expand Down

0 comments on commit 0fb4ba4

Please sign in to comment.