I am having an issue using JMapViewer
.
import org.openstreetmap.gui.jmapviewer.interfaces.TileLoader;
^ Demo.java:20: error:
package org.openstreetmap.gui.jmapviewer.interfaces does not exist
How can I get rid of that error and use jmapviewer.
Let's say you have following structure
and
Simple.java
looks like thisall you have to do, is to point to
JMapViewer.jar
while compiling the codeif you don't you will get an error