Skip to content

Instantly share code, notes, and snippets.

View dmcd's full-sized avatar

David McDonald dmcd

  • Cogent
  • Melbourne
View GitHub Profile
### Keybase proof
I hereby claim:
* I am dmcd on github.
* I am dave_mcd (https://keybase.io/dave_mcd) on keybase.
* I have a public key ASBjNeraqSg1s6UoxJH4r_SSztoJszKPiqrVjcbItU6JvQo
To claim this, I am signing this object:
@dmcd
dmcd / Map.vue
Created May 18, 2018 03:51
Openlayers plugin example for Nuxt.js
<script>
import Vue from 'vue'
const ol = Vue.ol
const methods = {
createMap () {
map = new ol.Map({
target: 'map',
interactions: interactions,
loadTilesWhileInteracting: true,