Novice, and basic concepts

Aug 31, 2010 at 12:54 AM
Edited Aug 31, 2010 at 12:56 AM

Hi guys,

I have a GPS value from a device that looks like this:

-27.322914, 153.023697

This should place me near Brisbane, Australia. However, although it gets me close.. it's thousands of kilometers off.
I am starting from basics, and am happy that I have brought up a map in my Winforms project.
I'd like to zoom to around 150 meters up from this point. Could someone correct my code to achieve this?
I'm worried that my GPS co-ords aren't in the right format maybe?



                System.Net.IPHostEntry ip = System.Net.Dns.GetHostEntry("");
                MainMap.Manager.Mode = AccessMode.CacheOnly;
                MessageBox.Show("No internet connection avaible, going to CacheOnly mode.", "GMap.NET - Demo.WindowsForms", MessageBoxButtons.OK, MessageBoxIcon.Warning);

            // config map             
            MainMap.CurrentPosition = new PointLatLng(-27.322914, 153.023697);
            MainMap.MaxZoom = 11;
            MainMap.MinZoom = 1;
            MainMap.Zoom = MainMap.MinZoom + 1;


Also, the zoom doesn't get me close. How does the zoom value work?

And finally, am I right in saying that I need the 3 GMAp reference DLLs in my project? Core, Winforms and the SQL one?

Thanks guys.

Aug 31, 2010 at 10:29 AM
MainMap.MapType = MapType.GoogleMap;
MainMap.MaxZoom = 17;
MainMap.MinZoom = 1;
MainMap.Zoom = MainMap.MinZoom + 4;
MainMap.CurrentPosition = new PointLatLng(-27.322914, 153.023697);
Aug 31, 2010 at 6:02 PM



Thanks sir,


Great product!