NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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.6k18248554

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 ♦

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.9k84082
accept rate: 10%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

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
×12

question asked: 16 Mar '14, 06:13

question was seen: 4,629 times

last updated: 27 Jan '18, 10:45

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum