seungwoo321 / vue-datamaps Goto Github PK
View Code? Open in Web Editor NEWIt is a Vue port of the javascript-based DataMaps
It is a Vue port of the javascript-based DataMaps
I was building my project with nuxtjs after changing the router directory to /something/ it did not work.
The problem was caused because of the reference to the files, in the component you have used "/data/" which returns to the root of the directory instead of the sub-directory that related to the file.
the fix was to delete the first slash "data/"
I have changed the Datamaps.vue draw function:
const response = await fetch( this.geograpphyConfigOptions.dataUrl || "data/${this.scope}.${this.dataType}"
It could be great if there is a table of all possible options and props to use and be able to read them from one place instead of checking each example
In Datamaps.vue method draw() around line 225 the logic is flawed and it won't ever fetch your dataUrl.
I suspect the else belongs to the wrong if block..
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.