Announcement

Collapse
No announcement yet.

Lat & Long in a digimod and other issues 1.1.1.6

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lat & Long in a digimod and other issues 1.1.1.6

    First, I haven't figured out how to get the current lat & long in a digimod...

    I have tried: sa.NavController.GetLatitude()
    where sa = streetdeckApp

    Also, the new GetPanel("") function that was added - how does this work?
    I tried creating a navlatitude dynamic label from the ide and when I used "GetPanel", I think it got it, but it also erased it.

    Thoughts?
    View my current SD Projects:

  • #2
    Originally posted by 06TC_OWNER View Post
    First, I haven't figured out how to get the current lat & long in a digimod...

    I have tried: sa.NavController.GetLatitude()
    where sa = streetdeckApp

    Also, the new GetPanel("") function that was added - how does this work?
    I tried creating a navlatitude dynamic label from the ide and when I used "GetPanel", I think it got it, but it also erased it.

    Thoughts?
    Are you doing this as an addin or a script? This works for me.

    Code:
     //This OnConnection event is where we create all of the modules and overlay streetdeck needs
            void StreetDeck.IDualStreetDeckAddin.OnConnection(object o, StreetDeck.enumAddinConnectMode e)
            {
                //Save a pointer to the StreetDeck App object for future reference
                app = (StreetDeck.StreetDeckApp)o;
    
                //Create a shingle module that will show and hide the panel
                module = app.CreateModule("ModuleName");
    
                module.MsgBox(app.NavController.GetLatitude().ToString(), "Caption");
           }
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

    Comment

    Working...
    X