Hi
I am still learning, but as a quick and dirty solution, you might try:
<script type="text/javascript">
function myLoadFunc() {
config.objects.reset.select()
}
</script>
<body
onload="mbDoLoad(myLoadFunc)"
>
¿Should that work?
El mié, 19-12-2007 a las 22:57 +0100, Patrick O'Brian escribió:
> Hi all,
>
> when I specify an extent in the context.xml and load the map for first
> time, it is streched to fit to the size of the mainmap, so the image
> is deformed.
>
> Then I press a reset button and it fits as I´d like to, adapting the
> image scaling it.
>
> How can I obtain this result in the first load of the map without
> reseting the view??
>
>
> Thank you in advance.
>
> Paddy
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________ Mapbuilder-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users