mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
basic file operations
This commit is contained in:
@@ -9,11 +9,13 @@
|
||||
|
||||
$: if ($map && container) {
|
||||
$map.on('load', () => {
|
||||
if (position.includes('right')) container.classList.add('float-right');
|
||||
else container.classList.add('float-left');
|
||||
container.classList.remove('hidden');
|
||||
let control = new CustomControl(container);
|
||||
$map.addControl(control, position);
|
||||
if ($map && container) {
|
||||
if (position.includes('right')) container.classList.add('float-right');
|
||||
else container.classList.add('float-left');
|
||||
container.classList.remove('hidden');
|
||||
let control = new CustomControl(container);
|
||||
$map.addControl(control, position);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user