Register  |  Login
ThinkGeo - GPS Tracking and Mapping Solutions  |  Visit the Wiki  |  Find us on: Twitter Facebook Google+ LinkedIn

Discussion Forums

The online community for users of Map Suite GIS components

Google Earth View on WPF application
Last Post 06-13-2012 07:31 PM by Gary. 6 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
GSUser is Offline
Level 2
Level 2
Posts:42
Avatar

--
05-18-2012 03:40 PM

 

 Hello ThinkGeo,

Using Google Overlay Switcher, we had implemented GoogleEarth Hybrid View and ThinkGeo view  on Web application (to switch Google /ThinkGeo maps vice versa), and we registered free key from google website.I don't know how to achieve same on WPF application?? For each PC,  do I need to get key from google ?? I have no idea...

 

 In Web there is a lot of control using JavaScript and/or JSON scripting API .So, Do you have same rich functionality and classess implemented on WPF Google Overlay' ? Appreciate,  if  you can send any sample working application

 

 

 

GSUser is Offline
Level 2
Level 2
Posts:42
Avatar

--
05-21-2012 08:29 PM

 Hello thinkgeo,

 

Will someone respond to my question??

JamesUser is Offline
MVP
MVP
Posts:1637
Avatar

--
05-25-2012 01:19 PM
Srikanth,

Sorry for delay, we have just released the new version of MapSuite all products 6.0, so that there are too many users ask questions on the forum want to know how to user MapSuite API.

About your question, basically, GoogleOverlay on web is totally working different way as of Wpf, one is using Google JavaScript API, the other is using Google static API, for difference between them, you can easy to find out at Google website.

Let me know if you have more questions.
Thanks,
James
Think what? Think Geo!
GSUser is Offline
Level 2
Level 2
Posts:42
Avatar

--
05-25-2012 03:41 PM

 No problem...I can understand. Can you provide any sample application on WPF application???how about registration keys on WPF application and how this works on WPF application???

JamesUser is Offline
MVP
MVP
Posts:1637
Avatar

--
05-29-2012 02:12 PM

 Srikanth,

The sample code is below, you don't need to use registration key, but if you have, you can pass into construtor of GoogleMapLayer as parameter.

 wpfMap1.MapUnit = GeographyUnit.Meter;
            wpfMap1.CurrentExtent = new RectangleShape(-10000000, 10000000, 10000000, -10000000);
            LayerOverlay worldOverlay = new LayerOverlay();
            GoogleMapsLayer worldLayer = new GoogleMapsLayer();
            worldOverlay.Layers.Add("WorldLayer", worldLayer);

            wpfMap1.Overlays.Add("WorldOverlay", worldOverlay);
            wpfMap1.Refresh();

Thanks,

James 

Think what? Think Geo!
GSUser is Offline
Level 2
Level 2
Posts:42
Avatar

--
06-12-2012 06:44 PM

 Thanks James.I will try and let you know

GaryUser is Offline
MVP
MVP
Posts:1914
Avatar

--
06-13-2012 07:31 PM
Hello Srikanth,

You are welcome, just feel free to let us know your problems.

Regards,

Gary

Need to know how to do something with Map Suite? Check our Wiki Code Samples Library and view the source code of any sample right in your web browser.

You are not authorized to post a reply.

Active Forums 4.2