[Chameleon] MapSize widget and scale

bartvde at osgis.nl bartvde at osgis.nl
Tue Jul 1 10:02:41 EDT 2008


This sounds like the NAV_CMD is not getting reset in the MapSize widget.
And probably the zoomin tool is active or not?

Try adding:
{$this->mszHTMLForm}.NAV_CMD.value = '';

before the form submit, i.e.:

{$this->mszHTMLForm}.submit();

Best regards,
Bart

On Tue, 1 Jul 2008 15:50:02 +0200, Dejan.Gambin at pula.hr wrote:
> Hi,
> 
> Is it the normal "behaviour" that increasing map size causes modifying
the
> scale at which the map displays? I have MapSize widget working together
> with link widget so I have three icons for three different map sizes.
When
> I click on a "medium size" icon (from a "small size" map showing the map
> at 1:259318), I get  map display on 1:103675 scale. When I click back to
> "small size" icon, I get map display on 1:64840 scale.
> 
> The small size is 400x300, and the medium is 500x375.
> 
> Is it something I am doing wrong?
> 
> thanks very much
> 
> regards, dejan



More information about the Chameleon mailing list