Skip to content

Visibility Zoom Range in BuildingStack #1960

@kihyung-lee

Description

@kihyung-lee

The visibility zoom range in the BuildingStack asset is set as follows:
Image

I believe the value 25 is causing the exception in the following code.
private static double Resolution(int zoom)
{
return InitialResolution / PowerTable2[zoom];
}

This is because PowerTable2 is defined as follows:
private static readonly int[] PowerTable2 = new int[24]
{
1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions