Changes between Version 14 and Version 15 of HttpApi/RenderingService


Ignore:
Timestamp:
Apr 16, 2010, 3:34:10 PM (14 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HttpApi/RenderingService

    v14 v15  
    2222|| '''Name''' || '''Value'''  || '''Required''' || '''Description''' ||
    2323|| [#Operation1.0 OPERATION] || GETDYNAMICMAPOVERLAYIMAGE || Yes || Operation to execute ||
    24 || [#Version1.0 VERSION] || 2.0.0/2.1.0 || Yes || Operation version ||
    25 || [#ClientAgent1.0 CLIENTAGENT] || text || Optional || Descriptive text for client ||
     24|| [#Version1.0 VERSION] || 2.1.0 || Yes || Operation version ||
     25|| [#ClientAgent2.1 CLIENTAGENT] || text || Optional || Descriptive text for client ||
    2626|| [#Session1.0 SESSION] || session identifier || Yes || !MapGuide session identifier containing map to display ||
    2727|| [#MapName1.0 MAPNAME] || text || Yes || Name of the map to display.[[BR]]This corresponds to the !GetName() value for the resource identifier. ||
     
    3030|| [#SelectionColor1.0 SELECTIONCOLOR] || RGBA hex color || Yes || Selection color encoded in hexadecimal RGBA format 0xRRGGBBAA. ||
    3131|| [#Behavior2.0 BEHAVIOR] || bitmask || Yes || Bitmask representing rendering behavior.  See below for more details.||
    32 || [#SetViewCenterX1.0 SETVIEWCENTERX] || double || No || Set X coordinate for center of map. ||
    33 || [#SetViewCenterY1.0 SETVIEWCENTERY] || double || No || Set Y coordinate for center of map. ||
    34 || [#SetViewScale1.0 SETVIEWSCALE] || double || No || Set scale for map. ||
    35 || [#SetDisplayDpi1.0 SETDISPLAYDPI] || integer || No || Set DPI for map. ||
    36 || [#SetDisplayWidth1.0 SETDISPLAYWIDTH] || integer || No || Set width of image in pixels. ||
    37 || [#SetDisplayHeight1.0 SETDISPLAYHEIGHT] || integer || No || Set height of image in pixels. ||
    38 || [#ShowLayers1.0 SHOWLAYERS] || text || No || List of layers to display. ||
    39 || [#HideLayers1.0 HIDELAYERS] || text || No || List of layers to hide. ||
    40 || [#ShowGroups1.0 SHOWGROUPS] || text || No || List of groups to display. ||
    41 || [#HideGroups1.0 HIDEGROUPS] || text || No || List of groups to hide. ||
     32|| [#SetViewCenterX2.1 SETVIEWCENTERX] || double || No || Set X coordinate for center of map. ||
     33|| [#SetViewCenterY2.1 SETVIEWCENTERY] || double || No || Set Y coordinate for center of map. ||
     34|| [#SetViewScale2.1 SETVIEWSCALE] || double || No || Set scale for map. ||
     35|| [#SetDisplayDpi2.1 SETDISPLAYDPI] || integer || No || Set DPI for map. ||
     36|| [#SetDisplayWidth2.1 SETDISPLAYWIDTH] || integer || No || Set width of image in pixels. ||
     37|| [#SetDisplayHeight2.1 SETDISPLAYHEIGHT] || integer || No || Set height of image in pixels. ||
     38|| [#ShowLayers2.1 SHOWLAYERS] || text || No || List of layers to display. ||
     39|| [#HideLayers2.1 HIDELAYERS] || text || No || List of layers to hide. ||
     40|| [#ShowGroups2.1 SHOWGROUPS] || text || No || List of groups to display. ||
     41|| [#HideGroups2.1 HIDEGROUPS] || text || No || List of groups to hide. ||
    4242
    43 ==== BEHAVIOR Parameter ==== #Behavior2.0
    44 
    45 The behavior parameter specifies how the rendering is performed.  The value is encoded as a bitmask to facilitate
    46 future enhancements to the API.  One or more bits may be combined to determine overall rendering behavior.
    47 
    48 || '''Value''' || '''Description''' ||
    49 || 1 (!RenderSelection) || Renders the selected feature(s) ||
    50 || 2 (!RenderLayers)||  Renders the features on the map ||
    51 || 4 (!KeepSelection) || Renders the selected feature(s) even if they are outside the current scale ||
    52 
    53 Examples:
    54  * BEHAVIOR=3 (!RenderSelection|!RenderLayers) will render selection and layers within the current scale
    55  * BEHAVIOR=5 (!RenderSelection|!KeepSelection) will render only the selection regardless of scale
     43==== CLIENTAGENT Parameter ==== #ClientAgent2.1
     44Descriptive text describing the client of the HTTP operation.  Currently used values include "Ajax Viewer", "Fusion Viewer"
     45"MapGuide Developer" and "MapGuide Maestro".
     46==== SETVIEWCENTERX Parameter ==== #SetViewCenterX2.1
     47==== SETVIEWCENTERY Parameter ==== #SetViewCenterY2.1
     48==== SETVIEWSCALE Parameter ==== #SetViewScale2.1
     49==== SETDISPLAYDPI Parameter ==== #SetDisplayDpi2.1
     50==== SETDISPLAYWIDTH Parameter ==== #SetDisplayWidth2.1
     51==== SETDISPLAYHEIGHT Parameter ==== #SetDisplayHeight2.1
     52==== SHOWLAYERS Parameter ==== #ShowLayers2.1
     53==== HIDELAYERS Parameter ==== #HideLayers2.1
     54==== SHOWGROUPS Parameter ==== #ShowGroups2.1
     55==== HIDEGROUPS Parameter ==== #HideGroups2.1
    5656=== Usage ===
    5757=== Technical Notes ===
     
    7676=== Usage ===
    7777=== Technical Notes ===
    78 = !MapGuide 1.0 APIs =
     78= !MapGuide 2.0 APIs =
     79== !GetDynamicMapOverlayImage ==
     80=== Overview ===
     81!GetDynamicMapOverlayImage returns a rendered raster image containing all visbile layers at the current center and scale for the map.  This API is used in conjuction with the !GetVisibleMapExtent HTTP API to provide dynamic map updates for end user interactions.
     82=== Parameters ===
     83|| '''Name''' || '''Value'''  || '''Required''' || '''Description''' ||
     84|| [#Operation1.0 OPERATION] || GETDYNAMICMAPOVERLAYIMAGE || Yes || Operation to execute ||
     85|| [#Version1.0 VERSION] || 2.0.0 || Yes || Operation version ||
     86|| [#Session1.0 SESSION] || session identifier || Yes || !MapGuide session identifier containing map to display ||
     87|| [#MapName1.0 MAPNAME] || text || Yes || Name of the map to display.[[BR]]This corresponds to the !GetName() value for the resource identifier. ||
     88|| [#Format1.0 FORMAT] || JPG/PNG/PNG8 || Yes || Image format for rendered image ||
     89|| [#Behavior2.0 BEHAVIOR] || bitmask || Yes || Bitmask representing rendering behavior.  See below for more details.||
     90|| [#Selection1.0 SELECTION] || XML selection text || Optional || XML representing selected features generated from !MgSelection.!ToXml() ||
     91|| [#SelectionColor2.0 SELECTIONCOLOR] || RGBA hex color || Yes || Selection color encoded in hexadecimal RGBA format 0xRRGGBBAA. ||
     92
     93==== BEHAVIOR Parameter ==== #Behavior2.0
     94The behavior parameter specifies how the rendering is performed.  The value is encoded as a bitmask to facilitate
     95future enhancements to the API.  One or more bits may be combined to determine overall rendering behavior.
     96
     97|| '''Value''' || '''Description''' ||
     98|| 1 (!RenderSelection) || Renders the selected feature(s) ||
     99|| 2 (!RenderLayers)||  Renders the features on the map ||
     100|| 4 (!KeepSelection) || Renders the selected feature(s) even if they are outside the current scale ||
     101
     102Examples:
     103 * BEHAVIOR=3 (!RenderSelection|!RenderLayers) will render selection and layers within the current scale
     104 * BEHAVIOR=5 (!RenderSelection|!KeepSelection) will render only the selection regardless of scale
     105
     106==== SELECTIONCOLOR Parameter ==== #SelectionColor2.0
     107Color for selected objects expressed in hexadecimal RGBA format 0xRRGGBBAA.
     108=== Usage ===
     109=== Technical Notes ===
     110
     111= !MapGuide 1.2 APIs =
    79112== !GetDynamicMapOverlayImage ==
    80113=== Overview ===
     
    84117|| [#Operation1.0 OPERATION] || GETDYNAMICMAPOVERLAYIMAGE || Yes || Operation to execute ||
    85118|| [#Version1.0 VERSION] || 1.0.0 || Yes || Operation version ||
    86 || [#ClientAgent1.0 CLIENTAGENT] || text || Optional || Descriptive text for client ||
    87119|| [#Session1.0 SESSION] || session identifier || Yes || !MapGuide session identifier containing map to display ||
    88120|| [#MapName1.0 MAPNAME] || text || Yes || Name of the map to display.[[BR]]This corresponds to the !GetName() value for the resource identifier. ||
    89 || [#Format1.0 FORMAT] || JPG/PNG/PNG8 || Yes || Image format for rendered image ||
     121|| [#Format1.0 FORMAT] || JPG/PNG || Yes || Image format for rendered image ||
    90122|| [#Selection1.0 SELECTION] || XML selection text || Optional || XML representing selected features generated from !MgSelection.!ToXml() ||
    91 || [#SelectionColor1.0 SELECTIONCOLOR] || RGBA hex color || Yes || Selection color encoded in hexadecimal RGBA format 0xRRGGBBAA. ||
    92123|| [#KeepSelection1.0 KEEPSELECTION] || 0/1 || Optional || If true, render selected feature(s) even if they are outside the current scale. ||
    93 || [#SetViewCenterX1.0 SETVIEWCENTERX] || double || No || Set X coordinate for center of map. ||
    94 || [#SetViewCenterY1.0 SETVIEWCENTERY] || double || No || Set Y coordinate for center of map. ||
    95 || [#SetViewScale1.0 SETVIEWSCALE] || double || No || Set scale for map. ||
    96 || [#SetDisplayDpi1.0 SETDISPLAYDPI] || integer || No || Set DPI for map. ||
    97 || [#SetDisplayWidth1.0 SETDISPLAYWIDTH] || integer || No || Set width of image in pixels. ||
    98 || [#SetDisplayHeight1.0 SETDISPLAYHEIGHT] || integer || No || Set height of image in pixels. ||
    99 || [#ShowLayers1.0 SHOWLAYERS] || text || No || List of layers to display. ||
    100 || [#HideLayers1.0 HIDELAYERS] || text || No || List of layers to hide. ||
    101 || [#ShowGroups1.0 SHOWGROUPS] || text || No || List of groups to display. ||
    102 || [#HideGroups1.0 HIDEGROUPS] || text || No || List of groups to hide. ||
    103124
    104125==== OPERATION Parameter ==== #Operation1.0
    105126==== VERSION Parameter ==== #Version1.0
    106 ==== CLIENTAGENT Parameter ==== #ClientAgent1.0
    107127==== SESSION Parameter ==== #Session1.0
    108128==== MAPNAME Parameter ==== #MapName1.0
    109129==== FORMAT Parameter ==== #Format1.0
     130Image format for the rendered image.  PNG8 support was added in !MapGuide 2.0.
    110131==== SELECTION Parameter ==== #Selection1.0
    111 ==== KEEPSELECTION Parameter ====
    112 ==== SELECTIONCOLOR Parameter ==== #SelectionColor1.0
    113 ==== SETVIEWCENTERX Parameter ==== #SetViewCenterX1.0
    114 ==== SETVIEWCENTERY Parameter ==== #SetViewCenterY1.0
    115 ==== SETVIEWSCALE Parameter ==== #SetViewScale1.0
    116 ==== SETDISPLAYDPI Parameter ==== #SetDisplayDpi1.0
    117 ==== SETDISPLAYWIDTH Parameter ==== #SetDisplayWidth1.0
    118 ==== SETDISPLAYHEIGHT Parameter ==== #SetDisplayHeight1.0
    119 ==== SHOWLAYERS Parameter ==== #ShowLayers1.0
    120 ==== HIDELAYERS Parameter ==== #HideLayers1.0
    121 ==== SHOWGROUPS Parameter ==== #ShowGroups1.0
    122 ==== HIDEGROUPS Parameter ==== #HideGroups1.0
     132==== KEEPSELECTION Parameter ==== #KeepSelection1.0
     133
     134
    123135=== Usage ===
    124136=== Technical Notes ===