This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///<reference path="../../ref.d.ts"/> | |
interface IStyleLayerDescriptorFilter { | |
type?: string; | |
property?: string; | |
value?: string; | |
filters?: Array<IStyleLayerDescriptorFilter>; | |
} | |
// TODO: requires id to be optional for validation to succeed..report as TS defect? | |
interface IStyledLayerDescriptorRule { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface IGrassTestStyledLayerDescriptor { | |
version: string; | |
namedLayers: { | |
Grass: { | |
userStyles: Array<{ | |
defaultsPerSymbolizer: boolean; | |
rules: Array<{ | |
symbolizer: { | |
Polygon: { | |
fill: boolean; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(["dojo/dom-construct", "dijit/registry"], function (domConstruct, registry) { | |
return function (myHub) { | |
myHub.client.reload = function (mid) { | |
var mods = mid.split(","); | |
// call unload on old modules | |
require(mods, function () { | |
var factories = Array.prototype.slice.apply(arguments); | |
var state = mods.map(function (mid, i) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Dojo AMD Google Maps Loader Plugin | |
*/ | |
define([ | |
"dojo/_base/kernel", | |
"dojo/topic" | |
], function (kernel, topic) { | |
var w = kernel.global; | |
var cb ="_googleApiLoadCallback"; |
NewerOlder