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
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
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 .
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.
__
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
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
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
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
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
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
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
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
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.
__
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
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
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.
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
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
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
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
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
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
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..
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
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
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
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
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
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
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
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
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
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
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
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
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
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
37 matches
Mail list logo