hansolo / countries Goto Github PK
View Code? Open in Web Editor NEWA JavaFX library that contains different controls to visualize country based data
License: Apache License 2.0
A JavaFX library that contains different controls to visualize country based data
License: Apache License 2.0
Is there a reason why the heatmap size is hard-coded? I have not found a way to change it and it produces an IndexOutOfBoundsException when my application is in fullscreen and I update the heatmap.
The monochromeImage variable, where the color is read from in the HeatMap class (updateHeatMap(), currently line 377), is (1009, 665) but when I update the heatmap height and width, they make the size of the for-loop are way bigger. Also, as the heatMap variable in CountryPane is private and there is no method to access it, I cannot call the updateMonochromeMap() method. Is there a way to fix this bug myself, did I miss a method or so or is this just because the heatmap size is hard-coded?
Geopolitics is a very controversial subject, and there are quite a number of border conflicts/non understandings in the world. A common example for this is the Kashmir region, which in most international maps is shown "shaded" as a conflict zone, and is shown an entire part of the respective country in India/Pakistani versions of the map. Currently, its shown a part of Pakistan entirely, which means this map is illegal in India. Another example is with China's claim over Aruanachal Pradesh in India.
Microsoft had faced a similar situation for another border conflict in some other region, where they in the end decided to completely remove world maps to stay neutral. As it is illegal to show incorrect versions of the map in countries, the software using this may be deemded illegal or whoever uses it will have to pay a fine.
Hence, a better way would be to handle it like google maps: show according to the particular region. This can be done by automatically detecting the locale of the system where this is being used.
It appears that the applefx widgets were uploaded to the Countries repository
https://mvnrepository.com/artifact/eu.hansolo/applefx
I haven't found where the actual Countries artifacts are located.
This one is is harder
I'm not sure if this is because of this library or nbm-maven-plugin that I use to build my NetBeansPlatform application, or anything else.
error reading /home/pata/.m2/repository/eu/hansolo/fx/countries/17.0.27/countries-17.0.27.jar; java.net.URISyntaxException: Illegal character in path at index 64: file:/home/pata/.m2/repository/eu/hansolo/fx/countries/17.0.27/${project.name}-${project.version}.jar
error reading /home/pata/.m2/repository/eu/hansolo/fx/heatmap/17.0.15/heatmap-17.0.15.jar; java.net.URISyntaxException: Illegal character in path at index 62: file:/home/pata/.m2/repository/eu/hansolo/fx/heatmap/17.0.15/${project.name}-${project.version}.jar
The manifest of countries contains
Class-Path: ${project.name}-${project.version}.jar
Is that by design and should it work?
Would be great if you could add this badge to your readme:
[![JFXCentral](https://img.shields.io/badge/Find_me_on-JFXCentral-blue?logo=googlechrome&logoColor=white)](https://www.jfx-central.com/libraries/countries)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.