Questions tagged [jxmaps]

Mapping component for Swing/FX Java Desktop application

20 questions
3
votes
2 answers

Using JxMaps in JavaFX project

I am developing a Desktop application in Java using JavaFX for the GUI. A vital part of the program consists of a map for which I've decided to use JxMaps since it being a powerful framework with a very good documentation made it the best…
IOS_DEV
  • 949
  • 3
  • 12
  • 33
2
votes
1 answer

Marker mouseover state in JxMaps

Is there a way to add mouseover state to a marker in Google Maps embedded in Java app via JxMaps? I was looking for a way to show whether the marker is clickable or not on hover. However, I didn’t find a suitable method that sets this icon the API
Maksim Kotlyar
  • 3,821
  • 27
  • 31
1
vote
1 answer

JxMaps not drawing arrows at polyline

using JxMaps (Java Swing) I draw a polyline. This works fine. Now I'd like to add arrwos to the lines. Anyone having an idea whats wrong with my code? ... Symbol icon = new…
RKA
  • 168
  • 1
  • 9
0
votes
0 answers

Eclipse jxmaps no valid license found

I have imported jxmaps to eclipse. But I get the error when running the code (which i copied from online to test the import worked to ensure there wouldn't be an error within the code): Exception in thread "main"…
0
votes
0 answers

Is it possible to remove city labels from a JxMaps map implementation?

Im currently working on a student project in Java with the end goal of displaying a map for a simple game. To do this Im using the JxMaps API with some google map APIs to be able to display a map in a Java swing application. I have been looking into…
Lindjo
  • 1
0
votes
1 answer

Jxmaps How can I add a ContextMenu to a Marker?

I've been trying to add a contextmenu to a marker, but I can't figure out how to get the contextmenu to appear. marker.addEventListener("rightclick", new MapMouseEvent() { @Override public void onEvent(MouseEvent event) { …
0
votes
1 answer

How to get distance between 2 points using JxMaps

In my application I need to set a route on a map and get it's distance. I'm using JxMaps for this, setting a route on a map form point A to point B works just fine, I used their example (example below) program to do this, but I don't know how to get…
Pazdr0
  • 1
  • 2
0
votes
1 answer

Problems with Geocoder in Java Swing

Good afternoon, I am building a system to a academic project in Java Desktop. In this project, I need to receive an address (like "5th avenue, NY") and convert this address to geographic coordinates (latitude and longitude) to store them in the…
0
votes
1 answer

JavaFX: Add MapView to VBox

I want to add a MapView from JXMaps to the VBox in JavaFX, i tried to add the MapView to the border panel and then added to the VBox, but i can´t find any solution to this, i hope you can help me, this is my code: public class ControlerMap { …
Danny
  • 47
  • 11
0
votes
1 answer

Add mapView to JPanel in java

I want to add a map view in a JPanel, i am using jxMaps from teamdev. I try this code, but i doesn't work. Map sample = new Map(); JFrame frame = new JFrame("Map"); frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); …
Danny
  • 47
  • 11
0
votes
1 answer

How to add MapView in JPanel of JDialog along with another JPanel

I want extract GPS coordinates using #jxmaps. For that purpose i have added two JPanel. One panel to hold few buttons and text Fields and in other Panel i want to add MapView. I have tried this JPanel mypanel = new JPanel();//null; JPanel…
0
votes
1 answer

JxMaps Error in JavaFX (JxBrowser Popup not closing)

I am using the JxMaps class (with JavaFX), but there seems to be a massive issue - it must be in the original class, as it also happens with the examples provided by JxMaps... So this is the problem: For sake of explanation, let us use the…
Joshua Lochner
  • 153
  • 1
  • 9
0
votes
1 answer

jxmaps giving error while showing map

I am getting error while showing Google maps on my Java swing application with Jxmaps. It shows me "Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details." message on my map…
0
votes
1 answer

Hi, is it possible to have a drawing tool to create a polyline in the jxmap?

I want to add a route fence within the jxmap is it possible? like the picture above, with the feature of directly drawing a polyline in the map
Renrenren
  • 25
  • 5
0
votes
1 answer

JxMaps possibility to disable Google's default POI

with JxMaps I can show a Google-Map window within Java Swing. When zooming in, Google shows much details as Restaurants and Shops. I also can click on those Restaurants and Shops - but that's something I don't want to have in my application. Anyone…
RKA
  • 168
  • 1
  • 9
1
2