Changes between Version 38 and Version 39 of HttpApi/RenderingService


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

--

Legend:

Unmodified
Added
Removed
Modified
  • HttpApi/RenderingService

    v38 v39  
    4646=== Usage ===
    4747{{{
    48 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE
     48http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE
    4949    &VERSION=2.1.0
    5050    &CLIENTAGENT=Ajax Viewer
     
    9292{{{
    9393http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE
    94     &VERSION=1.0.0
     94    &VERSION=2.1.0
    9595    &CLIENTAGENT=Fusion Viewer
    9696    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     
    137137|| [#LayerAttributeFilter1.0 LAYERATTRIBUTEFILTER] || integer || Optional || Filter based on layer attributes. ||
    138138|| [#FeatureFilter1.0 FEATUREFILTER] || text || Optional || Filter based on previous selected features. ||
     139
     140=== Usage ===
     141{{{
     142http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=QUERYMAPFEATURES
     143    &VERSION=2.1.0
     144    &CLIENTAGENT=Ajax Viewer
     145    &PERSIST=0
     146    &MAPNAME=Sheboygan
     147    &SESSION=20ef251c-53bb-11df-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     148    &LAYERNAMES=Islands,Hydrography,Parcels
     149    &GEOMETRY=POLYGON((10 10, 10 20, 20 20, 20 15, 10 10))
     150    &SELECTIONVARIANT=INTERSECTS
     151    &MAXFEATURES=1
     152    &LAYERATTRIBUTEFILTER=5
     153    &CLIENTAGENT=Ajax Viewer
     154}}}
     155Queries the first feature from the Islands,Hydrography, or Parcels layers intersecting the given polygon.  The feature must have a tooltip and
     156be visible.  The queried feature is not selected on the map.
    139157= !MapGuide 2.0 APIs =
    140158== !GetDynamicMapOverlayImage ==#GetDynamicMapOverlayImage2.0
     
    209227{{{
    210228http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE
    211     &VERSION=1.0.0
     229    &VERSION=2.0.0
    212230    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
    213231    &MAPNAME=WorldElevation
     
    339357=== Usage ===
    340358{{{
    341 http://localhost/mapguide/mapagent.fcgi?OPERATION=GETMAPIMAGE
    342                                         &VERSION=1.0.0
    343                                         &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
    344                                         &MAPNAME=WorldElevation
    345                                         &FORMAT=PNG
    346                                         &SETVIEWCENTERX=-114.0
    347                                         &SETVIEWCENTERY=51.0
    348                                         &SETVIEWSCALE=50000
    349                                         &SETDISPLAYHEIGHT=500
    350                                         &SETDISPLAYWIDTH=500
    351                                         &KEEPSELECTION=1
    352                                         &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
     359http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE
     360    &VERSION=1.0.0
     361    &SESSION=Session:d5d05422-5f75-102c-8000-02004c4f4f50_en_7F0000010AFC0AFB0AFA
     362    &MAPNAME=WorldElevation
     363    &FORMAT=PNG
     364    &SETVIEWCENTERX=-114.0
     365    &SETVIEWCENTERY=51.0
     366    &SETVIEWSCALE=50000
     367    &SETDISPLAYHEIGHT=500
     368    &SETDISPLAYWIDTH=500
     369    &KEEPSELECTION=1
     370    &SHOWLAYERS=d5d01111-5f75-102c-8000-02004c4f4f50,d5d01118-5f75-102c-8000-02004c4f4f50
    353371}}}
    354372Sets 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.