0

I am currently struggling with Google Maps Projection.ToScreenLocation function that takes forever to run when you call it multiple times to make calculations to tens of coordinates.

I have read a lot of answers like Convert latitude/longitude point to a pixels (x,y) on mercator projection, but they calculate to the hole map on screen. I found this answer, but sometimes it fails with the latitude (y) calculation. Can someone enlighten me on how to solve this? Pseudocode or C# are preferable, but any language is welcome.

0 Answers0