Category: javascript

esri-rxjs

Using RxJS with the ArcGIS API for JavaScript

A while back I did a blog post on using RxJS with the ArcGIS API for JavaScript. I’ve also been pretty interested in using Flux architecture to build my apps, even non-React apps. Recently I was reading this blog post that discusses the authors frustrations with Flux and his move to using RxJS instead. So…




esri dojo

Modular ArcGIS JavaScript apps

I recently had a conversation with someone about building modular JavaScript applications and how you communicate between them. These are the kinds of problems that React Flux tries to answer and I talked about how that architecture could be applied with Dojo. Let’s have a chat Classically Dojo would handle this through via the Evented…




esri typescript

Trying to learn TypeScript

So I’m trying to learn TypeScript. TypeScript is not necessarily difficult to learn, I think most of my stumbling blocks have to do with working with definition files. Sometimes they work, sometimes they don’t and sometimes I just can’t get my vim or Grunt build scripts to understand what I’m doing. Not a love story…




cateyes

Fun with EsriJS Geometry Engine

The release of version 3.13 of the ArcGIS API for JavaScript introduced the beta version of the Geometry Engine. Since this is still considered beta, there are probably some missing features, maybe a few bugs here and there, so use with caution. What the hell is it? The Geometry Engine is analogous to Turf. I’m…




dojo flux

Dojo Flux (lite)

React has blown up in popularity and has become a favorite among many JavaScripters. I am admittedly a fan and have even tried to integrate it with some of my Dojo and ArcGIS API for JavaScript projects. One of the neat things that has also come out of Reacts popularity is the Flux application architecture…




esrijs-ramda

EsriJS with Ramda

When you start looking into what the latest JavaScript craze is, chances are you will end up at TodoMVC and twirl your handlebar mustache or stroke your beard. It’s a decent enough sample that developers can use to see how a framework functions. Not everyone may agree with it, but as a quick snapshot of…




arcgis api for javascript edits

Quick Tip – Simple Edits for ArcGIS API for JavaScript

Do you do some basic editing in your ArcGIS API for JavaScript? Do you find yourself writing the same code over and over again? Yeah me too. I was doing this enough that I had decided to just turn basic feature editing functions into a widget. This doesn’t really concern itself with attachments or attribute…




arcgis cartodb

CartoDB with ArcGIS API for JavaScript

When it comes to storing spatial data in the cloud, you have a handul of options. If you’re using Esri tech, there’s ArcGIS Online. Or maybe you’re rolling your own PostGIS on AWS or OpenShift or elsewhere. If you’re a fan of PostGIS, I’d highly recommend CartoDB. CartoDB is great for storing data in a…




esrijs dojo

Video – Intro to custom ArcGIS API for JavaScript widgets

In this video I give a brief overview of the Dijit lifecycle and how you might use it to build a custom widget for the ArcGIS API for JavaScript.




turfjs

Exploring new Turf

TurfJS is a relatively new library that allows you to do spatial analysis in the browser. Turf is great because it works with GeoJSON. This means it’s suited very well to work with Leaflet. So well that it’s even included as a plugin for Mapbox now. I’ve used some of Turfs capabilities in a couple…