How many GMapControls in a windows form?

Oct 27, 2010 at 10:47 AM

I’m designing a dual monitor application. One will display the principal map whit the position of the fire bomber/police vehicles. In the other I will display a small map for each active vehicle whit his correspondent route. I need to display 4 rows of 5 maps.

Is this viable?

Best regards.

 

 

 

Coordinator
Oct 27, 2010 at 11:04 AM

yes indeed ;} Demo.Docking is nice example for that

Oct 27, 2010 at 11:50 AM

oh, yes i dont remenber....

Where I may put the code for jump the proxy server?.

All tyles appears blue whit a "SingletonCreator Exception"

Best Regard 

Coordinator
Oct 27, 2010 at 11:54 AM

thats not a proxy problem, check cpu target

Oct 27, 2010 at 12:14 PM

The program break in this instruction

 public void ReloadMap()      {

......

  throw new Exception("Please, do not call ReloadMap before form is loaded, it's useless");

......

If supress this code line, the programm runs and the tile blues appears.

Many thanks

 

 

Coordinator
Oct 27, 2010 at 12:18 PM

please read what it say ;} why you call it at all?

Oct 27, 2010 at 12:32 PM

I stablish the original proyect as init proyect and compile. I dont change a single code line of the original.

I dont know which is the problem.

I use VS2008, winxp, & net 3.5

StreeView demo also crack at this point

   e.Frames.Add(BitmapFrame.Create(src as BitmapSource));   ->   SaveImg function

Demo Clound works if i jump the proxy server.

BigMapMaker works but the map is "white". i think is a proxy problem.

I will run the programs at home and verify under windows 7, net 4 and no proxy server.

Best Regard and Many Thanks 

Coordinator
Oct 27, 2010 at 12:43 PM

hm.. this is using google or others maps too?

Oct 28, 2010 at 9:42 AM

Was the SQL Lite reference. I remove it and works fine without proxy

But i dont know how to jump the prosy server

I dont now where to put the code 

MapaPrincipal.Manager.Proxy = new WebProxy("999.99.9..999", 80);                

MapaPrincipal.Manager.Proxy.Credentials = new NetworkCredential("dsfdsfds", "9999999", "9999.local");

i try to put the code at

  private void GMapControl_Loaded(object sender, RoutedEventArgs e)

but fail.

Best Regards

Coordinator
Oct 28, 2010 at 9:50 AM

removed ;] so now you are without a cache ;} set target o x86 as i've said before

p.s. set proxy in constructor