title: OpenStreetMap - java library to handle offline map
body: <p>I need to create an application that would run on a linux system. Basically, I want to achieve something like Google Maps, but with much less functionality. The application needs to be able to do the followings:</p>
  
  <ul>
  <li>open and display offline maps, as there won't be any internet connection</li>
  <li>there will be a static route, like a railway, that has to be displayed, it won't change</li>
  <li>there will be one dynamically changing point, it should be updated</li>
  </ul>
  
  <p>I never really developed this kind of an application, I only used Google Maps for android v2, which is quite straight forward, so I wouldn't have any problem, but without internet connection, this isn't an option. So here are my questions:</p>
  
  <ul>
  <li>I downloaded the map in .osm format, which I need. If I understand correctly, I need to pre-render this files, using something like Mapnik. Is this approach correct? If yes, how can I use Mapnik for this rendering? If not, what do you recommend?</li>
  <li>Let's say I am done with the rendering part. If I understand correctly, now I should use something like JMapViewer. I should just import the .jar into my project, then this api would provide a mapview, and with some coding, I can use the api to display my already rendered, offline maps. Is this correct?</li>
  </ul>
  
  <p>Also, if you can suggest anything, that would help me, I would be grateful.</p>
  
  <p>Thanks in advance, cheers</p>