Changes between Version 37 and Version 38 of HttpApi/RenderingService
- Timestamp:
- 04/29/10 12:20:20 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HttpApi/RenderingService
v37 v38 47 47 {{{ 48 48 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE 49 50 51 52 53 54 55 56 57 58 59 60 61 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 62 62 }}} 63 63 Sets 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. … … 91 91 === Usage === 92 92 {{{ 93 http://localhost/mapguide/mapagent .fcgi?OPERATION=GETMAPIMAGE94 95 96 97 98 99 100 101 102 103 104 105 106 93 http://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 107 107 }}} 108 108 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. 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. … … 168 168 === Usage === 169 169 {{{ 170 http://localhost/mapguide/mapagent .fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE171 172 173 174 175 176 170 http://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 177 177 }}} 178 178 Renders the selection regardless of current scale for the !WorldElevation map from session Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA … … 208 208 === Usage === 209 209 {{{ 210 http://localhost/mapguide/mapagent .fcgi?OPERATION=GETMAPIMAGE211 212 213 214 215 216 217 218 219 220 221 222 210 http://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 223 223 }}} 224 224 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. 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. … … 258 258 === Usage === 259 259 {{{ 260 http://localhost/mapguide/mapagent .fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE261 262 263 264 260 http://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 265 265 }}} 266 266 Renders the !WorldElevation map from session Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA as a 32 bit PNG image. … … 354 354 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. 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. 355 355 {{{ 356 http://localhost/mapguide/mapagent .fcgi?OPERATION=GETMAPIMAGE357 358 359 360 361 362 363 364 365 366 367 356 http://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 368 368 }}} 369 369 Creates 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. … … 428 428 429 429 === Usage === 430 === Technical Notes === 430 {{{ 431 http://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 }}} 443 Queries the first feature from the Islands,Hydrography, or Parcels layers intersecting the given polygon. The feature must have a tooltip and 444 be visible. The queried feature is not selected on the map. 445 === Technical Notes ===