Personal tools
You are here: Home Documentation References PHP/Mapscript Class Reference Classes LabelCacheObj Class

4.6. LabelCacheObj Class

Document Actions
Up one level
Methods.
  • Constant names and class member variable names are case-sensitive in PHP.
  • Several MapScript functions (all those that access files in the back end such as ms_newMapObj(), drawMap(), etc.) will affect the value of the current working directory (CWD) in the PHP environment. This will be fixed eventually but in the meantime you should be careful about these side-effects.
Accessible only through the map object (map->labelcache). This object
is only used to give the possiblity to free the label cache 
(map->labelcache->free())


Method:

  boolean free()
      Free the label cache. Returns true on success or false if an error
      occurs.
      Ex : (map->labelcache->free();
by Jeff McKenna last modified 2008-07-15 10:30

Powered by Plone