(key, sourceDate)
| 41 | }, |
| 42 | |
| 43 | convertSignalProp(key, sourceDate) { |
| 44 | if (this.converters && this.converters[key]) { |
| 45 | return this.converters[key](sourceDate); |
| 46 | } else if (key === 'position') { |
| 47 | return toLngLat(sourceDate); |
| 48 | } else if (key === 'offset') { |
| 49 | return toPixel(sourceDate); |
| 50 | } else if (key === 'bounds') { |
| 51 | return toBounds(sourceDate); |
| 52 | } else { |
| 53 | return sourceDate; |
| 54 | } |
| 55 | }, |
| 56 | |
| 57 | registerEvents() { |
| 58 | if (this.$options.propsData.events) { |