Brian,
The standard template works for me with the most recent MGOS2.2
release. I am seeing an error with the Google layer now that I will fix.
Mike
On 10/28/2010 9:12 AM, Berdel, Brian wrote:
I can add tickets for this, but before I do I wanted to check if anyone else
has tested fusion
Did you point the Overview widget to use your mini map?
Widget xsi:type=WidgetType
NameOverviewMap/Name
TypeOverviewMap/Type
Description/
Extension xsi:type=CustomContentType
MapIdOverViewMap/MapId this is the id of the MapGroup to be
used in the overview
/Extension
/Widget
Mike
On
http://public.geoportal-geoportail.gc.ca/wms/cascader?version=1.0.0request=GetCapabilitiesservice=WMS
is returning a 1.0.0 Capabilities document, not sure if the GetMap
requests actually work though.
Mike
On 8/12/2010 8:09 AM, Andrew DeMerchant wrote:
Thanks Dave - I tried that (ie,
Just a guess because you haven't provided much information, but the
Fusion object will only be defined after all the script tags are
loaded. i.e. you need to call that method from a window.onload callback.
Mike
Martin Fafard wrote:
Hi
I have the following message with Explorer (Fusion
I've also added a new tutorial document in the Fusion
trunk/docs/tutorial directory. Feedback is welcome, especially what
questions doesn't it answer (for Fusion basics)?
Mike
Jason Birch wrote:
Noticed that Mike just added some docs on Fusion URL parameters
I got your AppDef to work with Fusion trunk (essentially the same as
Fusion 2.0 RC1 at this point), the only change I had to make was to
point the MapWidget and Overview map at the MapGroup defined, ie. change
the MapId element for those widgets to be 'googleBase' rather than
'sheboygan' (Use
Jose,
The parameters should look like what gets passed to Query.php when you
select a feature by clicking on the map. Look at the Firebug console
when you click to select and then examine the values being passed in the
Post tab.
Mike
Jose Cerrejon wrote:
Mike Adair wrote
It's hard to say what is wrong without seeing your application (and the
Firebug output), however based on the AppDef snippet in your previous
message I would first try expanding the Google layer definition some
more (however I suspect most of these values should be set as the
default already):
Changing the subject to something more appropriate.
The difference between using the AppDef in the single file build is that
without it, we don't know beforehand what widgets will be used so all of
them get included in the single file. If you do point to your
application's AppDef, it will
Jason is correct that this isn't in the Fusion SVN yet but it
essentially just parsed the URL query params and then does a map query
on the Fusion MAP_LOADED event like so:
doStartup: function() {
this.mapWidget.deregisterForEvent(Fusion.Event.MAP_LOADED,
this.doStartupFn);
And there is more info on creating the single file version of Fusion
here: http://trac.osgeo.org/fusion/wiki/ANTBuildSystem
Mike
Tom Fukushima wrote:
This page has some instructions on how to get the source from subversion:
http://trac.osgeo.org/mapguide/wiki/CompilingMapGuide22
You will
Also if you have an EPSG code, you can get the Proj4js initialization
string at http://spatialreference.org (as well as all sorts of other WKT).
Mike
Andy Morsell wrote:
Jose,
How did you obtain the Proj4 projection description for your coordinate
system? I see that the mapagent coordinate
And are you specifying the projection details in the
ApplicationDefinition.xml file?
I thought we had a wiki page for it but I can't find it at the moment
but for projections other than EPSG:4326, you need to specify the
projection details in a ProjectionDef element inside the
MapExtension
Jose,
If you look at the firebug console, what is the response from the
QUERYMAPFEATRURES request? That should be the same for IE/FF and you
should be able to see your null value there. If not, I would step
through the _display() method of MapTip with a debugger to see where the
null is
I've noticed this too with recent browser updates and a fix I found is
in the jxtheme.css files, replace instances of 1% with 1000%. The
comment around that bit of CSS is much bigger than its container but
it appears that 10,000 is too big and setting that to 1000 works.
Mike
GordonL
The doc pages that Jason mention are good for the ApplicationDefinition
configuration options, and we definitely welcome contributions in the
documentation area. Unfortunately there isn't much in the way of a
Javascript API documentation yet, although I have started to work on
such docs for
If you can get a pointer to the Legend widget (with
Fusion.getWidgetById(legendId)), there are methods on that widget:
- expandAll
- collapseAll
- expandBranch
- collapseBranch
These are alos called by the legend's context menu to expand and
collapse the tree.
Mike
Rodolfo Moreno wrote:
Hi
Ah sorry, I forgot the Legend widget is coded with some renderer
subclasses. Try myLegend.renderer.expandAll()
Mike
Rodolfo Moreno wrote:
Thanks Mike for your quickly answer.
I tried your suggestion:
var myLegend = Fusion.getWidgetById('Legend');
myLedend.expandAll();
but this raises an
This was added to Fusion 1.1 after the 2.0 branch was created
(http://trac.osgeo.org/fusion/ticket/34) it shouldn't be too difficult
to start from that patch. There is a ticket for it
http://trac.osgeo.org/fusion/ticket/285.
Mike
BradM wrote:
Hi, the link to view tool saves the
If you aren't getting the password prompt, it could also be trying to
load an invalid resource, i.e. Slate.ApplicationDefinition isn't
available on your MG Server.
Mike
nclayton wrote:
I'm not being prompted at all. I go to the address given in the documentation
to test Fusion:
Just a guess but it sounds like your mapWidget object changes in between
calls.
Mike
GordonL wrote:
Hi, I am just trying to grab the current scale when the user zooms in and out
- but after the code runs once, successfully, to throws the following error:
Message: 'this.events[...][...]' is
a hint as to why it got changed.
Mike
GordonL wrote:
Hi Mike,
so since the mapWidget changes - should I capture it again anew?
I get this error even if I use the following code:
mapWidget.registerForEvent(Fusion.Event.MAP_EXTENTS_CHANGED, alert(hi
there));
Mike Adair wrote:
Just a guess
already
exist in PROJ 4...and is 1234 An unused Projection or just an example?
-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mike Adair
Sent: Wednesday, October 07, 2009 3:39 PM
To: MapGuide Users Mail List
Subject
Fusion trunk already includes the initial version of a redlining widget
which uses the OL feature editing controls. I am also planning to merge
in any customizations for the Nanaimo map LinkToView widget back into trunk.
Mike
Jason Birch wrote:
That's a question for DMSG; it wasn't
I'm currently working on a patch to retrieve the projection info from
the map definition for MapGuide. The problem is that MG uses WKT and
OpenLayers/Fusion uses EPSG codes and MG doesn't always have an EPSG/WKT
mapping available. So I will be implementing this so that if MG returns
a valid
when
many non-standard CS are liner-units-based may not be the best
approach. Would it not be possible to disable coordinate transforms if
there is no code available?
Jason
On 2009-10-07, Mike Adair mad...@dmsolutions.ca wrote:
I'm currently working on a patch to retrieve the projection info
-units-based may not be the best
approach. Would it not be possible to disable coordinate transforms if
there is no code available?
Jason
On 2009-10-07, Mike Adair mad...@dmsolutions.ca wrote:
I'm currently working on a patch to retrieve the projection info from
the map definition for MapGuide
Subject: Re: [mapguide-users] Fusion and Open layers Coordinate systems
I don't think doing cs-map in js would be practical, but wkt parsing
in proj4js sure would be nice...
On 2009-10-07, Mike Adair mad...@dmsolutions.ca wrote:
It's a shame MapGuide doesn't use EPSG codes :-)
OpenLayers
And some of us go on vacation once in a while...
In any case, it sounds like you should be listening for
Fusion.Event.MAP_LOADED event which gets fired when the Map object is
loaded and ready. FUSION_INITIALIZED is fired when the AppDEf has been
parsed and widget objects created.
Mike
Make sure you include the new JSON file in a script tag maybe?
All translation files under /text will be included in the single file
build created with the ant script but the standalone fusion.js only
includes the English strings by default.
Mike
Jose Cerrejon wrote:
I've tried the
That's what I was gong to suggest, but you can also set your initial map
extents in the ApplicationDefinition file like so:
MapGroup id=gmapLL xsi:type=MapType
Map xsi:type=MapLayerType
TypeMapServer/Type
SingleTiletrue/SingleTile
Extension
Also, patches are welcome if anybody has fixed any of these.
I'm expecting to have more time to devote to Fusion over the summer.
Mike
Paul Spencer wrote:
Thanks Andy ... we've been quite at this end but really appreciate the
traffic on these issues. I'm hopeful that we can take a look at
I can't get to it right now but I do have a task on my plate to get
these issues ironed out in Fusion 2.0, It should be within the next 2 weeks.
Mike
Andy Morsell wrote:
Thanks Chris. I would prefer to go the Google layers overlaid on Fusion
route so will explore that further. I was able to
it cupture current SESSIONID?
thanks
gordon
Mike Adair wrote:
Yes there is the LinkToView widget which provides bookmarking. It
provides a labeled anchor tag with a link to the current mapview.
Mike
Chris Claydon wrote:
I think I saw some support for bookmarking go
since that is likely to expire, it initializes the map
from the MapGuide resource ID, rather than mapname and session.
Mike
GordonL wrote:
Hi Mike,
Does it capture current Map Scale and Layer State?
Also, does it cupture current SESSIONID?
thanks
gordon
Mike Adair wrote
, does it cupture current SESSIONID?
thanks
gordon
Mike Adair wrote:
Yes there is the LinkToView widget which provides bookmarking. It
provides a labeled anchor tag with a link to the current mapview.
Mike
Chris Claydon wrote:
I think I saw some support for bookmarking go into Fusion
Yes there is the LinkToView widget which provides bookmarking. It
provides a labeled anchor tag with a link to the current mapview.
Mike
Chris Claydon wrote:
I think I saw some support for bookmarking go into Fusion 2.0. There are some
developers from DM Solutions on this list that may be
It would be really helpful if these issues can be broken up into
separate tickets and entered into the Fusion Trac system as new tickets
(http://trac.osgeo.org/fusion/)
Cheers,
Mike
Berdel, Brian wrote:
Hi guys, some of these improvements are great and this version will def be the best yet
Fusion 2.0 beta is reasonably stable for most the functionality that was
in the 1.1 series of releases. The biggest change is that a MapGroup
element now allows multiple Map elements which can be of any layer
type supported by OpenLayers, and this is the part that needs more
testing. We
The Jx.Dialog suggests to me that you are using the Fusion viewer which
isn't supported in an ASP environment.
Mike
Mark Pendergraft wrote:
Can you post the contents of your index.html file please?
-Mark
*From:* mapguide-users-boun...@lists.osgeo.org
-boun...@lists.osgeo.org] On Behalf Of Mike Adair
Sent: Thursday, February 05, 2009 9:11 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Regarding Flexible Layout
The Jx.Dialog suggests to me that you are using the Fusion viewer which
isn't supported in an ASP environment.
Mike
In Fusion 2.0, we can certainly clear the digitized features by calling
the Vector layer destroyFeatures() method. I'm not familiar with the
behaviour of the old viewers that MapGuideViewerAPI is trying to mimic
so I would need to know when the features should be cleared: when you
start
I just fixed a bug that sounds similar to that:
http://trac.osgeo.org/fusion/ticket/108. The initial view was
overriding the max extent returned by MapGuide. This is on the trunk
version (soon to be in a 1.1 version)
Mike
Andrew DeMerchant wrote:
I don't have defined scales for my map. I
');
mapWidget.activateWidget(Fusion.getWidgetsByType('Pan')[0]);
The link to the fusion api on the trac site doesn't exist - so I don't
really see a place to check this stuff
Andrew
Mike Adair wrote:
In your Fusion init method (i.e. a function registered to the
FUSION_INITIALIZED event), you can
to be some way to do it just from that init
function. Is there some link that you know of to get the API?
Andrew
Mike Adair wrote:
Andrew,
Testing that code snippet doesn't work for me because the
activateWidget() method is only defined on the MapWidget.
A more generic solution
this:
Fusion.getWidgetsByType('Pan')[0].activateTool();
Could this just be added to the initialized callback, or is it an
undocumented function (heh, as opposed to all the other undocumented
documented functions) that shouldn't be encouraged?
Jason
-Original Message-
From: Mike Adair
In your Fusion init method (i.e. a function registered to the
FUSION_INITIALIZED event), you can activate a widget like so:
var mapWidget = Fusion.getMapById('mainMap');
//enable pan widget
mapWidget.activateWidget(Fusion.getWidgetsByType('Pan')[0]);
getWidgetsByType returns an array
Paul or Jason may want to weigh in on this when he gets back from
vacation but I believe we were targeting for the end of summer to have
1.1 ready.
Mike
Andrew DeMerchant wrote:
Is there any update to this yet? When's v1.1 going to be available (or
any version with the fix)? This problem with
, I'm going to have to go live
with a project using AJAX and then maybe switch over to Fusion just
after my users get used to AJAX. It'd be really great to start off in
Fusion. It looks so much nicer...
Andrew
Mike Adair wrote:
Paul or Jason may want to weigh in on this when he gets back
Examples of calling server-side PHP can be found in
MapGuide/MapGuide.js. Look for 'Fusion.ajaxRequest' which essentially
maps to OpenLayers.Ajax.Request with the Fusion URL prepended (in
lib/fusion.js).
Mike
gingerbbm wrote:
Dear all
I'm new to MapGuide and Fusion. We have an Enterprise
What is the error you are getting?
Mike
mrsyer wrote:
I realize there are already a couple threads about this but i cant figure it
out. Im trying to run a query out of fusion but i keep getting the same
error. im using the query tasks from the open source sample application.
thnks.
Currently this is only possible by altering the Map object on the server
side.
Mike
Berdel, Brian wrote:
Is it possible to turn layers on and off client side? Or do you have
to use server side code?
Thanks,
Brian
setMetersPerUnit was introduced in Fusion 1.0.6 to resolve the incorrect
mouse position issue so you will need to use Fusion 1.0.6. This is what
shipped with MGOS 2.0.1. It should be a matter of just replacing the
fusion directory in the MG directory tree, but there some extra MapGuide
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair
Sent: Monday, May 12, 2008 12:57 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Fusion - feature hyperlink target?
The Maptip widget does support a Target element in it's Extension element
Andy,
Fusion doesn't support that use-case right now although you might be
able to look at the MapMenu widget to see if that might fit your needs,
or you may be able to customize it to suit. The MapMenu supports loading
a list of Map definitions from a MapGuide folder resource, i.e point it
parameter that points to a mapResource would be perfect.
I will look at modifying Fusion. Any quick clues as to which Fusion files I
should start looking at?
Thanks again.
Andy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair
Sent: Tuesday, May
The Maptip widget does support a Target element in it's Extension
element. The logic that it is currently using is:
- if there is a TaskPane widget with the ID of the target, it will be
directed there, else
- if there is DOM element with the ID of Target, set it's source to the
hyperlink URL
That error typically occurs after an AJAX call that returns invalid JSON
- usually due to exceptions being thrown in a PHP script. The more
recent versions of Fusion give a better error message (location,
message and stack trace filled in). You can also see what the error
message is in the
Thanks Jason, I've tested against trunk and it works well.
About the DomNode issue that you mentioned, yes this changed for
http://trac.osgeo.org/fusion/ticket/16 to get all of the methods into
the Fusion namespace. For applications that depend on DomNode, you can
either:
- change your
Brian,
You can look at the BufferPanel widget as an example (and the code in
widgets/BufferPanel/BufferPanel.templ) which can run in the TaskPane or
a pop-up window. There is a method in there called GetParent() which
returns the window where Fusion can be found so you can then do things
Fusion itself doesn't run under .NET, at least as far as I know.
Mike
Jackie C. Ng wrote:
The reason I ask is that fusion does map names differently from the normal
ajax viewer. I think it's of the form [MapName][some long guid] instead of
[MapName]
- Jackie
Berdel, Brian wrote:
Hi
: 215.283.9444
www.mcmtrans.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair
Sent: Thursday, April 17, 2008 12:51 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] .NET Fusion
Fusion itself doesn't run under .NET, at least
:
and this also affects openlayers trunk?
On Tue, Apr 1, 2008 at 2:05 AM, Mike Adair [EMAIL PROTECTED] wrote:
I can confirm that this is indeed a Fusion issue. Internally, Fusion is
using a different value for 'metersPerUnit' that what is returned by the
mapguide server. Look
Don,
You first need to create Widget elements that will run your custom
tasks like so using the InvokeScript widget:
Widget xsi:type=UiWidgetType
Nametask1/Name
TypeInvokeScript/Type
Extension
ScripttestScript()/Script
/Extension
Labelmenu label/Label
There is a ticket open for this: http://trac.osgeo.org/fusion/ticket/2
Mike
Zac Spitzer wrote:
I have been having issues with getting the an openlayers tiled
mapDefinition to match
up with some markers coming out of the database.
So in classic, take a step back and try and solve the problem
I can confirm that this is indeed a Fusion issue. Internally, Fusion is
using a different value for 'metersPerUnit' that what is returned by the
mapguide server. Look for this to be resolved soon in SVN. The
geography of the underlying map is correct however.
Mike
Zac Spitzer wrote:
I
The OpenLayers MapGuide Layer type supports specifying different image
formats by including a 'format' parameter in the params hash passed to
the layer constructor. This will override the default value of 'PNG'.
We currently don't support that in Fusion but it should be fairly easy
to add it
Note that if you are testing with the fusion/samples/mapguide/standard
example, the SelectionPanel and SelectionInfo widgets aren't enabled in
the ApplicationDefinition.xml file as shipped. You have to uncomment
those widgets in the file. We should probably change that so those
widgets are
with the SelectionInfo showing selected objects for
Sheboygan and not for us, or if all of these issues are just
interrelated.
Jonathan
Mike Adair wrote:
Note that if you are testing with the
fusion/samples/mapguide/standard example, the SelectionPanel and
SelectionInfo widgets aren't enabled
Zac,
The MapGuide simple sample in Fusion hasn't yet been converted from an
older version of the code. This has been fixed and will be available in
the next RC.
For the gmapTiled map definition, I'll have to confirm but we should be
able to make a package for that available.
Mike
Zac
I recently started encountering this message too. What fixed it for me
(in PHP) was to change instances of this:
$srsXform = new MgCoordinateSystemTransform($srsDs, $srsMap);
to this:
$srsXform = $srsFactory-GetTransform($srsDs, $srsMap);
Mike
Jim O'Leary wrote:
Has
71 matches
Mail list logo