[mapguide-users] Set Map Height and Width on Web Api
Gyufi
endre.budai at geoview.hu
Mon Jun 15 12:14:00 EDT 2009
Hi!
You can set Width and Height in MapGuide Studio or WebStudio.
I didn't find any place where I can set the scale.
I calculate the scale manually and I using the CalculateScale1 function for
this, which is in the www\viewerfiles\ajaxmappane.templ file.
Regards,
Gyufi
gatopardo wrote:
>
> When I call the methods GetDisplayHeight, GetDisplayWidth or
> GetDisplayScale, all of them return 0, although before I have called
> MgRenderingService.RenderMap passing the image height and width, and the
> image is rendered successfully.
>
> I don't know how to set these values, and because of this some other
> methods throws an exception like "value cannot be less than or equal to
> zero".
>
> Thanks for your help
>
--
View this message in context: http://n2.nabble.com/Set-Map-Height-and-Width-on-Web-Api-tp2974758p3081168.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list