setup a basic unity scene with the map magic MinuteIslandInfinite demo graph, enable infinite generation make sure it runs fine with a desktop build, it may require deleting NativePlugins.dll as it throws an error when compiling if that dll is present.
Now build for webgl and only 1 terrain spawns, even if you move to the edge of the terrain.