Solid

Specifies how the building is displayed.

setModeSolid

mapInstance.setModeSolid(mode);

Parameters

Parameter (Required)
Description
Remark

mode

"3D", "2D", or "NONE" can be chosen

String

Returns

Parameter
Description
Remark

Example

mapInstance.setModeSolid("3D");
mapInstance.setModeSolid("2D");
mapInstance.setModeSolid("NONE");

getModeSolid

mapInstance.getModeSolid();

Parameters

Parameter (Required)
Description
Remark

None

No parameters are required.

None

Returns

Parameter
Description
Remark

mode

Retrieves the currently set solid mode value.

String

Example

mapInstance.getModeSolid();
return : "3D"

The MOGOS Maps API requires an API Key, which can be obtained from the MOGOS Console website or contact [email protected].

Last updated