Change color of map, change size of map on mobile, add favicon
This commit is contained in:
@@ -53,15 +53,16 @@ const itemCode = ref(null);
|
||||
const googlemapbox = ref(null);
|
||||
const googlemapchart = ref(null);
|
||||
|
||||
const gChartWidth = computed(() => screenWidth.value > 420 ? 400 : (screenWidth.value - 12 - 5));
|
||||
const gChartHeight = computed(() => gChartWidth.value == 400 ? 250 : (screenWidth.value *65/100) - 20);
|
||||
const gChartWidth = computed(() => screenWidth.value > 420 ? 400 : (screenWidth.value - 20 - 5));
|
||||
const gChartHeight = computed(() => gChartWidth.value == 400 ? 250 : (screenWidth.value *65/100) - 28);
|
||||
console.log('GCH',screenWidth.value, screenHeight.value, gChartWidth.value,gChartHeight.value);
|
||||
|
||||
const options = {
|
||||
region: 150,
|
||||
colorAxis: {colors: ['#0000ff']},
|
||||
backgroundColor: '#81d4fa',
|
||||
datalessRegionColor: '#f8bbd0',
|
||||
datalessRegionColor: '#ffffff',
|
||||
//datalessRegionColor: '#f8bbd0',
|
||||
//defaultColor: '#f5f5f5',
|
||||
width: gChartWidth.value,
|
||||
height: gChartHeight.value,
|
||||
|
||||
Reference in New Issue
Block a user