I know that method exists and is documented, but I don't know how to get an MapCanvasProjection object....
I'm trying to convert a lat/lon pair to a pixel coordinate. I have found this mercator projection but I don't understand the code. What is the factor,x_adj, y_adj variable? When I run the code without those constants my lat/lon pair is not...
I have this image: http://imgur.com/99tSz.png. A map of the UK (not including Southern Ireland).  I have successfully managed to get a latitude and longitude and plot it onto this map by taking the leftmost longitude and rightmost longitude of the...
I'm working on this and I'm having trouble with clipping the red circle elements as they appear on the globe even past the 90? clip angle. Also, is there a way you can apply the projection to the red circles, as in so it looks like they'r...
I'm pretty new to D3 and I'm trying to set point on a map.  I'm confused as I created a projection with this code:  var projection = d3.geo       .albersUsa()       .scale(500)       .translate([el.clientWidth / 2, el.clientHeight / 2]);...
I have been trying to convert the 360 degree camera, single fish eye image, to equirectangular viewer in node js for the past two days. In stackoverflow, the same question is asked and answered in pseudo code. I have been trying to convert pseudo cod...
I'm using D3 to draw some pieces of information on canvas. And I got my aim in version 3 but failed in version 4 (Of course, I had changed the updated functions in version 4 such as d3.geo.mercator() to d3.geoMercator()). I debugged some relative...
I have a problem with getting a map in EPSG 3031 to work.  From my research I have already learned that the parameters for the projection have to be defined in the javascript file, which accordingly to epsg.io works fine in my script.  But when I use...
I'm using the open source Leaflet.js library to create a simple map.  I'm trying to solve a specific problem though. Markers are tied to a specific lat/lng on a map, which makes sense, but I need to be able to make a marker have a fixed offse...
I have a scene where I want to combine perspective objects (ie. objects that appear smaller when they are far away) with orthogographic objects (ie. objects that appear the same size irrespective of distance). The perspective objects are part of the...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.