This file contains 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
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Basemap Test</title> | |
<link rel="stylesheet" href="//js.arcgis.com/3.14/dijit/themes/claro/claro.css"> | |
<link rel="stylesheet" href="//js.arcgis.com/3.14/esri/css/esri.css"> | |
<style> | |
html,body,#map { | |
height: 100%; | |
padding: 0; | |
margin: 0; | |
} |
This file contains 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>Sample using RequireJS with ArcGIS JS API</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> | |
<meta http-equiv='content-type' content='text/html; charset=utf-8' /> | |
<meta name='viewport' content='initial-scale=1.0 maximum-scale=1.0'> | |
<link href="http://js.arcgis.com/3.13/esri/css/esri.css" rel="stylesheet"> | |
<style> | |
html, body, #map { |
This file contains 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> | |
<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>Directions Widget</title> | |
<link rel="stylesheet" | |
href="http://js.arcgis.com/3.8/js/dojo/dijit/themes/claro/claro.css"> | |
<link rel="stylesheet" |
This file contains 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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Web Map</title> | |
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/esri/css/esri.css"> | |
<style> | |
html,body,#map { | |
height: 100%; |
This file contains 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
//The featureLayer should be at a global scope | |
function onVote(graphic) { | |
var votes = graphic.Votes; | |
votes = votes + 1; | |
var attributes = graphic.attributes; | |
attributes.Votes = votes; | |
var newGraphic = new Graphic(graphic.geometry, graphic.symbol, attributes); | |
featureLayer.applyEdits([graphic],null,null); | |
} |
This file contains 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
<html> | |
<head><title>Event Test</title> | |
<script> | |
function clickHandle(arg){ | |
alert("test event!"); | |
} | |
</script> | |
</head> | |
<body> | |
<span id="target-id" onclick="clickHandle(this);">Click me!</> |
This file contains 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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"> | |
<title>Make-a-token</title> | |
<link href= | |
"http://js.arcgis.com/3.6/js/dojo/dijit/themes/nihilo/nihilo.css" rel= |
This file contains 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> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> | |
<title></title> | |
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/dojo/dijit/themes/tundra/tundra.css"> | |
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/esri/css/esri.css"> | |
<style> | |
html, body { height: 100%; width: 100%; margin: 0; padding: 0; } |
This file contains 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> | |
<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>SVG PictureMarkerSymbol</title> | |
<link rel="stylesheet" type="text/css" href="//js.arcgis.com/3.9/js/esri/css/esri.css"/> | |
<style> | |
html, body, #map {padding:0; margin:0; width:100%; height:100%;} |
This file contains 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
// | |
// ViewController.m | |
// Edit | |
// | |
// Created by Doug Carroll on 7/9/14. | |
// Copyright (c) 2014 Doug Carroll. All rights reserved. | |
// | |
#import "ViewController.h" |
OlderNewer