WhirlyGlobe icon indicating copy to clipboard operation
WhirlyGlobe copied to clipboard

Coordinate differences between vectors and wide vectors

Open TimSylvester opened this issue 2 years ago • 4 comments

Coordinates are handled slightly differently leading to gaps in small objects when drawing both with the same inputs. Setting kMaplyVecCentered: false for vectors seems to improve this somewhat, implying that wide vectors should support that same functionality.

image

TimSylvester avatar Dec 11 '21 01:12 TimSylvester

@TimSylvester-mousebird any changes?

segecey avatar Jan 10 '22 18:01 segecey

@0x73 No, nothing has been done to address this. It only occurs at very small scales, and isn't a priority for the client in whose project I noticed it.

TimSylvester avatar Jan 10 '22 18:01 TimSylvester

@TimSylvester-mousebird I got it. I have same issue. Could you check it? Do you have any suggestion for me? Thanks. Screen Shot 2022-01-10 at 21 45 49

segecey avatar Jan 10 '22 18:01 segecey

The problem referred to in this issue is about coordinate precision and centering, and I would guess is unrelated to issues with such large items, though I can't rule it out.

Specific to the lines not following the edges of the areas, my first inclination would be toward different subdivide options. The subdividing process will need to make the same changes to both sets of points, or one needs to be created from the other after it's already already-subdivided, in order for the results to match up.

TimSylvester avatar Jan 10 '22 18:01 TimSylvester