Category: javascript

Custom bookmarks in your ArcGIS JS API apps

The recent release of the ArcGIS API for JavaScript introduced the Bookmarks widget to support Bookmarks you can create in WebMaps. It’s pretty cool, simple but elegant little widget. Not to mention the fact that if you have users creating bookmarks in WebMaps, it’s kind of cool to expose that to them in a custom…


Build apps with the @arcgis/cli

A cool new tool was recently announced to help you build apps with the ArcGIS API for JavaScript. The @arcgis/cli. It’s fairly easy to set up: npm install -g @arcgis/cli Now you can start using it to quickly scaffold new applications using the ArcGIS API for JavaScript. arcgis create awesome-app it seems like just about…


Put ArcGIS JS API into your webpack

Recently, it was announced that there is a new @arcgis/webpack-plugin. The plugin makes it easier for you to integrate the ArcGIS API for JavaScript into your modern developer workflow. Basically, what it does is use a lightweight AMD loader during the webpack build process to feed the modules in the ArcGIS API for JavaScript into…


It’s that time of year!

First of all, sorry. It’s been quiet around here, but for good reason. I got shit to do. I know, that’s no excuse. You should see how much work some of the others around here are doing. Now, they really got shit to do. First off, I did a lot of work recently to put…


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…