Skip to content

Instantly share code, notes, and snippets.

View MoebiusX's full-sized avatar

Carlos Montero MoebiusX

  • The Netherlands
View GitHub Profile
@kurtcagle
kurtcagle / Annotations.js
Created June 9, 2015 05:10
Annotations.js (or Annotations.sjs for MarkLogic) is a script for providing basic annotation services.
var Annotations = {
set: function (fn,key,expr){
if (fn.annotation == null){
fn.annotation = {};
}
fn.annotation[key]=expr;
return this;
},
get: function(fn,key){
if (fn.annotation != null){
@odoe
odoe / ClusterLayer.js
Last active September 18, 2015 22:04
Esri ClusterLayer modified with option to zoomOnClick and provide Font for TextSymbol.
define([
"dojo/_base/declare",
"dojo/_base/array",
"dojo/_base/Color",
"dojo/_base/connect",
"esri/SpatialReference",
"esri/geometry/Point",
"esri/graphic",
"esri/symbols/SimpleMarkerSymbol",