Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a big map consist of many scattered layers. To make loading faster, I have merge several layers into one shapefile (*.shp). So in total there are only around 5 layers in the each MAP file. BTW I am using mapserver + pmapper.

My method is by using a mapselector plugin to change map from a default map to several thematic maps.

My question is: How to limit the legend only to the displayed image, especially in print mode?

Because right now all legend in the layer shown, even when only small section of the map is shown, especially in print mode. So I want to show only related legend based on the displayed area.

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.