This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
Allow CirclesTechnique points size to be specified in metres and pixels #2272
Labels
wontfix
This will not be worked on
Discussed in #2256
In the source documentation it is stated that both
SquaresTechnique
andCirclesTechnique
points are measured in pixels, but it is clear thatSquaresTechnique
is measured in metres. I would like the ability forCirclesTechniques
to be measured in metres too.I have linked a draft PR #2271 with some of my work to complete this but it is not in a ready state and I would appreciate help.
Original Discussion:
Originally posted by LukeParky August 3, 2021
Hi all, loving harp.gl but I've run into something that appears possibly inconsistent in the documentation and I'd like some advice.
Using
SquaresTechnique
for points, thesize
attribute represents size in the geo reference frame, whereas forCirclesTechnique
the size attribute represents size in pixels.In the source code PointTechniqueParams states size is in pixels so
SquaresTechnique
appears to be inconsistent.I want to render a circle with the size in the geo reference frame, so having the behaviour of
SquaresTechnique
but rendering a circle instead of a square. Is there a way to do this using the established square or circle techniques or will I need to do some calculations to convert pixel size to geo size?The text was updated successfully, but these errors were encountered: