I am using MaestroAPI 6 and MapGuide 3.1. I can see that the renderdynamicoverlay supports a selection color. The OpenLayers implementation of MapGuide uses GETMAPIMAGE and GETDYNAMICMAPOVERLAY. In my codebehind I use the IMappingService.RenderRuntimeMap.
These do not support setting the selection color. I cannot see any way to set the selection color in the RuntimeMap either.
Question is. Can it be done? Is it possible or is the renderdynamicoverlay something used by Fusion or React layout?
I think RenderRuntimeMap just needs to be extended to take a selection color.
The only catch is if HTTP provider is connected to a < 3.0 MG server, if a custom selection color is passed in, we need to either make it throw NotSupportedException or just ignore the selection color as RFC148 (custom selection colors for GETMAPIMAGE) was only introduced in MGOS 3.0
Any change that the RFC148 (that GETMAPIMAGE) will support SELECTIONCOLOR attribute is ported to MGOS 3.1? That would be great as the openlayers implementation can easily be modified to parse the selection color.
RFC148 was implemented for MGOS 3.0, so custom selection color for GETMAPIMAGE should be supported in every version since.
... Unless you saw the RFC148 link from the RFCs landing page, which erroneously listed the RFC as still in draft (it's not). I've updated that page to reflect the proper status of this particular RFC.
And actually having re-read the RFC that I submitted (Wow! Time flies). The [throw NotSupportedException / do nothing idea] should be extended to non-overlay rendering in general for both Maestro connection providers if we're dealing with a 2.6 or older server.
If I set version to 3.0.0 MapGuide 3.1 returns:
The requested operation version is invalid.
The requested operation version is invalid. - MgHttpGetDynamicMapOverlayImage.Execute() line 122 file c:\working\build_area\mapguide\3.1.0\x64\mgdev\web\src\httphandler\HttpGetDynamicMapOverlayImage.cpp - MgHttpRequestResponseHandler.ValidateCommonParameters() line 218 file c:\working\build_area\mapguide\3.1.0\x64\mgdev\web\src\httphandler\HttpRequestResponseHandler.cpp - MgHttpGetDynamicMapOverlayImage.ValidateOperationVersion() line 141 file c:\working\build_area\mapguide\3.1.0\x64\mgdev\web\src\httphandler\HttpGetDynamicMapOverlayImage.cpp
If I use version 2.0.0 the selection image returned is a blank/empty/transparent image.
am still getting a difficultness in configuring map guide maestro,i have already downloaded the software and installed it into my computer but when i try to load shapefile that i created from an arc gis ,it does not respond,any one who is aware of this so that i can get an assistance
Please be more specific about what you mean by loading a shapefile.
Did you create a Feature Source using the SHP provider?
If so, did you add your SHP file and its dbf/prj/shx/etc files and marked the SHP file as the active file? At this point, you should have a valid SHP feature source, which you can then create Layer Definitions from.