- Catalina
- Big Sur
- Monterey
- Ventura
- Sonoma
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> | |
<div class="map_container" v-show="googleLoaded"> | |
<div id="map"></div> | |
<input type="text" class="controls" id="pac-input"/> | |
</div> | |
<!-- <button id="btnLoad" v-show="!googleLoaded" class="btn btn-primary" v-on:click="loadMap">Load map</button> --> | |
<p v-show="!googleLoaded">Loading map...</p> | |
</div> | |
</template> |
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
function get(obj, path, def) { | |
var fullPath = path | |
.replace(/\[/g, '.') | |
.replace(/]/g, '') | |
.split('.') | |
.filter(Boolean); | |
return fullPath.every(everyFunc) ? obj : def; | |
function everyFunc(step) { |