Global Mapper v25.0

SDK function to create point in GM

FabioforItaly
FabioforItaly Global Mapper User
edited July 2011 in SDK
Hi I'm Fabio from Italy, I need help to create an applicaton in VB6 or .NET 2005 to visualize the position of some trucks. With this app I receive a $GPGGA from radio and then I need to create a point un GM app with name and position of the truck.
Can you tell me which function I can use?

Thanks
fabio

Comments

  • global_mapper
    global_mapper Administrator
    edited July 2011
    fabio,

    If you are parsing the $GPGGA sentences yourself (very simple to parse), just use GM_CreateCustomVectorLayer to create a new layer, then GM_AddPointToVectorLayer to add the point initially, then GM_SetPointFeaturePosition to move an existing point when you get an updated location.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • FabioforItaly
    FabioforItaly Global Mapper User
    edited July 2011
    I'll try. Could you tell me where I find some samples that include this functions?
    Thanks for now.


    Fabio
  • global_mapper
    global_mapper Administrator
    edited July 2011
    Fabio,

    The C++ sample application included with the SDK includes samples of using these functions.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com