Bug to render map

Topics: Bugs
Apr 26, 2011 at 8:51 AM

I put GMap in a UserControl and want to render this UserControl which constains the Gmap  by using class RenderTargetBitmap.  The Gmap does not show out unless I show a window and set the userControl that contains Gmap to the content of this window. If anyone knows the problem? I just want to render UserControl that contains a Gmap without puting the UserControl in a window to show window and render the the UserControl? 

Apr 26, 2011 at 11:11 AM


Apr 26, 2011 at 11:46 AM
Edited Apr 26, 2011 at 11:47 AM

Simply, the GMapControl is not loaded until a window that contains the GMapControl shows. My point is if I can make GMapControl loaded without puting it in a window?

Apr 26, 2011 at 11:58 AM

but whats the point?

Apr 26, 2011 at 12:24 PM

I want to use GMapControl without using window, it may sound silly... 

Apr 26, 2011 at 12:47 PM

but how do you show it then?

Apr 26, 2011 at 12:50 PM

.........I don't want to show it... I just want to render it without showing it on screen....

Apr 26, 2011 at 12:53 PM

you can hide the window or construct static image generator like in BigMapMaker demo

Apr 26, 2011 at 12:59 PM