| 115 | || '''Name''' || '''Value''' || '''Required''' || '''Description''' || |
| 116 | || [#Operation1.0 OPERATION] || GETDYNAMICMAPOVERLAYIMAGE || Yes || Operation to execute || |
| 117 | || [#Version1.0 VERSION] || 1.0.0 || Yes || Operation version || |
| 118 | || [#Session1.0 SESSION] || session identifier || Yes || !MapGuide session identifier containing map to display || |
| 119 | || [#MapName1.0 MAPNAME] || text || Yes || Name of the map to display.[[BR]]This corresponds to the !GetName() value for the resource identifier. || |
| 120 | || [#Format1.0 FORMAT] || JPG/PNG || Yes || Image format for rendered image || |
| 121 | || [#KeepSelection1.0 KEEPSELECTION] || 0/1 || Optional || If true, render selected feature(s) even if they are outside the current scale. || |
| 474 | == !GetMapLegendImage ==#GetMapLegendImage1.2 |
| 475 | === Overview === |
| 476 | Generates a legend image for the the currently displayed scale of the map identified by SESSION and MAPNAME. The legend image can be used for display |
| 477 | purposes or as part of a bitmap plot for the current map view. |
| 478 | === Parameters === |
| 479 | || '''Name''' || '''Value''' || '''Required''' || '''Description''' || |
| 480 | || [#Operation1.0 OPERATION] || GETMAPLEGENDIMAGE || Yes || Operation to execute || |
| 481 | || [#Version1.0 VERSION] || 1.0.0 || Yes || Operation version || |
| 482 | || [#Session1.0 SESSION] || session identifier || Yes || !MapGuide session identifier containing map to display || |
| 483 | || [#MapName1.0 MAPNAME] || text || Yes || Name of the map to display.[[BR]]This corresponds to the !GetName() value for the resource identifier. || |
| 484 | || [#Format1.0 FORMAT] || JPG/PNG || Yes || Image format for rendered image || |
| 485 | || [#Width1.0 WIDTH] || integer || Yes || Width of legend image || |
| 486 | || [#Height1.0 HEIGHT] || integer || Yes || Height of legend image || |
| 487 | ==== WIDTH Parmaeter ====#Width1.0 |
| 488 | Width of generated legend image in pixels |
| 489 | ==== HEIGHT Parmaeter ====#Height1.0 |
| 490 | Height of generated legend image in pixels |
| 491 | === Usage === |
| 492 | {{{ |
| 493 | http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPLEGENDIMAGE |
| 494 | &VERSION=1.0.0 |
| 495 | &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA |
| 496 | &MAPNAME=WorldElevation |
| 497 | &FORMAT=PNG |
| 498 | &WIDTH=200 |
| 499 | &HEIGHT=500 |
| 500 | }}} |
| 501 | Generates a 200 by 500 32 bit PNG legend image for the current view of the !WorldElevation map. |
| 502 | === Technical Notes === |