Where should I add this URL? Based on what I've read I need to add component://AddWMSLayer to the script to the invoke URL widget:
"<?xml version="1.0"?> <WidgetType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="UiWidgetType"> <Name>AddWMSLayer</Name> <Type>InvokeURL</Type> <Location /> <Extension> <Target /> <Url>Component://AddWMSLayer</Url> <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty> <AdditionalParameter /> </Extension> <ImageUrl /> <ImageClass /> <Label>AddWMSLayer </Label> <Tooltip /> <StatusText /> <Disabled>false</Disabled> </WidgetType>" Where should I add that URL address? On Thu, May 19, 2022 at 1:05 PM Gordon Luckett < [email protected]> wrote: > Which one are you trying? > I usually try one like: > > http://wms.ess-ws.nrcan.gc.ca/wms/toporama_en?VERSION=1.1.1&request=GetCapabilities&service=wms > > or any one you like...which one are you using? > > > On Thu, May 19, 2022 at 1:03 PM Hadis Alinia <[email protected]> > wrote: > >> Sorry I think I am doing something wrong. What URL should I use? >> >> On Thu, May 19, 2022 at 10:55 AM Gordon Luckett < >> [email protected]> wrote: >> >>> What is the URL of the WMS? >>> >>> On Thu, May 19, 2022 at 10:54 AM Hadis Alinia <[email protected]> >>> wrote: >>> >>>> component://AddWMSLayer and I can see it in web\www\fusion\widgets >>>> folder. >>>> >>>> On Thu, May 19, 2022 at 7:18 AM Gordon Luckett < >>>> [email protected]> wrote: >>>> >>>>> Can you send the WMS url you are trying? >>>>> >>>>> On Thu., May 19, 2022, 12:52 a.m. Hadis Alinia, < >>>>> [email protected]> wrote: >>>>> >>>>>> Thank you Gordon! >>>>>> I came a cross with Mapguide-react-layout that has the Add/manage >>>>>> layer component. I know I should add the widget as an invoke URL. In the >>>>>> widgets I can see see "add WMSlayer" and I tested to add WMS but doesn't >>>>>> work. I am using mapguide V.3.1.2.9484. I don't see that componnet in my >>>>>> widget list. Should I do anything to add this widget? Is it the same as >>>>>> openlayers 2.13 that you referenced? >>>>>> Under option> Editor I see mapguide layout react URL. Is this the one >>>>>> I need to make a change to? What is that URL? >>>>>> >>>>>> Thank you >>>>>> HA >>>>>> >>>>>> >>>>>> >>>>>> On Wed, May 18, 2022 at 11:48 AM Gordon Luckett < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Ajax (Basic Web Layout) does not support KML - the Fusion (Flexible >>>>>>> Web Layout/Web Application) uses OpenLayers 2.13 and this does support >>>>>>> KML >>>>>>> parsing etc. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, May 17, 2022 at 7:07 PM Hadis Alinia < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I need to enable the user of my webmap application built by >>>>>>>> Mapguide to overlay their kml layers in ajax view or convert CSVs with >>>>>>>> lat >>>>>>>> and lon to a point data and then can download their points data as >>>>>>>> kml. Or >>>>>>>> select a feature of the uploaded layer and download it as a kml. Is >>>>>>>> that >>>>>>>> even possible in mapguide? I can't find an example searching on google. >>>>>>>> Please advise >>>>>>>> >>>>>>>> Thank you >>>>>>>> HA >>>>>>>> _______________________________________________ >>>>>>>> mapguide-users mailing list >>>>>>>> [email protected] >>>>>>>> https://lists.osgeo.org/mailman/listinfo/mapguide-users >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> mapguide-users mailing list >>>>>>> [email protected] >>>>>>> https://lists.osgeo.org/mailman/listinfo/mapguide-users >>>>>>> >>>>>> _______________________________________________ >>>>>> mapguide-users mailing list >>>>>> [email protected] >>>>>> https://lists.osgeo.org/mailman/listinfo/mapguide-users >>>>>> >>>>> _______________________________________________ >>>>> mapguide-users mailing list >>>>> [email protected] >>>>> https://lists.osgeo.org/mailman/listinfo/mapguide-users >>>>> >>>> _______________________________________________ >>>> mapguide-users mailing list >>>> [email protected] >>>> https://lists.osgeo.org/mailman/listinfo/mapguide-users >>>> >>> _______________________________________________ >>> mapguide-users mailing list >>> [email protected] >>> https://lists.osgeo.org/mailman/listinfo/mapguide-users >>> >> _______________________________________________ >> mapguide-users mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/mapguide-users >> > _______________________________________________ > mapguide-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/mapguide-users >
_______________________________________________ mapguide-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapguide-users
