Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from "vue"; | |
import App from "./App.vue"; | |
import router from "./router"; | |
import store from "./store"; | |
//Arcgis javascript api | |
import { loadScript } from 'esri-loader'; | |
Vue.config.productionTip = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div ref="map" class="map"> | |
</div> | |
</template> | |
<script> | |
/* eslint-disable */ | |
import { | |
loadModules | |
} from 'esri-loader'; | |
export default { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="viewDiv" class="balt-theme"></div> | |
</template> | |
<script> | |
/* eslint-disable */ | |
import { loadModules } from 'esri-loader'; | |
export default { | |
mounted() { | |
this.loadMap(); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<div id="map"></div> | |
</div> | |
</template> | |
<script> | |
/* eslint-disable */ | |
// import openlayer css for style | |
import "ol/ol.css"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
defaultConfig { | |
minSdkVersion 17 | |
generatedDensities = [] | |
multiDexEnabled true | |
} | |
aaptOptions { | |
additionalParameters "--no-version-vectors" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"using_ios": true, | |
"using_android": true, | |
"analytics": true, | |
"firestore": true, | |
"realtimedb": true, | |
"authentication": true, | |
"remote_config": false, | |
"performance_monitoring": false, | |
"external_push_client_only": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<Page> | |
<ActionBar title="Firebase chat" /> | |
<StackLayout> | |
<ScrollView height="90%" width="100%"> | |
<ListView for="msg in messages" class="message-item"> | |
<v-template> | |
<GridLayout columns="*" rows="auto" class="msg"> | |
<StackLayout | |
:class="filter(msg.from)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Your web app's Firebase configuration | |
import firebase from 'firebase' | |
const firebaseConfig = { | |
apiKey: '...', | |
authDomain: '...', | |
databaseURL: '...', | |
projectId: '...', | |
storageBucket: '...', | |
messagingSenderId: '...', | |
appId: '...', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
const moment = require('moment-timezone') | |
// filter date | |
Vue.filter('formatUnix', function (value) { | |
if (value) { | |
return moment | |
.tz(value * 1000, 'Asia/Ho_Chi_Minh') | |
.format('DD/MM/YYYY hh:mm:ss') | |
} | |
}) |
OlderNewer