Use of static var in MapScript mapObj.nextLabel

Frank Warmerdam warmerdam at POBOX.COM
Wed Jul 4 16:11:33 EDT 2007


Daniel Morissette wrote:
> 1- In SWIG MapSCript:
>   1a- Get rid of mapObj.nextLabel() as it's broken and nearly useless.
> 
>   1b- Deprecate mapObj.getLabel(int i), to be removed in a future release.
> 
>   1c- labelCacheObj.numlabels will be maintained artificially for 
> backwards compatibility but will be deprecated, to be removed in a 
> future release
> 
> 2- In both SWIG and PHP MapScript:
>   2a- Add labelCacheObj.getNumLabels()
> 
>   2b- Add labelCacheObj.getLabel(int i)
> 
> Does that sounds like an acceptable plan?

Daniel,

Under the presumption that nextLabel() is really not signifigantly used
anyways, I don't object to your plan.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-dev mailing list