File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/base/src/mainview Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ export class MainView extends React.Component<IProps, IStates> {
184
184
? fromLonLat ( [ options . longitude ! , options . latitude ! ] )
185
185
: [ 0 , 0 ] ;
186
186
const zoom = options . zoom !== undefined ? options . zoom ! : 1 ;
187
- await this . generateScene ( center , zoom ) ;
187
+ await this . generateMap ( center , zoom ) ;
188
188
this . addContextMenu ( ) ;
189
189
this . _mainViewModel . initSignal ( ) ;
190
190
if ( window . jupytergisMaps !== undefined && this . _documentPath ) {
@@ -216,7 +216,7 @@ export class MainView extends React.Component<IProps, IStates> {
216
216
this . _mainViewModel . dispose ( ) ;
217
217
}
218
218
219
- async generateScene ( center : number [ ] , zoom : number ) : Promise < void > {
219
+ async generateMap ( center : number [ ] , zoom : number ) : Promise < void > {
220
220
if ( this . divRef . current ) {
221
221
this . _Map = new OlMap ( {
222
222
target : this . divRef . current ,
You can’t perform that action at this time.
0 commit comments