Re: [mapguide-users] Get coordinates fusion templates

2018-01-17 Thread RenoSun
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

Re: [mapguide-users] Get coordinates fusion templates

2018-01-16 Thread makoychan
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

Re: [mapguide-users] Get coordinates fusion templates

2018-01-04 Thread RenoSun
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"

[mapguide-users] Get coordinates fusion templates

2017-12-29 Thread makoychan
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