Ticket #587 (closed defect: fixed)
Optional new names for Mapscript classes
| Reported by: | sgillies@… | Owned by: | sgillies@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | MapScript | Version: | 4.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Am going to support an experimental change in Mapscript class names that is controlled with a preprocessor symbol NEXT_GENERATION_CLASSES. Will use it like swig -python -shadow -DNEXT_GENERATION_CLASSES mapscript.i And if the symbol is defined we will rename layeroObj -> Layer mapObj -> Map et cetera. I'll also write a new layerObj.getShape method that is like the PHP-Mapscript method which will be used if we've defined NEXT_GENERATION_CLASSES. Nothing else changes so it won't break compatibility with the general SWIG documentation.
Change History
Note: See
TracTickets for help on using
tickets.
