Re: [mapguide-users] React layout warning: Could not find the context menu configuration
Thank you! I just needed to replace container MapRightclickMenu to MapContextMenu and now its working. Hi Kajar, In your ApplicationDefiniton resource, do you have a Container with the name MapContextMenu ? MapContextMenu ContextMenu top etc (look at the attached file) The warning is displayed when the Container is missing from the resource. In Maestro you can edit the resource by opening your Flexible Layout and click on the menu [Edit as XML] at the top. Regards, Pierre De : mapguide-users De la part de Kajar Kuldsepp Envoyé : 15 septembre 2022 04:38 À : mapguide-users@lists.osgeo.org Objet : [mapguide-users] React layout warning: Could not find the context menu configuration Hi! I'm experience warning when using React layout. It happens when I start using latest 0.14.7 version. During load I will get warning: The following warnings were encountered loading the viewer * Could not find the context menu configuration. Right-clicking the map will show an empty context menu. If you are loading from a Flexible Layout, it must have a container named 'MapContextMenu' It happens all flexible layouts I have created and also all react templates. I also did one test and created layout without MaprightclickMenu widget, but still same warning on load. Does anyone else have experienced same problem and how to get rid of it? Kajar http://www.w3.org/2001/XMLSchema-instance";; xmlns:xsd="http://www.w3.org/2001/XMLSchema";; xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd"> Slate fusion/templates/mapguide/slate/index.html MapGuide True Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition false true EPSG:900913 Toolbar Toolbar top Widget CoordinateTracker Widget demoComponentTest Widget messageComponent Widget ViewAsKml Widget QuickPlot Separator Widget RefreshMap Widget Maptip Widget SelectRadius Widget SelectPolygon Widget ClearSelection Widget tbBuffer Widget Measure Widget FeatureInfo Widget Query Widget Theme Widget Redline Widget ViewOptions Widget About Widget Help ToolbarSecondary Toolbar top Widget Select Widget Pan Widget Zoom Widget ZoomIn Widget ZoomOut Widget InitialMapView Widget ZoomToSelection Widget PreviousView Widget NextView ToolbarVertical Toolbar left Widget vertSelect Widget vertPan Widget vertZoom Widget vertZoomIn Widget vertZoomOut Widget vertInitialMapView Widget vertZoomToSelection Widget vertPreviousView Widget vertNextView FileMenu Toolbar top Widget MapMenu Widget BasemapSwitcher Flyout View Widget showOverview Widget showTaskPane Widget showLegend Widget showSelectionPanel Statusbar Splitterbar bottom Widget statusCoordinates Widget statusSelection Widget EditableScale Widget statusViewSize xMapContextMenu ContextMenu top Widget RefreshMap Separator Widget Pan Widget Zoom Separator Widget ZoomIn Widget ZoomOut Separato
Re: [mapguide-users] React layout warning: Could not find the context menu configuration
Hi Kajar, In your ApplicationDefiniton resource, do you have a Container with the name MapContextMenu ? MapContextMenu ContextMenu top etc (look at the attached file) The warning is displayed when the Container is missing from the resource. In Maestro you can edit the resource by opening your Flexible Layout and click on the menu [Edit as XML] at the top. Regards, Pierre De : mapguide-users De la part de Kajar Kuldsepp Envoyé : 15 septembre 2022 04:38 À : mapguide-users@lists.osgeo.org Objet : [mapguide-users] React layout warning: Could not find the context menu configuration Hi! I'm experience warning when using React layout. It happens when I start using latest 0.14.7 version. During load I will get warning: The following warnings were encountered loading the viewer * Could not find the context menu configuration. Right-clicking the map will show an empty context menu. If you are loading from a Flexible Layout, it must have a container named 'MapContextMenu' It happens all flexible layouts I have created and also all react templates. I also did one test and created layout without MaprightclickMenu widget, but still same warning on load. Does anyone else have experienced same problem and how to get rid of it? Kajar http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd"> Slate fusion/templates/mapguide/slate/index.html MapGuide True Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition false true EPSG:900913 Toolbar Toolbar top Widget CoordinateTracker Widget demoComponentTest Widget messageComponent Widget ViewAsKml Widget QuickPlot Separator Widget RefreshMap Widget Maptip Widget SelectRadius Widget SelectPolygon Widget ClearSelection Widget tbBuffer Widget Measure Widget FeatureInfo Widget Query Widget Theme Widget Redline Widget ViewOptions Widget About Widget Help ToolbarSecondary Toolbar top Widget Select Widget Pan Widget Zoom Widget ZoomIn Widget ZoomOut Widget InitialMapView Widget ZoomToSelection Widget PreviousView Widget NextView ToolbarVertical Toolbar left Widget vertSelect Widget vertPan Widget vertZoom Widget vertZoomIn Widget vertZoomOut Widget vertInitialMapView Widget vertZoomToSelection Widget vertPreviousView Widget vertNextView FileMenu Toolbar top Widget MapMenu Widget BasemapSwitcher Flyout View Widget showOverview Widget showTaskPane Widget showLegend Widget showSelectionPanel Statusbar Splitterbar bottom Widget statusCoordinates Widget statusSelection Widget EditableScale Widget statusViewSize xMapContextMenu ContextMenu top Widget RefreshMap Separator Widget Pan Widget Zoom Separator Widget ZoomIn Widget ZoomOut Separator Flyout Zoom Separator
[mapguide-users] React layout warning: Could not find the context menu configuration
Hi! I'm experience warning when using React layout. It happens when I start using latest 0.14.7 version. During load I will get warning: The following warnings were encountered loading the viewer - Could not find the context menu configuration. Right-clicking the map will show an empty context menu. If you are loading from a Flexible Layout, it must have a container named 'MapContextMenu' It happens all flexible layouts I have created and also all react templates. I also did one test and created layout without MaprightclickMenu widget, but still same warning on load. Does anyone else have experienced same problem and how to get rid of it? Kajar ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users