AW: [mapguide-users] Re: dynamic filter for Layers in Maestro possible?

2012-03-14 Thread Stefanie Siegel
Thank you for helping! Sounds like the problem should be solvable.

I'll try the suggested way.


-Ursprüngliche Nachricht-
Von: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] Im Auftrag von Jamo
Gesendet: Mittwoch, 14. März 2012 04:00
An: mapguide-users@lists.osgeo.org
Betreff: [mapguide-users] Re: dynamic filter for Layers in Maestro possible?

Generate a layer at runtime taking the user login/id as a variable to be
used in the layers filter.
Refer to the buffer command for some code samples on how to add a layer at
runtime.

I would suggest building your layer.templ from an existing layer then simply
make the filter a variable so all you do is replace the %s with your filter.

There should be plenty of examples of runtime layers already posted on here
I know It took me a while to get my head around how to write a runtime layer
to the map but it's quiet easy once you've got the bones down.


--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/dynamic-filter-for-Layers-in-Maestro-pos
sible-tp4573151p4576759.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Google Earth 6.1 Issues

2012-03-14 Thread GordonL
Have you tried generating KML with GeoRest?
 I have the best luck there.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Google-Earth-6-1-Issues-tp4182618p4577952.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Set Selection in Fusion

2012-03-14 Thread GordonL
When you "alert" your XML is it correct?  Is there data?

If so, it might be your Fusion SetSelectionXML function.

function SetSelectionXML(selectionXml) {
var Fusion = window.top.Fusion;
var mapWidget = Fusion.getWidgetById(mgApiMapWidgetId);
if (mapWidget && mapWidget.isMapLoaded()) {
mapWidget.setSelection(selectionXml, true);
}
}

The line "var Fusion = window.top.Fusion;" may need to be tweaked.  In my
case, I always embed the page in an iFrame so I would have to change this
line to "var Fusion = window.top.iFrameMap.Fusion;"

so watch for that.

Also, I would put an alert in this function so you know its being called.

Finally, I find debugging javascript with chrome is sometimes easier than
Firebug.


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Set-Selection-in-Fusion-tp4182657p4577971.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: error on the map

2012-03-14 Thread Gabriele Monfardini
Hi,

> Ok it seems that bad image requests are being made, causing the request
> failure handler (containing the alert() calls) to be called.
>
> I think you can just remove the alert() calls from ajaxmappane.templ

some days ago I've opened a bug to propose exactly the same solution

http://trac.osgeo.org/mapguide/ticket/1969

Regards,

Gabriele
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: controlling label placement

2012-03-14 Thread Mauricio Villablanca
Set scale range then theme.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Re-controlling-label-placement-tp4566303p4611812.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users