mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
shift polar
This commit is contained in:
@@ -95,9 +95,10 @@
|
|||||||
earth: null,
|
earth: null,
|
||||||
init() {
|
init() {
|
||||||
this.earth = new Earth(this.$refs.myearth, {
|
this.earth = new Earth(this.$refs.myearth, {
|
||||||
location : {lat: 18, lng: 50},
|
location : {lat: {{ $cities->first()->latitude }}, lng: {{ $cities->first()->longitude }}},
|
||||||
zoom: 1.05,
|
zoom: 1.05,
|
||||||
light: 'none',
|
light: 'none',
|
||||||
|
polarLimit: 0.6,
|
||||||
|
|
||||||
transparent : true,
|
transparent : true,
|
||||||
mapSeaColor : 'RGBA(34, 34, 34,0.76)',
|
mapSeaColor : 'RGBA(34, 34, 34,0.76)',
|
||||||
@@ -108,7 +109,7 @@
|
|||||||
|
|
||||||
autoRotate: true,
|
autoRotate: true,
|
||||||
autoRotateSpeed: 0.7,
|
autoRotateSpeed: 0.7,
|
||||||
autoRotateDelay: 4000,
|
autoRotateDelay: 500,
|
||||||
});
|
});
|
||||||
this.earth.addEventListener('ready', function() {
|
this.earth.addEventListener('ready', function() {
|
||||||
@foreach($cities as $city)
|
@foreach($cities as $city)
|
||||||
|
|||||||
Reference in New Issue
Block a user