Skip to content

Instantly share code, notes, and snippets.

Avatar

john gravois jgravois

View GitHub Profile
@jgravois
jgravois / hub_v3_search_api_ref.md
Created Feb 5, 2019
Hub v3 Search API doc port (February 5th, 2019)
View hub_v3_search_api_ref.md
View index.html
<html>
<head>
<title>Minutes Per Mile</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="Microsoft Theme" content="hw 010, default">
<meta name="Microsoft Border" content="t">
</head>
@jgravois
jgravois / aphorisms.md
Last active Apr 10, 2019
Questionable career advice
View aphorisms.md
@jgravois
jgravois / .block
Last active Mar 2, 2021
Esri OSM vector tiles in mapbox-gl-js
View .block
license: apache-2.0
@jgravois
jgravois / default_variables.json
Last active Jun 29, 2018
Economic Development app variables
View default_variables.json
{
"topTapestrySegmentMedianAgeEV": "",
"topTapestrySegmentMedianIncomeEV": "TapestryNEW.TOP1INCOME",
"topTapestrySegmentNameEV": "TapestryNEW.TOP1NAME",
"topTapestrySegmentPercentEV": "TapestryNEW.TOP1PRC",
"topTapestrySegmentTypeEV": "TapestryNEW.TOP1TYPE",
"topTapestrySegmentNumberEV": "TapestryNEW.TOP1NUM",
"secondTapestrySegmentMedianAgeEV": "TapestryNEW.TOP2AGE",
"secondTapestrySegmentMedianIncomeEV": "TapestryNEW.TOP2INCOME",
"secondTapestrySegmentNameEV": "TapestryNEW.TOP2NAME",
@jgravois
jgravois / index.html
Created Jan 8, 2018
ExtractData widget sample
View index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>Hotspot Analysis</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.23/dijit/themes/claro/claro.css" />
<link rel="stylesheet" href="https://js.arcgis.com/3.23/esri/css/esri.css" />
<style>
@jgravois
jgravois / .block
Last active Jun 6, 2020
smooth animation in JSAPI 4.x
View .block
license: apache-2.0
@jgravois
jgravois / links.md
Last active Jan 15, 2018
tucson hackerlab (4/13/2017) http://bit.ly/2orLbbq
View links.md
@jgravois
jgravois / geocode.js
Created Mar 1, 2017
PubNub / Esri geocoding block
View geocode.js
// Test Payload
{
"text": "Disneyland"
}
// block
export default (request) => {
let xhr = require('xhr');
let query = require('codec/query_string');