[mapserver-users] Reg:- Not able to show KeyMap on main page
venkat
ven.tammineni at gmail.com
Wed May 21 05:37:25 PDT 2008
Dear All,
I am Venkat,I am developing an web application.In that One of the task is
Keymap(Overviewmap).I am using C# asp.net .I can able to compile my code and
when i debug image path everything is correct it seems.But I am not able to
see keymap on my page.Even i am not getting error. I am sending
attachment.Anyone can help me.
1) C# code :-
referenceMapObj referenceMap = map.reference;
imageObj ReferenceImg = map.drawReferenceMap();
imgOver.ImageUrl = ReferenceImg.ToString(); //image button iam
trying to show map on imagebutton(is there any otherway?)
2) Mapfile Code
WEB
imagepath "C:\Inetpub\wwwroot\RoulacGIS\MapFile\tmp"
imageurl "C:\Inetpub\wwwroot\RoulacGIS\MapFile\tmp"
END
REFERENCE
IMAGE "C:\Inetpub\wwwroot\RoulacGIS\MapFile\tmp\KeyMap.png"
EXTENT -180 -90 180 90
STATUS ON
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
SIZE 120 90
END
I am waiting for great response.
Advanced Thanks.
Thanks and Regards
Venkat.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080521/8438b93b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: app.JPG
Type: image/jpeg
Size: 90022 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080521/8438b93b/attachment.jpe>
More information about the MapServer-users
mailing list