Opened 22 years ago

Closed 21 years ago

#207 closed defect (fixed)

[PHP MapScript] Need a freeLabelCache() method

Reported by: dmorissette Owned by: dmorissette
Priority: high Milestone:
Component: MapScript-PHP Version: 4.0
Severity: normal Keywords:
Cc:

Description

This came up in an Email to the Mapserver-dev list about clearing the label 
cache after a map draw.

mapscript.i (SWIG) has a labelCacheObj->freeCache() method, and we need to add 
the equivalent to PHP MapScript.  The code of the method in mapscript.i should 
first be moved to a msClearLabelCache() function in libmap.a to avoid 
duplicating code between multiple version of MapScript.

Change History (1)

comment:1 by assefa, 21 years ago

Resolution: fixed
Status: newclosed
Create a labelcacheObj accessible through the mapobject (map->labelcache).
The only method availabel on theis object is free (map->labelcache->free()).

Note : the function msFreeLabelCache was already moved in mapfile.c 
Note: See TracTickets for help on using tickets.