Topics: General
Jul 29, 2010 at 1:27 PM
Edited Jul 29, 2010 at 2:13 PM


we using in our project, in this we have the minium latitude and longitude as

MinLongitude=-180 and


we need to change this value. on loading the markers on map. we not able to get the markers place seen.

we have set the currentmarker.position ;

even though we not able to see the loaded marker position.

can we change the minlatitude and minlongitude. it does not have setter property.

any way to change the default values of minlatitude and minlongitude

can any one kindly help with a solution.



Jul 30, 2010 at 11:21 AM

you can edit files in GMap.NET.Projections, current configuration is:

const double MinLatitude = -85.05112878;
const double MaxLatitude = 85.05112878;
const double MinLongitude = -177;
const double MaxLongitude = 177;

Aug 10, 2010 at 8:30 PM

p.s. fixed

Jun 2, 2011 at 5:37 PM



I am looking for a solution to show the Current Map View area of depending from the zoom area of an other vector map mapping component.

From this component ( I can get the current positon lat / lon as


Now I want to sincronize the zoom area of the vector map component with the Current Map View area of .

Any idea how I can do this in




Jun 2, 2011 at 6:53 PM

nice font ;} ..anyway what do you mean 'synchronize' ?

Jun 2, 2011 at 9:09 PM

Hi Radioman,

Sorry for this font error, I made a copy - paste from the page header.....

I am writing an application where I show a vector map using a GIS component.

The user can format this map with a thematic shading, add point and line layers...

One feature I want to add is to show the same area displayed on the vector map in a second tab or window as an Open Street Map.

Zooming in or out at the vector map the Open Street Map zoom in or out too.

This I mean with synchronize

The lat/lon values min and max from the vector map rectangle I can get with the ViewExtents function from this component.

At the gmap I only found CurrentPosition or now Position where I can enter one set of lat/long values and zoomlevel.

I am looking for something like this where I can pass the actual settings from the vector map rectangle to gmap.

gmap1.MinLatitude = -85.05112878
gmap1.MaxLatitude = 85.05112878
gmap1.MinLongitude = -177
gmap1.MaxLongitude = 177

Thank you

Jun 3, 2011 at 7:34 AM

try map.SetZoomToFitRect

Jun 3, 2011 at 10:51 PM

Thank you this works perfect !