Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# depends on imagemagick and gifsicle | |
FONT_PATH=./fonts/Lato-Bold.ttf | |
contains () { | |
local e | |
for e in "${@:2}"; do [[ "$e" == "$1" ]] && return 0; done | |
return 1 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Previous/Next Extent</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="//js.arcgis.com/3.21/esri/css/esri.css"> | |
<style> | |
html, body { | |
margin: 0; padding: 0; | |
width: 100%; height: 100%; |
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
(function (global) { | |
'use strict'; | |
var eventUtils = { | |
debounce: function (fn, delay) { | |
var timer = null; | |
return function () { | |
var context = this, args = arguments; | |
clearTimeout(timer); | |
timer = setTimeout(function () { |
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
MAVEN_OPTS="-Djavax.net.ssl.keyStore=<YOU KEYSTORE FILE> \ | |
-Djavax.net.ssl.keyStorePassword=<YOUR KEYSTORE PASSWORD> \ | |
-Djavax.net.ssl.keyStoreType=JKS \ | |
-Djavax.net.ssl.trustStore=<YOUR TRUSTSTORE FILE> \ | |
-Djavax.net.ssl.trustStorePassword=<YOUR TRUSTSTORE PASSWORD> \ | |
-Djavax.net.ssl.trustStoreType=JKS" |
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
require([ | |
'dojo/_base/lang', | |
'esri/layers/ArcGISTiledMapServiceLayer', | |
'esri/map', | |
'dojo/domReady!' | |
], function( | |
lang, | |
ArcGISTiledMapServiceLayer, | |
Map | |
) { |
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
var parentMap = this.map; | |
require([ | |
'dojo/_base/window', | |
'dojo/on', | |
'dojo/dom-construct', | |
'esri/map', | |
'esri/layers/ArcGISDynamicMapServiceLayer', | |
'esri/layers/ArcGISTiledMapServiceLayer', | |
'esri/layers/GraphicsLayer' |
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
var dojoConfig = { | |
packages: [ | |
{ name: 'd3', location: '../../../d3', main: 'd3' } | |
{ name: 'c3', location: '../../../c3', main: 'c3' } | |
] | |
}; |
NewerOlder