Comments (11)
Actually, that does work. You don't even need swingx to use JXMapViewer2. Maybe you imported the wrong class? There's an example using CompoungPainter in the project sample2. Does that work for you?
from jxmapviewer2.
No,
my application is working with swingx. And it's matters in which order your classpath is. JXMapViewer.jar before swingx works, but swingx before jxmap you can't even compile.
May be it's a solution to make a JXMapViewer.jar without any swingx classes in. This seem's to work.
from jxmapviewer2.
Interesting - I am surprised to find somebody who is actually using SwingX. The SwingX lib also contains an implementation of JXMapViewer, so no matter what you do, it will always work only one way.
from jxmapviewer2.
Hi,
it's me again. I have removed the swingx implementation of the MapViewer. So i have only 1 MapViewer. I just need the JStatusbar.
from jxmapviewer2.
Maybe you can just copy&paste it? I wouldn't expect too many updates of the swingx code base ..
from jxmapviewer2.
Hi! I have same issue. But I use SwingX and JXMapViewer2 as gradle dependencies from Maven Central. I think that if JXMapViewer2 is not part of SwingX then it should not use SwingX package name org.jdesktop.swingx. Because of that org.jdesktop.swingx.painter packages from SwingX and JXMapViewer2 overlap and used the one first in classpath.
from jxmapviewer2.
Hmm ... interesting idea - I will try that..
from jxmapviewer2.
Alright - I updated the packing names. Let me know if that fixes your problems and I will merge the changes into master.
https://github.com/msteiger/jxmapviewer2/tree/package_names
from jxmapviewer2.
Everything is OK now. Thank you!
from jxmapviewer2.
For me it's working after some merging, because i have implemented an overlay feature into the mapviewer.
But after some refactoring and some moving now everything is working. Without interfering anything.
mit freundlichen Grüßen
Dipl.-Ing. Wilfried Klaas
Tel.: 02324 200504
Mobil: 0170 2970164
EMail: Mailto:[email protected]
Home: http://www.wk-musik.tk
Gesendet: Samstag, 26. April 2014 um 14:51 UhrVon: "Martin Steiger" [email protected]: msteiger/jxmapviewer2 [email protected]: "Wilfried Klaas" [email protected]: Re: [jxmapviewer2] Problem using JXMapViwer2 1.3 with swingx-all-1.6.5-1.jar (#19)
Alright - I updated the packing names. Let me know if that fixes your problems and I will merge the changes into master.
https://github.com/msteiger/jxmapviewer2/tree/package_names
—
Reply to this email directly or view it on GitHub.
from jxmapviewer2.
I've merge the changes into master. Thanks.
from jxmapviewer2.
Related Issues (20)
- Cache Input Stream can leak resources HOT 1
- Add Automatic-Module-Name clause to jar manifest HOT 6
- Showing Pin on Map HOT 1
- Google Maps is not working with jxmapviewer2 HOT 2
- Can we load shape files on top of the map for jxmapviewer2? HOT 3
- Improvement suggestion HOT 4
- Is it possible to update routes? HOT 3
- Divided by zero ArithmeticException in AbstractTileFactory (v2.6) HOT 2
- Strange behavior in overlay painting from zoom 2 down to 0 HOT 5
- JavaFX compatibility HOT 2
- AbstractTileFactory#tileMap causing OutOfMemory after long usage HOT 3
- JxMapViewer.zoomToBestFit(fitPoints, 0.4) throws exception HOT 4
- Feature: decorate tile urls with query params HOT 1
- Feature: Modern httpClient HOT 7
- OOM and cache HOT 2
- Help Needed: Using MouseEvents to create new GeoPoint HOT 5
- Newest release does not support Java Modules HOT 3
- Using a WMS with other CRS/SRS (other then WGS84 EPSG:4326): HOT 2
- Possible race condition in FileBasedLocalCache HOT 1
- New release? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jxmapviewer2.