Recommended Posts

Hi, I have a C# app that start Google My Maps with

 StringBuilder airport = new StringBuilder();
                airport.Append("https://www.google.com/maps/d/u/0/view?mid=" + mapID + "=");
                airport.Append(lat + "%2C");

                airport.Append(lon);
                airport.Append("&z=16");

                webBrowser1.Navigate(airport.ToString());
      
where lat and lon are the latitude and longitude of map center when it opens

 

I was wondering if I can in any way open the LNM' map so it opens up the same way?

 

I.e.  starting LNM with parameter lat lon or some other way.
  

Hope this was clear enough

 

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I could add a command line parameter to open the map at given coordinates and zoom distance if that helps.

Not much effort. But this would only work when starting LNM not for an already running LNM (i.e. no DDE).

Alex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now