msteiger / jxmapviewer2

JXMapViewer2
GNU Lesser General Public License v3.0
188 stars 107 forks source link

Multiple layers/tiles #79

Open NewStorm opened 5 years ago

NewStorm commented 5 years ago

Hello, I want to be able to dynamically switch on/off different layers, e.g roads or water area. Is this possible with this library? I could not find an example or source code which might support this.

Thank you for your help

msteiger commented 4 years ago

Not out of the box, but doable. You can render whatever you want on top of the tiles. There are several custom renderers available in the example projects. Do you have a data set that you want to use?