0

I'm developing a navigation application. I'm using JMapViewer javafx version and use open street maps to show the location of the vehicle. I want to rotate the map according to the compass direction. Is JMapViewer library providing that feature or how to do it.

I need some help to sort out this. I have stuck in this problem for 3-4 days.

thanks in advance!

asked 16 Mar '14, 06:13

JanithOCoder's gravatar image

JanithOCoder
1111
accept rate: 0%

edited 27 Jan '18, 10:45

aseerel4c26's gravatar image

aseerel4c26 ♦
32.2k16239552

Where you have found the JMapViewer javafx version ??,the only version i have found is a Swing one.

(27 Jan '18, 09:37) hadjer-11

@hadjer-11: I guess (like iii did in the answer), that no JMapViewer, but JXMapViewer(2) is meant (also more "x" in the name). However, also not JavaFX, if I see correctly.

(27 Jan '18, 10:44) aseerel4c26 ♦

One Answer:
1

AFAIK it's not possible esp. it's not mentioned anywhere https://github.com/msteiger/jxmapviewer2

But it seems to be easy to extend that support: http://stackoverflow.com/questions/2654503/jxmapviewer-change-orientation-to-heading-up

permanent link

answered 16 Mar '14, 11:46

iii's gravatar image

iii
4.9k83981
accept rate: 11%

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×14
×10

question asked: 16 Mar '14, 06:13

question was seen: 3,005 times

last updated: 27 Jan '18, 10:45

powered by OSQA