GeoView : Resizing not done the first time we load a page.
Centering not always correct. svn: r15726
This commit is contained in:
parent
6a781138fe
commit
f3c614add6
@ -551,6 +551,11 @@ class GeoView(HtmlView):
|
||||
self.renderer.execute_script("javascript:addcrosshair('%d','%s','geo-map')"
|
||||
% (self._config.get("preferences.crosshair"), self.crosspath)
|
||||
)
|
||||
_LOG.debug("resize : %dpx" % self.height )
|
||||
self.renderer.execute_script("javascript:mapstraction.resizeTo"
|
||||
"('100%%','%dpx');"
|
||||
% ( self.height - self.header_size - 4 ) )
|
||||
self.renderer.execute_script("javascript:setcenter(point,uzoom)")
|
||||
pass
|
||||
|
||||
def geoview_options(self, configdialog):
|
||||
|
Loading…
Reference in New Issue
Block a user