Add most of components and prepare for V1 Release
This commit is contained in:
30
test/test-pages/test-plain-map.html
Normal file
30
test/test-pages/test-plain-map.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<head>
|
||||
<style>
|
||||
.map-container {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="test1">
|
||||
<h2>Test 1</h2>
|
||||
<gmap-map
|
||||
:center="{lat: 1.38, lng: 103.8}"
|
||||
:zoom="12"
|
||||
class="map-container"
|
||||
ref="map">
|
||||
</gmap-map>
|
||||
</div>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.0/vue.js"></script>
|
||||
<script src="../../dist/vue-google-maps.js"></script>
|
||||
|
||||
<script>
|
||||
Vue.use(VueGoogleMaps, {
|
||||
load: {
|
||||
key: 'AIzaSyDf43lPdwlF98RCBsJOFNKOkoEjkwxb5Sc',
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
Reference in New Issue
Block a user