Questions tagged [jmapviewer]

JMapViewer is an open-source OpenStreetMap viewer for Java applications.

JMapViewer is an open-source OpenStreetMap viewer for Java applications.

57 questions
0
votes
1 answer

OSM change default marker look

I am working on a desktop Java application that uses OSM maps and jMapViewer api in order to view, add Markers etc on the map. jMapViewer As you can see at the link above, the markers are represented as dots. To be specific, there is a class…
pirox22
  • 892
  • 1
  • 14
  • 30
0
votes
1 answer

Using the mouseClicked method in the JMapViewer does not update the getPosition return value

I have create a MouseInputAdapter listener to get coordinates in a JMapViewer map and create the MapMarker on that spot but even though I click on a different possition the value of the map.getPossition() method does not updates with the new…
0
votes
0 answers

No program line for ConcurrentodificationException

I need to use JMapViewer to display an image in to map but when I update the map I obtain Exception in thread "AWT-EventQueue-0" java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(Unknown Source) …
dofla
  • 3
  • 1
0
votes
0 answers

JMapViewer Issue

I am designing a JAVA program that retrieves coordinates of capitals from an XML File and displays MarkerDots in the Panel Containing the map; and I need to add a mouse listener event to this map in such a way that if the user clicked the mouse…
0
votes
2 answers

How do I load an image in a particular coordinate in JMapViewer?

I'm trying to load an image in a particular coordinate in JMapViewer. Can anyone can suggest what class I have to use or provide a little example?
doflamingo
  • 77
  • 1
  • 1
  • 9
0
votes
1 answer

How represent Routing in JMapViewer

I use JMapViewer to draw the map in my java desktop application. I would know if exists some methods that I can use to draw the shortest path between to Point following the car path.
0
votes
2 answers

OSM MapMarkerCircle, too large radius

When I tried to draw circle on JMapViewer with the following parameters: Latitude:30.58654740901267 Longitude:31.504483034999993 radius : 100 I got the following gigantic circle What is the measurement unit used for this radius variable ?!! code…
Abdelwahed
  • 1,694
  • 4
  • 21
  • 31
0
votes
1 answer

Creating offline map tiles for JMapViewer

I want to create offline map tiles for JMapViewer from an image. How may I be able to achieve it? What are the tools used to generate those tiles?
0
votes
2 answers

JMapViewer draw a polygon that will look like arrow

I want to create an arrow (---->) on my map, connecting 2 given coordinates. By now I used the draw line using polygon implementation suggested here and here Is there a way to acheieve it? Thanks, Ozrad
Oz Radiano
  • 779
  • 2
  • 11
  • 30
0
votes
2 answers

Turning longitude and latitude to a Point

So im using JMapViewer and on this map i have some mapmarkers with a certain longitude and latitude So to insert a text field next to this certain mapmarker i need to turn the longitude and latitude into a Point with X and Y to provide it to the…
TheUnknown
  • 47
  • 5
0
votes
1 answer

OpenStreetMap - java library to handle offline map

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: open and display offline maps, as…
hundeva
  • 1,058
  • 14
  • 30
0
votes
1 answer

Moving map markers with OpenStreetMaps JMapViewer

I am creating a map using JMapViewer in Swing. I have several MapMarkerDots on the map which represent cars. I'm trying to update the positions of these markers so that they appear to be driving around the map however it's not quite working…
Riddle
  • 89
  • 2
  • 11
1 2 3
4