<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1625" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=907011616-26042009><FONT face=Arial size=2>I have been starting
to work with Python plugins and have encountered two methods that don't seem to
work and wondered if someone could help me to understand what is
happening?</FONT></SPAN></DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial size=2>In the QgsMapCanvas
class there are two methods that I am having trouble with:</FONT></SPAN></DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial size=2>zoomWithCenter -
when I use the input coordinates that I type the view moves to some strange
location. For instance the current view is centered roughly at: 330616E,6058767
and when I put in the coordinates 329946,6058707 in the call to this method it
moves roughly to the coordinates 603170,1047099. Maybe I don't understand how I
should call this method?</FONT></SPAN></DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial size=2>zoomByFactor: the
documentation states: "Factor > 1 zooms in" however when I call this with 0
< Factor < 1 it actually zooms in. When I call it with Factor > 1 it
zooms out. Is this an error in the documentation?</FONT></SPAN></DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=907011616-26042009><FONT face=Arial
size=2>thanks,</FONT></SPAN></DIV>
<DIV><SPAN
class=907011616-26042009>
<FONT face=Arial size=2>Bob Bruce</FONT></SPAN></DIV></BODY></HTML>