You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please explain, what is the meaning of MapFile.TileProjection.projectPoint()?
At first I thought this method converts lat/lon to screen coordinates. But it seems wrong. Possibly, projectPoint produce coordinates relative to tile origin, but I still unsure.
After all, my primary problem is to convert MapElement points to screen coordinates in custom LayerRender.render(), using passed GLViewport.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
Could you please explain, what is the meaning of
MapFile.TileProjection.projectPoint()
?At first I thought this method converts lat/lon to screen coordinates. But it seems wrong. Possibly,
projectPoint
produce coordinates relative to tile origin, but I still unsure.After all, my primary problem is to convert MapElement points to screen coordinates in custom
LayerRender.render()
, using passedGLViewport
.Beta Was this translation helpful? Give feedback.
All reactions