• CommentAuthorprotherj
    • CommentTimeMay 3rd 2012
    I'm trying to reskin the balloon elements in the JavaScript API and I'm getting an error which causes my markers to not show up.

    I used the skin.balloon.directedwhite.js as my template to the new skin. When I add:

    , tagAnchor: new Telogis.GeoBase.Point (0.0, 1.0)

    below the folder: "..." item in the config object I get an error:

    Uncaught Telogis.GeoBase.Errors.ConfigurationError: no skin available for 523_balloon.

    If I remove that tagAnchor item then everything works.

    Any ideas?
    Hi Jason,

    I believe this error is appearing because your BalloonSkin class cannot find an image for the top-right alignment, which is what tagAnchor relies upon.

    By default, this will look for a file called 'tag-top-right.png', but you can specify a file by using the topRightTagSrc constructor argument.

    Documentation here: http://docs.geobase.info/html/92040c0f-2d84-44ad-8fd9-329eeebd5e46.htm

    I can reproduce this problem in our skin.balloon.directedwhite.js if I deliberately set an incorrect path to this top-right anchor using topRightTagSrc.