Skip to content

Instantly share code, notes, and snippets.

😎
Hubbin it up @ Esri

Dave Bouwman dbouwman

😎
Hubbin it up @ Esri
Block or report user

Report or block dbouwman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View components.my-component.js
import Ember from 'ember';
export default Ember.Component.extend({
actions: {
toggleValue() {
this.toggleProperty('value');
},
inputChanged(value) {
if (typeof this.onchange === 'function') {
View MapServiceFeatuerLayerWithScaleHack.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="MapService Layer as Feature Layer w/ min/max scale hack" />
<title>Create a Map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/esri/css/esri.css">
<style>
@dbouwman
dbouwman / FeatureLayerScaleHack.html
Last active Jan 2, 2016 — forked from anonymous/jsbin.EXEwADO.html
How to get a feature layer with min/max scales to draw at any scale
View FeatureLayerScaleHack.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Feature Layer w/ min/max scale hack" />
<title>Create a Map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/esri/css/esri.css">
<style>
@dbouwman
dbouwman / MapServiceLayerAsFeatureLayer.html
Last active Jan 2, 2016 — forked from anonymous/jsbin.ONIBUtI.html
Example showing how to use a map service layer as a Feature Layer
View MapServiceLayerAsFeatureLayer.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="MapService Layer as Feature Layer" />
<title>Create a Map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/esri/css/esri.css">
<style>
View jsbin.aPagAYIb.css
.container{
position:absolute;
width:100%;
/*overflow:hidden; */
}
.layout {
position:absolute;
width:90%;
height:100%;
You can’t perform that action at this time.