hi Bernel Brian,
You excuse me for this email, but I have the problem to select and to
selection objects on map
I use mgos 2.0.1 with IIS and fusion
I insert in fusion/MapGuide/MapGuideViewerApi.js
function GetParent(){
if (popup) {
return opener;
} else
if (parent.Fusion) {
oh~ it brought new problems:
the first time i select the feature , it's quite normal.
but it's abnormal after i make a new selection.
how to clear the previous selection?
---
Paul Spencer-5 wrote:
>
> Hi,
>
> Fusion works wit
thanks for reply~ Berdel
i meet the same problem after use SetSelectionXML() at client.
i think the selection.ToXml() at server has problem in fusion,perhaps the
format is not valid for fusion.
Berdel, Brian wrote:
>
> There are two ways to do it...My preferred way is to use the
> MapguideVie
at server in CreateSelectionXML() ,i add the following line:
selection.Save(resService, map_name);
at client i use the following line to refresh the map:
parent.document.getElementById('Map').widget.aMaps[0].drawMap();
then it's OK。
thank's a lot, Paul~:handshake:
Paul Spencer-5 wrote:
>
There are two ways to do it...My preferred way is to use the
MapguideViewweAPI.js file located under fusion/MapGuide/MapGuideViewerAPI.js
This has the SetSelectionXML Function in it and it also automatically zooms and
refreshes the map once called. Place this javascript in your task frame page
Hi,
Fusion works with selections somewhat differently, you should be able
to just save() the selection on the server side and Fusion will pick
it up (at least that is how the query stuff works).
I believe Mike did add something for selection xml but I don't know
what it was - perhaps he w