Category: javascript

Quick Tip – Move a Graphic

A quick tip today! Because someone asked me how to do this and I was like, I think I can do that. Scenario: You’re working deep cover overseas. You’re cornered in an alley and have no clear eyeshot of the bad guys that are looking for you. But, you have access to a small drone…


Save your Viewpoint for another day!

As developers, sometimes we’re asked to do something weird. Ok, maybe weird isn’t the right term, more like unusual or something you haven’t done before. This could range from things like make your buttons change border radius on hover or some odd sliders and drawers so your app can look all snazzy, because hey, you’re…


I wrote another book

A while ago, I had started a book on the ArcGIS API 4 for JavaScript and self-published it via Leanpub. I’m happy to say that the book was recently picked up by APress and is avaialble directly from them! By the way, APress is running a 50% discount right now as well! You can also…


Add some action to your Map apps!

I’ve been experimenting with ways to add small, focused, utility actions to my maps. This could be something like clicking on the map and doing a buffer analysis, or double-click and query some data, and so on, I think you get the idea. I’ve called these behaviors, I’ve seen them referred to as Map Actions…


Animate a drawer in ArcGIS JSAPI 4

Every now and then I come across some odd UI use case where I want to do something I’m not sure how to do. This pretty much happens to me all the time. A while ago, I wanted to add the Legend for my ArcGIS API 4 for JS app into a sidebar, but I…


Interactive Clusters with ArcGIS API for JavaScript

The latest release of ArcGIS Online has released support for clusters of Feature Services in your maps. Currently, this is only supported in 3.x, but 4.x support should be coming soon. You can read couple of blogs posts about it here and here. There are some samples in the API here. Clustering makes for some…


Hello Intern 4

I’ve talked about using Intern before for testing your ArcGIS API for JavaScript applications. Well, there is a new version of Intern out now that I’ve been integrating into my development lately and it was officially released last week. It simplifies some of the configuration for running tests and makes it much easier to run…


Dojo 2 and Web Components

I’ve talked before about how I’m excited about the upcoming Dojo 2 official release. They’ve added some nice updates to the tutorials pages, which are really cool! One of the features I’m excited about revolves around the dojo-cli, which adds new scaffolding and build tools. I recommend the tutorials to get familar with those, but…


Popups, UI, and HAX!

The recent videos have covered an array of topics! Popups I’ve had some interests about working with Popups in the ArcGIS API for JavaScript, so you can check out these videos! The Popup is probably the most widely used widget in applications. It’s the first point of entry to get details about data displayed on…


Yet another application ArcGIS JSAPI starter kit

I know, I know. Lately, I’ve been working on this little starter kit in my spare time. I started it because I’ve gotten a few questions about how to build an app with the ArcGIS API 4 for JavaScript. I’ve used this application in some demos, and I’ve gotten requests to share it. So I…