Converting longitude/latitude to X/Y coordinate

前端 未结 3 491
醉酒成梦
醉酒成梦 2020-11-28 19:38

I created a map using Google Maps API that highlights all Minnesota counties. Basically, I created the county polygons using a set of longitudes/latitudes coordinates. Here\

3条回答
  •  臣服心动
    2020-11-28 20:21

    Remember that how a map looks is a function of the projection used to render the map. Google Maps appears to use a Mercator projection (or something very similar to it). What projection does your algorithm equate to? If you want your 2D representation to look just like Google's you need to use an identical projection.

提交回复
热议问题