mapWidget.getCurrentExtents(); should give your the current map extent :)
Please see more codes of following link:
http://osgeo-org.1560.x6.nabble.com/Map-Switch-Base-Layer-groups-issue-td5348150.html
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Thanks RenoSun. It worked.
also just another question, is there any function the can do a get
coordinate for full map?. I wanna have this 1 button that gets a fullpoints
of the whole map with scale atleast 299 then call the getmapimage to
generate the image.
Is there such function?
--
Sent
Here is the custom print (snipping tool) that we are using with Fusion:
1. The example here is using ASP .NET C# with MapGuide API
(http://mapguideAPIEnabledSite/PrintSelect.aspx)
2. Custom Invoke URL widget
PrintSelect.aspx:
<%@ Page Language="C#" AutoEventWireup="true"
Hi,
Is there a way to get coordinates (lower left coord and upper right coord)
without using the .getselection?
reason is, if i use get selection, whatever feature i hit would get included
on the coordinates.
What i am trying to achieve is highlight an area of the map and generate an
image of