I'm trying to draw a dashed line on a google map, so I can't use eshape.js. I need to create an array of points that approximate an elipse in a coordinate system. It's just for display so it doesn't have to be that precise.  If someon...
I've gotten pretty far but something just doesn't seem to work.    A = 50.88259382849774,6.003988087177277 B = 50.88269282423443,6.0036662220954895 C = 50.882530369581545,6.003847271203995   The C coordinate is a little off from the 90 degree...
I want to calculate the UV co-ordinates of a single point of a material rendered on 3D cube.   I am finding the mouse pointer intersection with the camera ray using THREE.Raycaster as:    mouse.x = (event.clientX / window.innerWidth) * 2 - 1;   mouse...
I'm working in a Paper.js project where we're essentially doing image editing. There is one large Raster. I'm attempting to use the getSubRaster method to copy a section of the image (raster) that the user can then move around.  After the...
I know there are many many questions about sorting javascript arrays by multiple values, but none of the answers solved my problem.  I have an array of coordinates like:  x  |  y -------- 10    20 12    18 20    30 5     40 100   2   How can I get th...
I already made use of a search engine, but I did not get the information I wanted, so I want to ask whether someone has a good method/trick for using a self-made coordinate system in a HTML5 canvas element.  I want to develop a 2D game in HTML5 using...
So,I have a SVG rect that I can move to the mouse position,with mouseonmove.  It works fine,but when I come to rotate it,the movement is good,but It have a strange offset based on the rotated angle.I guess something is wrong at the cos/sin code,but I...
I am working on a PyQt application that has an SVG viewer based on QWebKit. Initially the SVG file is generated by an external application (LilyPond), but we want to edit the SVG in the viewer using JavaScript.  Basically it's working pretty well...
I have a little problem with OpenLayers 3. I have the following script:  var map = new ol.Map({     view : new ol.View({         center : [5.611155, 52.238879],         projection : 'EPSG:4326',         zoom : 8.5,         minZoom : 8.5,...
I'm creating an Android app (with Java) which is going to read SWEREF99 TM coordinates from a file, and convert them to WGS84 (long-lat) coordinates, and in the oposite direction. To do this, I'm going to use either JMapProjLib, Proj4j or Pro...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.