@@ -33,12 +33,20 @@ You can use this engine to:
3333<div align =" center " >
3434
3535| | | |
36- | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: |
37- | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/01-globe-view.png " alt =" Globe View " width =" 200 " /> | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/02-terrain-rendering.png " alt =" Terrain Rendering " width =" 200 " /> | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/03-3dtiles-rendering.png " alt =" 3D Tiles Rendering " width =" 200 " /> |
36+ | :---:| :---:| :---:|
37+ | ![ 3D Globe] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/01-globe-view.png ) | ![ Terrain] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/02-terrain-rendering.png ) | ![ Atmosphere] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/08-atmosphere.png ) |
38+
39+ | | | |
40+ | :---:| :---:| :---:|
41+ | ![ Controls] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/06-interactive-controls.png ) | ![ Post-processing] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/04-post-processing.png ) | ![ Animation] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/09-animation.png ) |
42+
3843| | | |
39- | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/04-post-processing.png " alt =" Post Processing " width =" 200 " /> | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/06-interactive-controls.png " alt =" Interactive Controls " width =" 200 " /> | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/07-planar-map.png " alt =" Planar Map " width =" 200 " /> |
44+ | :---:| :---:| :---:|
45+ | ![ Planar] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/07-planar-map.png ) | ![ 3D Tiles] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/03-3dtiles-rendering.png ) | ![ Drawing] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/16-drawing-controls.png ) |
46+
4047| | | |
41- | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/08-atmosphere.png " alt =" Atmosphere Effect " width =" 200 " /> | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/09-animation.png " alt =" Animation System " width =" 200 " /> | <img src =" https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/11-lighting.png " alt =" Lighting System " width =" 200 " /> |
48+ | :---:| :---:| :---:|
49+ | ![ New Feature 1] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/Snip20250917_4.png ) | ![ New Feature 2] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/Snip20251016_3.png ) | ![ New Feature 3] ( https://raw.githubusercontent.com/flywave/flywave.gl/master/docs/static/screenshots/Snip20251021_4.png ) |
4250
4351</div >
4452
@@ -72,14 +80,30 @@ npm install @flywave/flywave.gl
7280### Basic Usage
7381
7482``` typescript
75- import { MapView , GeoCoordinates , sphereProjection } from " @flywave/flywave.gl" ;
76-
83+ import {
84+ MapView ,
85+ GeoCoordinates ,
86+ MapControls ,
87+ sphereProjection ,
88+ ArcGISWebTileDataSource
89+ } from " @flywave/flywave.gl" ;
90+
91+ // Initialize map view
7792const mapView = new MapView ({
78- projection: sphereProjection ,
79- target: new GeoCoordinates (36 , 118 ),
80- zoomLevel: 6 ,
81- canvas: document .getElementById (" mapCanvas" ) as HTMLCanvasElement
93+ projection: sphereProjection ,
94+ target: new GeoCoordinates (39.9042 , 116.4074 ), // Beijing coordinates
95+ zoomLevel: 10 ,
96+ canvas: document .getElementById (" mapCanvas" )
8297});
98+
99+ // Create data source
100+ const webTileDataSource = new ArcGISWebTileDataSource ();
101+
102+ // Add data source to map
103+ mapView .addDataSource (webTileDataSource );
104+
105+ // Add controls for user interaction
106+ const mapControls = new MapControls (mapView );
83107```
84108
85109## Core Features
0 commit comments