Bug when load my exported .GMP .

ehsanehsan Global Mapper UserPosts: 17
edited March 2010 in Bug Report
I Wrote MFC app that use the sdk.
When I was add point to layer and export by GM_EXPORTFLAGS_KEEPSALLSTYLE ,export complete successfully but when load it the point's label don't appear or apear in too large size.

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2010
    What format are you exporting your data to? Not all formats support storing font/style information, so for some exports it will be lost. Really the Global Mapper Package format is the one that supports all style information.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • ehsanehsan Global Mapper User Posts: 17
    edited March 2010
    I use GM_ExportPackage to save my all layers to a .gmp file.
    By global mapper application it work right in exporting by GM app and loading in SDK but when i use SDK and this function,Global mapper app appear label as too large size.
    Tanks.
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2010
    Can I see what your call to GM_ExportPackage looks like? Also, what version of the SDK are you using?

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • ehsanehsan Global Mapper User Posts: 17
    edited March 2010
    I use version 1.32 build date is 2009-11-11.
    this is my method...

    bool CGISControl::SavePackage( LPCTSTR path )
    {
    USES_CONVERSION;
    const char* pt = T2A(path);
    return GM_ExportPackage(pt,NULL,0,NULL,0.0,GM_ExportPackage_LatLongWGS84|GM_ExportPackage_KeepAllStyles );
    }

    Tanks...
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2010
    Can you first try getting the SDK v1.33 release from the Developers page at http://www.globalmapper.com to see if that fixes your issue? If not, can you provide me with the GMP file that was created with the SDK and one created with Global Mapper that is correct so that I can see what is different?

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
Sign In or Register to comment.