Changes between Version 37 and Version 38 of HttpApi/RenderingService


Ignore:
Timestamp:
Apr 29, 2010, 12:20:20 PM (14 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HttpApi/RenderingService

    v37 v38  
    4747{{{
    4848http://localhost/mapguide/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE
    49                                         &VERSION=2.1.0
    50                                         &CLIENTAGENT=Ajax Viewer
    51                                         &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
    52                                         &MAPNAME=WorldElevation
    53                                         &FORMAT=PNG8
    54                                         &BEHAVIOR=7
    55                                         &SELECTIONCOLOR=0xFF000080
    56                                         &SETVIEWCENTERX=-114.0
    57                                         &SETVIEWCENTERY=51.0
    58                                         &SETVIEWSCALE=50000
    59                                         &SETDISPLAYHEIGHT=500
    60                                         &SETDISPLAYWIDTH=500
    61                                         &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
     49    &VERSION=2.1.0
     50    &CLIENTAGENT=Ajax Viewer
     51    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     52    &MAPNAME=WorldElevation
     53    &FORMAT=PNG8
     54    &BEHAVIOR=7
     55    &SELECTIONCOLOR=0xFF000080
     56    &SETVIEWCENTERX=-114.0
     57    &SETVIEWCENTERY=51.0
     58    &SETVIEWSCALE=50000
     59    &SETDISPLAYHEIGHT=500
     60    &SETDISPLAYWIDTH=500
     61    &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
    6262}}}
    6363Sets center of map to (-114,51) and scale to 1:50000.  Turns on layers d5d01111 and d5d01118.  The visible layers and any selection are then rendered as a 500 by 500 eight bit PNG image.  The selection is drawn in partially transparent red.
     
    9191=== Usage ===
    9292{{{
    93 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETMAPIMAGE
    94                                         &VERSION=1.0.0
    95                                         &CLIENTAGENT=Fusion Viewer
    96                                         &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
    97                                         &MAPNAME=WorldElevation
    98                                         &FORMAT=PNG
    99                                         &SETVIEWCENTERX=-114.0
    100                                         &SETVIEWCENTERY=51.0
    101                                         &SETVIEWSCALE=50000
    102                                         &SETDISPLAYHEIGHT=500
    103                                         &SETDISPLAYWIDTH=500
    104                                         &KEEPSELECTION=1
    105                                         &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
    106                                         &CLIP=1
     93http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE
     94    &VERSION=1.0.0
     95    &CLIENTAGENT=Fusion Viewer
     96    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     97    &MAPNAME=WorldElevation
     98    &FORMAT=PNG
     99    &SETVIEWCENTERX=-114.0
     100    &SETVIEWCENTERY=51.0
     101    &SETVIEWSCALE=50000
     102    &SETDISPLAYHEIGHT=500
     103    &SETDISPLAYWIDTH=500
     104    &KEEPSELECTION=1
     105    &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
     106    &CLIP=1
    107107}}}
    108108Sets center of map to (-114,51) and scale to 1:50000.  Turns on layers d5d01111 and d5d01118.  The visible layers are rendered as a 500 by 500 PNG image.  Any selection already defined by web extensions API calls will be drawn in blue regardless of scale.  Changes to center, scale and layer visibility are retained.  Features and labels will be clipped to the bounds of the image.
     
    168168=== Usage ===
    169169{{{
    170 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE
    171                                         &VERSION=2.0.0
    172                                         &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
    173                                         &MAPNAME=WorldElevation
    174                                         &FORMAT=PNG
    175                                         &BEHAVIOR=5
    176                                         &SELECTIONCOLOR=0xFF000080
     170http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE
     171    &VERSION=2.0.0
     172    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     173    &MAPNAME=WorldElevation
     174    &FORMAT=PNG
     175    &BEHAVIOR=5
     176    &SELECTIONCOLOR=0xFF000080
    177177}}}
    178178Renders the selection regardless of current scale for the !WorldElevation map from session Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     
    208208=== Usage ===
    209209{{{
    210 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETMAPIMAGE
    211                                         &VERSION=1.0.0
    212                                         &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
    213                                         &MAPNAME=WorldElevation
    214                                         &FORMAT=PNG
    215                                         &SETVIEWCENTERX=-114.0
    216                                         &SETVIEWCENTERY=51.0
    217                                         &SETVIEWSCALE=50000
    218                                         &SETDISPLAYHEIGHT=500
    219                                         &SETDISPLAYWIDTH=500
    220                                         &KEEPSELECTION=1
    221                                         &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
    222                                         &CLIP=1
     210http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE
     211    &VERSION=1.0.0
     212    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     213    &MAPNAME=WorldElevation
     214    &FORMAT=PNG
     215    &SETVIEWCENTERX=-114.0
     216    &SETVIEWCENTERY=51.0
     217    &SETVIEWSCALE=50000
     218    &SETDISPLAYHEIGHT=500
     219    &SETDISPLAYWIDTH=500
     220    &KEEPSELECTION=1
     221    &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
     222    &CLIP=1
    223223}}}
    224224Sets center of map to (-114,51) and scale to 1:50000.  Turns on layers d5d01111 and d5d01118.  The visible layers are rendered as a 500 by 500 PNG image.  Any selection already defined by web extensions API calls will be drawn in blue regardless of scale.  Changes to center, scale and layer visibility are retained.  Features and labels will be clipped to the bounds of the image.
     
    258258=== Usage ===
    259259{{{
    260 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE
    261                                         &VERSION=1.0.0
    262                                         &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
    263                                         &MAPNAME=WorldElevation
    264                                         &FORMAT=PNG
     260http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE
     261    &VERSION=1.0.0
     262    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     263    &MAPNAME=WorldElevation
     264    &FORMAT=PNG
    265265}}}
    266266Renders the !WorldElevation map from session Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA as a 32 bit PNG image.
     
    354354Sets center of map to (-114,51) and scale to 1:50000.  Turns on layers d5d01111 and d5d01118.  The visible layers are rendered as a 500 by 500 PNG image.  Any selection already defined by web extensions API calls will be drawn in blue regardless of scale.  Changes to center, scale and layer visibility are retained.
    355355{{{
    356 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETMAPIMAGE
    357                                         &VERSION=1.0.0
    358                                         &USERNAME=Anonymous
    359                                         &PASSWORD=
    360                                         &MAPDEFINITION=Library://Maps/World/WorldElevation.MapDefinition
    361                                         &FORMAT=PNG
    362                                         &SETVIEWCENTERX=-114.0
    363                                         &SETVIEWCENTERY=51.0
    364                                         &SETVIEWSCALE=50000
    365                                         &SETDISPLAYHEIGHT=500
    366                                         &SETDISPLAYWIDTH=500
    367                                         &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
     356http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE
     357    &VERSION=1.0.0
     358    &USERNAME=Anonymous
     359    &PASSWORD=
     360    &MAPDEFINITION=Library://Maps/World/WorldElevation.MapDefinition
     361    &FORMAT=PNG
     362    &SETVIEWCENTERX=-114.0
     363    &SETVIEWCENTERY=51.0
     364    &SETVIEWSCALE=50000
     365    &SETDISPLAYHEIGHT=500
     366    &SETDISPLAYWIDTH=500
     367    &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
    368368}}}
    369369Creates a temporary map.  Sets center of map to (-114,51) and scale to 1:50000.  Turns on layers d5d01111 and d5d01118.  The visible layers are rendered as a 500 by 500 PNG image.  No selection is defined or drawn.
     
    428428
    429429=== Usage ===
    430 === Technical Notes ===
     430{{{
     431http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=QUERYMAPFEATURES
     432    &VERSION=1.0.0
     433    &PERSIST=0
     434    &MAPNAME=Sheboygan
     435    &SESSION=20ef251c-53bb-11df-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     436    &LAYERNAMES=Islands,Hydrography,Parcels
     437    &GEOMETRY=POLYGON((10 10, 10 20, 20 20, 20 15, 10 10))
     438    &SELECTIONVARIANT=INTERSECTS
     439    &MAXFEATURES=1
     440    &LAYERATTRIBUTEFILTER=5
     441    &CLIENTAGENT=Ajax Viewer
     442}}}
     443Queries the first feature from the Islands,Hydrography, or Parcels layers intersecting the given polygon.  The feature must have a tooltip and
     444be visible.  The queried feature is not selected on the map.
     445=== Technical Notes ===