Load svg of the keyboard layout
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
"typings": "^0.7.12",
|
"typings": "^0.7.12",
|
||||||
"webpack": "^1.12.14",
|
"webpack": "^1.12.14",
|
||||||
"webpack-dev-server": "^1.14.1",
|
"webpack-dev-server": "^1.14.1",
|
||||||
|
"xml-loader": "^1.1.0",
|
||||||
"yargs": "^4.2.0",
|
"yargs": "^4.2.0",
|
||||||
"zone.js": "^0.6.9"
|
"zone.js": "^0.6.9"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
import { Injectable } from 'angular2/core';
|
||||||
|
|
||||||
|
@Injectable()
|
||||||
|
export class DataProviderService {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
|
||||||
|
getBaseLayer(): any {
|
||||||
|
return require('xml!../../images/base-layer.svg').svg;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user