Changes between Version 18 and Version 19 of MapGuideRfc107


Ignore:
Timestamp:
Jul 25, 2010, 2:47:53 AM (14 years ago)
Author:
yangte
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc107

    v18 v19  
    2424== Overview ==
    2525
    26 This RFC proposes to add a NEW !GenerateTile() API to the tile service which return a bool value to indicate the tile generate success or not. This function will generate the tile on the server but not get the image from server. This function will allow user to pre-cache tiles on the server but elimate the cost of image transfer.
     26This RFC proposes to add a NEW !GenerateTile() API to the tile service. This new API will generate the tile on the server but not get the image from server.
    2727
    2828== Motivation ==
     29MapGuide users want to allow easy pre-seeding of base map tiles, for example, to generate all the tiles of a map at one time, now they can call the API GetTile:
    2930
     31Existing API:
     32{{{
     33    MgByteReader* GetTile(MgResourceIdentifier* mapDefinition,CREFSTRING baseMapLayerGroupName,INT32 tileColumn,INT32 tileRow,INT32 scaleIndex);
     34}}}
     35
     36There's one problem with this existing API, suppose the user run a tool(like Maestro MgCooker) on the client PC to generate all the tiles of a map, the client will get the tile image from the server.
     37Actually the user just want to generate the tiles on the server to make the rendering/navigation of a map more smooth. But the transfer of the tile image will increase the cost to finish this job(usually thousands of tiles will be generate).
     38So this RFC want to add a NEW API !GenerateTile() which generate the tile on the server and return a bool value.
    3039
    3140