Comments (5)
Would it work to do something like this?:
var map = new Datamap({
scope: 'world',
element: document.getElementById('container1'),
done: function(datamap) {
var graticule = d3.geo.graticule();
datamap.svg.append("path")
.datum(graticule)
.attr("class", "graticule")
.attr("d", datamap.path);
},
geographyConfig: {...}
from datamaps.
yeah! except strangely the right-most longitude line doesn't render -- what gives? thanks for the quick fix though!
my code here: https://gist.github.com/atmccann/7161145
from datamaps.
No problem!
And I have no idea why the right-most line doesn't show up. Just took a look - strange!
I'm going to close this issue since for the most part it's solved - but if you figure out why the line doesn't appear please leave a comment for future reference!
from datamaps.
For that projection, it looks like Bostock just draws a sphere over the country to handle that issue
http://bl.ocks.org/mbostock/3682698 (if you remove the <use>
tags, you should see the same issue you have.
from datamaps.
ha, good catch!
On Fri, Oct 25, 2013 at 5:15 PM, Mark DiMarco [email protected]:
For that projection, it looks like Bostock just draws a sphere over the
country to handle that issuehttp://bl.ocks.org/mbostock/3682698 (if you remove the tags, you
should see the same issue you have.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-27126517
.
Allison McCann
Graphics Editor, Businessweek
650.644.8381
www.allisontmccann.com
from datamaps.
Related Issues (20)
- /
- Some of Countries missing in DataMap HOT 1
- I want to draw lines/paths on india map? Can someone please guide?
- get lat lng somehow from click event
- Missing Nantucket and Marthas Vineyard in Datampas.usa.js HOT 1
- Is it possible to change border colour of specific countries using updateChoropleth?
- Unrecognizable src script HOT 3
- Function to use custom map data HOT 1
- choropleth map color not updating when highlight on hover set to true
- React Native
- Custom-map-data-multi-layer example no longer works
- Text on bubbles
- Part of Russia is coming to the left of America HOT 1
- unable to import datamaps in angular app HOT 2
- How to have 2 maps using the same source, but with different information on hover tooltip? HOT 1
- Zoom to specified latitude and longitude
- Adding datamap to Vue 3
- `animationEnd` and `animationStart` as a configurable option for `map.arcConfig`
- rendering issues in safari 16.3
- Simple installation question
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 datamaps.