Jared H


There is a small misprint in the SDK -- although certainly worth it now that the minimap itself is part of the API Smile

A VEMiniMap Enumeration that specifies the mini map size. Possible values are VEMiniMap.Small and VEMiniMap.Large. Optional. Default value is VEMiniMap.Small.

The correct enumeration values are VEMiniMapSize.Large, VEMiniMapSize.Small




Re: SDK Correction, optional VEMiniMapSize enum

Tunde Aina


Jared,

Thanks for the correction. The MiniMap seems to be elusive.

map = new VEMap('mainmap');

map.ShowMiniMap(610, 390, VEMiniMapSize.Small);

.

.

throws an exception. How do you get the thing working






Re: SDK Correction, optional VEMiniMapSize enum

Jared H

I believe you have to call map.LoadMap() first, then call ShowMiniMap...it is cool when you get it working!




Re: SDK Correction, optional VEMiniMapSize enum

Tunde Aina

Sure enough. Thanks