radioman / greatmaps

GMap.NET - Great Maps for Windows Forms & Presentation
916 stars 410 forks source link

Does not reset map edges for locations near Longitude = 180 #82

Open w3sz opened 6 years ago

w3sz commented 6 years ago

New Zealand's North (and South) Islands and its subset the Chatham Islands (for example) lie on opposite sides of the longitude = 180 degrees line. The Great Maps display, as in the GitHub Demo code, continues to place the edges of the map at +180 degrees and -180 degrees when locations approximately at the 180 degree line are viewed. This makes the map useless for those wanting to use it to evaluate paths between locations on either side of the longitude = 180 degree line. There should be a feature where, when viewing locales around the longitude = 180 degree line, the map boundaries are changed (perhaps to +/- 0 degrees).

See attached image demonstrating this problem. The Chatham islands would be in the blank area on the right side of the image.

greatmaps180degreeproblem

I added the changes indicated in this thread and this does solve the problem. Any chance this will be added to the master branch? : http://presentation427.rssing.com/chan-4175058/all_p95.html

Thanks for a great program!

lizhongchao13 commented 6 years ago

I have the same problem.

tomlingh commented 5 years ago

I have the same problem, is there any estimate for the work involved?

Fi22xError123 commented 1 year ago

Any Solution ?