I know that method exists and is documented, but I don't know how to get an MapCanvasProjection object....
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 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 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...
I am trying to project a JPG basemap onto an Orthographic projection using the inverse projection. I have been able to get it working in v3 of D3, but I am having an issue in v4 of D3. For some reason, v4 gives me the edge of the source image as the...
How can data positions be included in d3 projection transitions?  I made a JsFiddle demo based on https://bl.ocks.org/mbostock/3711652 .  Obviously the data point does not follow the projection transitions. This is the relevant javascript I added:  /...
I'm using Javascript to create an equirectangular image to which I will take a bounding box and then project that on a flat surface. Pretty much like a cubemap projection, but only getting a slice of the entire map without limiting the boundaries...
Considering a rectangular polygon that is rotated (45 degree) from north, and a horizontal canvas rectangular which we should draw (map) on it. The idea is how to rotate/translate this polygon to fit the rectangular dimensions?  We only have the poly...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.