[mapguide-trac] #1172: Improve legend performance by using GetResourceContents() API

MapGuide Open Source trac_mapguide at osgeo.org
Thu Dec 3 17:40:59 EST 2009


#1172: Improve legend performance by using GetResourceContents() API
--------------------------+-------------------------------------------------
 Reporter:  brucedechant  |         Owner:  brucedechant
     Type:  defect        |        Status:  assigned    
 Priority:  low           |     Milestone:  2.2         
Component:  Viewer API    |       Version:  2.1.0       
 Severity:  minor         |    Resolution:              
 Keywords:                |   External_id:              
--------------------------+-------------------------------------------------
Changes (by brucedechant):

  * status:  new => assigned

Old description:

> The viewers generate the legend by executing a series of
> GetResourceContent() API requests - one for each layer of the map. This
> can impact performance significantly if the map contains lots of layers.
>
> By using the NEW GetResourceContents() API we can reduce the number of
> requests to generate the legend from the number of layers in the map to
> just 1.

New description:

 The viewers generate the legend by executing a series of
 !GetResourceContent() API requests - one for each layer of the map. This
 can impact performance significantly if the map contains lots of layers.

 By using the NEW !GetResourceContents() API we can reduce the number of
 requests to generate the legend from the number of layers in the map to
 just 1.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1172#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list