Comments (4)
Is this bug still active? Because I have attempted to run a line from Pitcairn Island to Opua, New Zealand, and am encountering this bug, whereby the line is rendered in reverse to its destination (NZ).
This seems like a fairly significant bug... Are there any workarounds? I am attempting to plot a round the world route. Here is a screen cap: http://cl.ly/1e2R1J2d3M1b193L011i
from polymaps.
Additionally, if I attempt to stop my linestring 0.0 and start it again at 180, I encounter a secondary issue: http://cl.ly/0N383q1I2w2e3M3P2X2c
from polymaps.
If you use longitude values greater than +180 or less than -180, you can force Polymaps to pick one side of the Earth, rather than bouncing between the two.
from polymaps.
Ok, I'm a bit confused. This is my JSON...
[
{ "source": [ -122.51541137695312, 37.80761398306056 ], "target": [ -72.70751953125, -55.54106495611102] },
{ "source": [ -72.70751953125, -55.54106495611102 ], "target": [ -67.269287109375, -56.016807763203204] },
{ "source": [ -67.269287109375, -56.016807763203204 ], "target": [ -109.3664237, -27.1211919 ] },
{ "source": [ -109.3664237, -27.1211919 ], "target": [ -127.439308, -24.703615 ] },
{ "source": [ -127.439308, -24.703615 ], "target": [ -0.0, -143.94241333007812 ] },
{ "source": [ 180,-35.3130147 ], "target": [ 144.9629796 , -37.8131869 ] }
]
The last line of the above JSON, is the linestring that is being pushed onto the wrong side of the map.
from polymaps.
Related Issues (20)
- Upgrade polymaps.org to 2.5.1 -- Currently examples breaking in IE9/Firefox HOT 2
- 'show' event is called with bad data the first time
- How to disable wrap-around? HOT 9
- Load function should be called with layer as context
- Polymaps has stopped working in Firefox HOT 3
- Maps start jumping in Chrome when dragging
- Custom Coordinate systems or Projects? HOT 2
- Round up in fractional zooming
- Examples don't work in firefox HOT 4
- [enhancement] Add missing bower.json. HOT 1
- SOURCE CODE FOR IMAGE MAP USED IN NEWSPAPER HOT 1
- Attaching event listeners to geoJson layer HOT 1
- Navigation image viewport
- Overlays
- Examples on http://polymaps.org/ex/ not resizing. HOT 3
- how to add custom icons on locations and toolip on those
- Integrating polyMaps with angular2 webpack
- Using Polymaps with Mapbox
- Examples on website no longer work because of CORS
- Is polymaps dead ? HOT 1
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 polymaps.