Skip to content

Commit

Permalink
Mobile updates
Browse files Browse the repository at this point in the history
  • Loading branch information
damylen committed Nov 4, 2015
1 parent 2d63043 commit 8389410
Show file tree
Hide file tree
Showing 4 changed files with 905 additions and 3 deletions.
2 changes: 1 addition & 1 deletion csComp/directives/DataTable/DataTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module DataTable {
} catch (err) {
// named module does not exist, so create one
myModule = angular.module(moduleName, []);
}
}

/**
* Directive to display a feature's properties in a panel.
Expand Down
4 changes: 3 additions & 1 deletion csServerComp/ServerComponents/dynamic/MobileLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ module MobileLayer {
manager.deleteLayer(layerId, {}, (cb) => {
this.layer = <ApiManager.Layer>{
id: layerId,
type: "dynamicgeojson",
isDynamic: true,
typeUrl: typeUrl,
features: []
, storage: 'file'
}
manager.addUpdateLayer(this.layer, {}, (cb) => {

console.log('init layer');


});
Expand Down
2 changes: 1 addition & 1 deletion example/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ api.init(path.join(path.resolve(__dirname), "public/data/api"), () => {
],
() => {
console.log('create mobile layer');
var ml = new MobileLayer.MobileLayer(api, "mobile", "",server, messageBus, cm);
var ml = new MobileLayer.MobileLayer(api, "mobilelayer", "/api/resources/SGBO", server, messageBus, cm);
});
});

Expand Down
900 changes: 900 additions & 0 deletions result.txt

Large diffs are not rendered by default.

0 comments on commit 8389410

Please sign in to comment.