MapServer / MapServer-import

3 stars 2 forks source link

Redrawing maps with embedded scalebar increases the layer count by one #1480

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: szekerest Date: 2005/09/27 - 11:33

When calling mapObj.Draw using mapscript the number of layers increases by 
one, extra __embed__scalebar is added.
The problem could be fixed by changing  mapscale.c line 367 to:

l = msGetLayerIndex(map, "__embed__scalebar");
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2005/09/27 - 17:39

Good catch, Tamas.