hi there, Im trying to create an image from a selection and I need some help with getmapimage. Ive attached an image that helps describe what I want to accomplish.
I want to be able to select an area with for example a polygon and create an image that shows that selection. Currently I am doing this except the image shows much more then just the selection. I cant just change the setdisplaywidth because that just changes the size of the image and I need the image to be ca. width=400 and height=500. The following is how I create my image. Dim Img As String = "http://localhost/mapguide2009/mapagent/mapagent.fcgi?" & _ "OPERATION=GETMAPIMAGE&VERSION=1.0.0" & _ "&FORMAT=PNG&SESSION=e3162e34-ffff-ffff-8000-005056c00001_da_7F0000010AF20AF10AF0&" & _ "MAPNAME=Kort_temaer" & _ "&SETVIEWCENTERX=517334,984521116" & _ "&SETVIEWCENTERY=6315357,04906777" & _ "&SETVIEWSCALE=200000" & _ "&SETDISPLAYWIDTH=400" & _ "&SETDISPLAYHEIGHT=500" http://osgeo-org.1803224.n2.nabble.com/file/n6048188/GETMAPIMAGE_test.png thanks. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/help-with-Getmapimage-tp6048188p6048188.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
