Re: [mapguide-users] Where is the file specified in ResourceId tag located?

2016-08-19 Thread makoychan
Is there a way to use a separate mapdefinition file? Because i am trying to create mapdefition on the fly. I am getting data from the DB. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Where-is-the-file-specified-in-ResourceId-tag-located-tp5043385p5281372.html Sent from t

[mapguide-users] change layer definition runtime

2016-09-06 Thread makoychan
Is there a way to change or update layer defintion on runtime? W/o using the .net api warpper? I am currently using a fusion template, but i wanted to change the layer defintion the map is using to a different layerdefinition. Is it spossible to do the the fusion script? i wanted to do it before

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread makoychan
Hi, I have created layer definition from each maps on Maestro and just 1 MapDefinition, What i am trying to do is the just updated the layerdefinition of the mapdefinition to the specific selected map. I wanted to do it runtime. I cam currtently using fusion, is this possible to do on JS or just .

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread makoychan
Thanks Liglio I will definitely give this shot. Ill let you know if it works. Thanks thanks a bunch. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284382p5284819.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread makoychan
Hi Liglio, Sorry to have disturbed you but, what namespace did you use for Util.SetTagTextContent and where is the method GetLayerByName? Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284382p5284823.html Sent from the MapGuide U

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread makoychan
Hi Liglio, Thanks for the quick update, i am getting this error when it reaches map.open if i keyed in: resourceService and resourceidentifier "Resource data was not found: RuntimeData" if i keyed in: resourceService and mapName or mapdefinition Invalid resource path: Library://Langan Floor P

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread makoychan
Solved the error. I should be getting the mapname from the mapdwiget. Now there is no error. But it looks like i need to refresh fusion mapwidget for the layers to effect. Only thing now i think is to refresh the mapwidget for the layers to take effect. But it seems that layerTemp.ForceRefresh

Re: [mapguide-users] change layer definition runtime

2016-09-09 Thread makoychan
Thank Liglio, It worked well! :) last question, is there a way to also change featuresourceid , featureclassname? the properties are "read only" Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284382p5284992.html Sent from the Ma

[mapguide-users] Fusion JX Panel

2016-09-13 Thread makoychan
Hi, Is there a way to refresh the JX Panel for fusion? I had the map change layers but the panel properties is still attached to the previous map. Thanks Regards -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-JX-Panel-tp5285642.html Sent from the MapGuide Users

Re: [mapguide-users] change layer definition runtime

2016-09-21 Thread makoychan
Thanks, found it and made it work. Also, sorry for asking this here cause i know ive already posted this on a new thread. Do you happen to know how to refresh the jxpanel? because it seems that when i replaces all the layers via the .net api's, the jxpanels doesnt work anymore with the changed ma

[mapguide-users] Map Selection Gone

2016-09-29 Thread makoychan
Hi, I am using fusion and was able to change layers using MapGuide API c#, but after chaging the layers and calling the mapWidget.redraw, the map selection is gone , whenever i click something on the map, nothing happens. Did i miss something? Please help -- View this message in context: htt

Re: [mapguide-users] change layer definition runtime

2016-09-30 Thread makoychan
After refreshing, the select button at the toolbar doesnt work anymore, each time i select an objct on the map. It does nothing, any idea? need help been stuck here for almost a week.. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284

[mapguide-users] Opening GeoTif File

2016-11-10 Thread makoychan
Can make mapguide assemblies (using c#) open a geotif to read or update data on it? Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Opening-GeoTif-File-tp5295178.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

[mapguide-users] Session Expired Error

2017-02-09 Thread makoychan
Hi, has anyone encountered this error? Session has expired or is invalid. Please log in again. The session (7d458f4a-eea0-11e6-8000-005056a54c45_en_MTI3LjAuMC4x0AFC0AFB0AFA) has expired. - MgSiteServiceHandler.ProcessOperation() line 83 file c:\working\build_area\mapguide\2.6.1\x86\mgdev\server\s

[mapguide-users] Fusion template setExtents Problem

2017-04-04 Thread makoychan
Hi, I am having a problem when i am setting extents using mapWidget.setExtents. Nothing is happening on the map if i call that function and keyed in the minx,miny,maxx,maxy but if i set the initialextents and max extents with the same value of minx, miny, maxx, maxy , maps is loaded properply. B

Re: [mapguide-users] change layer definition runtime

2017-04-12 Thread makoychan
Hi, Back again, was able to make it work before with MapGuide 2.6.1 32bit now upgraded to 3.1.0 64bit.. Same code with changing layer at runtime.. funny thing now, nothing happens, but if select something on the map, it throws an error inside fusion-compressed.js, 'layerName' does not exists.

[mapguide-users] Fusion Layout Print

2017-08-15 Thread makoychan
Hi, I am trying to use the print button of the fusion layout, but i wanted to define a certain area and generate that image to be printed. But i am a bit confuse on how to do it, when i try to highlight a certain section and hit the print button, the generate images is not the one i selected. Is t

Re: [mapguide-users] change layer definition runtime

2017-12-15 Thread makoychan
Anyone tried this with MGOS 3.1 and Fusion 3? apparantly after i updated everything to this version, none of the code works. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@l

[mapguide-users] Mapguide 3.1 Add layer on runtime c#

2017-12-15 Thread makoychan
Hi, I was able to add a new layer using mapguide api 3.1 c# hit forcerefresh and map.save(resource) but when i try to access it on javascript i still cant see the new layer. On Mapguide 2.6.1 and fusion 2.6 my code is working fine. Any thoughts or help? been stuck here for quite a while. Than

Re: [mapguide-users] Mapguide 3.1 Add layer on runtime c#

2017-12-27 Thread makoychan
Thanks Jackie. It worked. For some reason, the function is accepting both with and without parameter. As soon as i remove the paramter everything worked. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users

[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

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

[mapguide-users] map na panel in fusion template

2018-11-05 Thread makoychan
Hi, Is there a way to enable or show the map navigation panel on fustion template? i am trying to find where in the js for me to tweak or enable it. Because once i load the fusion template, the nav panel is now shown anymore. its the small floating thingy which zooming in and out and panning..

[mapguide-users] MaestroAPI Change layer filter c#

2019-01-21 Thread makoychan
Hi, Is there anyway to change the filter of a layer or updating fileter of layer defition using the MaestroAPI rather than using Maestro application? I'd like to modify the filter on page_load event so i dont need to wait for the map to get loaded 1st before replacing the layers. using C# and

Re: [mapguide-users] Maestro API - Layer filter

2019-01-21 Thread makoychan
Did you get any response or resolution on this? I am trying to do the same and also getting an error too. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http

[mapguide-users] PanQuery and Maptip conflict

2019-03-18 Thread makoychan
Hi, Has anybody used panquery? initially if was throwing an error so i modified the panquery.js to fix it. But i noticed that when using panquery the maptip breaks, maptips only happens initially and as soon as i do the panquery, maptip is gone. Has anybody encountered this issue? Thanks been

Re: [mapguide-users] PanQuery and Maptip conflict

2019-03-21 Thread makoychan
Thank Jackie, i did found out about the panquery.js error and omitted the unused var. Also as for the Maptip.js i also did modified the _hide function and included: this.mouseIsDown=false the reason of the conflict was the mouseup event of maptip was not called when both maptip and panquery is i

[mapguide-users] Query filter date comparison

2020-05-26 Thread makoychan
Hi, is there any way to do date comparison filter without converting the date into string? Because i am using it like this on my layers ToString(ScheduleDate, 'MM/DD/') = ToString( CurrentDate( ) ,'MM/DD/YY') its seems quite slow -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide

Re: [mapguide-users] Query filter date comparison

2020-05-27 Thread makoychan
SQL Server Spatial -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] change layer definition runtime

2020-05-27 Thread makoychan
Hi, Have you experience that after doing this update of layer using ajax and redraw a couple of time. Mapguide server breaks? because i suddenly get session expired or magguide server is not responding.. Im on the site the whole time and doing switching of layers to stress test it. But suddenly it

[mapguide-users] setExtents on mapload fusion

2020-11-24 Thread makoychan
Is there a way on fusion mapwidget to set right away the map extents? -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo

[mapguide-users] hiding fusion parameters applicationdefinition

2020-12-07 Thread makoychan
Is there a way to hide the application definition parameter when loading fusion template maps? because right now i am doing something like this www.mymap.com?ApplicationDefinition=Library://Maps/AppDef.ApplicationDefinition is there a way to just call it www.mymap.com and still load my applicatio

Re: [mapguide-users] hiding fusion parameters applicationdefinition

2020-12-15 Thread makoychan
Thank you Jackie. It worked! -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] setExtents on mapload fusion

2020-12-15 Thread makoychan
Thank you. It worked! -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] onload select a feature

2020-12-15 Thread makoychan
Is there a way to right-away select a feature on mapload on fusion? -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/m

[mapguide-users] Mapguide Fusion Legend Feature Count

2021-01-11 Thread makoychan
Hi, Is there a function or script to get feature count of each legend? i would want to display count of features by legend category. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguid

Re: [mapguide-users] onload select a feature

2021-02-03 Thread makoychan
Thanks Gordon. But a quick question about this, does this assume that you know the map you are loading? Because on my approach i have multiple maps and initially before anything else i use the mapguide api to change the filter of the layer for a certain map to load then thats the only time i neede