Skip to content

local run

1. Open the L7demo page

Choose any one you want to seedemo。

L7 地理可视化

You may not have noticed that there is a row of tool buttons above the code area.

2. Open codesandbox.

Click the third button on the left and you will entercodesandbox。

L7 地理可视化

L7 地理可视化

You find that you have entered an online code editor, where you can modify the code and see the effect at any time.

You may want to say that I just want to run it locally and don’t want to modify it online.

Of course it is possible.

3. Download demo source code

  1. existcodesandboxThe file directory tool has a download button, refer to the red part in the picture.

  2. Click to download and you can put thisdemoDownload the source code locally.

4. Start the project

Unzip the project and enter the project directory.

  1. Install environment dependencies

If you don’t knowyarnYou may need to add some front-end knowledge, if notyarnYou need to install the environment.

yarn install
  1. Startup project
yarn start

The browser will automatically openhttp://localhost:3000/,sodemoJust started running.

L7 地理可视化

Now you can freely modify the code locally and add your own layers.
L7alldemoAll can be found incodesandboxOpen and you can download the code.

© Copyright 2026 Ant Group Co., Ltd..备案号:京ICP备15032932号-38
Site search
Documentation and examplesType to start searching

Search documentation, APIs, and examples

↑↓Select↵OpenEscClose