Open dm-coding opened 8 years ago
Have you tried to use the datamaps.world.hires.js
?
They should be present in that version.
@magic890 How can one proceed to make it use the hires version while using Datamaps as a module?
I am on angular 2 and using datamaps as a module I require, I searched the source and couldn't find a scope or any way to select the hires during instantiation of the map.
Is there a way? or should I modify my node_modules and copy paste one file over the other?
Thanks! Btw datamaps is great!
@cfontes Never tried with AngularJS 2, but I think that you should include the library using an import, like
<script src="bower_components/datamaps/dist/datamaps.world.hires.js"></script>
If this is the case, just use the line above, it's already the hires version.
@magic890 I used the hires map and passed SYC(Seychelles) in the data as key. But the its still not painted with my fill colour .All larger countries are painting correctly. Any idea what could be wrong?
@magic890 Sorry Its working. :) .. Its so small that i have to zoom in to view it.
Apologies if this has been bought up before.
I have created a chloropleth mostly using example code. Was very pleasant to work with!
However, the client has informed me that many smaller countries are not displaying at all and this is a matter of some concern. They are, AFAIK: Comoros, Réunion, French Polynesia, and Tonga are missing as well as Singapore.
I believe the geographies are missing entirely from datamaps.world.js. Could they have been removed for performance reasons? What would be the most expedient way to create these certain countries?
Daniel