Skip to content

Commit 7757f77

Browse files
committed
Change order of controls
Signed-off-by: Daniel Kastl <[email protected]>
1 parent d2e918a commit 7757f77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/gtt-client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,12 @@ export class GttClient {
304304
// Add Toolbar
305305
this.toolbar = new Bar()
306306
this.toolbar.setPosition('bottom-left' as position)
307-
this.toolbar.addControl (new FullScreen())
308-
this.toolbar.addControl (new Rotate())
309307
this.map.addControl(this.toolbar)
310308
this.setView()
311-
this.setGeolocation(this.map)
312309
this.setGeocoding(this.map)
310+
this.setGeolocation(this.map)
311+
this.toolbar.addControl (new FullScreen())
312+
this.toolbar.addControl (new Rotate())
313313
this.parseHistory()
314314

315315
// Control button

0 commit comments

Comments
 (0)