BearPanther.com

BearPanther.com

Making the web a better place


CategoryDojo

ArcGIS Online

Featured

Simple editing using an ArcGIS Online web map

Posted byuserpanther on April 8th, 2013.

This post will describe simple editing using the Esri JavaScript API and an ArcGIS Online web map. sourcecode view it live There are plenty of samples  covering how to edit using the Esri JavaScript API. Where I find the documentation runs short is using the samples with a web map authored in ArcGIS Online. Lucky for […]

Blog

Featured

Crossfit Regions – ArcGIS web map style.

Posted byuserpanther on April 11th, 2012.

CrossFit Regions – On an ArcGIS online map. This was an excuse to try out a lot of different things. Most notably an excuse to use an ArcGIS.com web map in a “real” application. Esri has the basic viewer with a lot of sample code on how to hook into the map but reading and doing are […]

Blog

Featured

Close a Map’s Info Window with the Escape Key

Posted byuserbear on March 12th, 2012.

One thing I find myself including in more and more apps is the ability to close a map‘s info window when the escape key is pressed. I included this in instamap as well as the MLB layer examples (web mercator and albers). The code to make this happen is straight forward: dojo.connect(map, "onKeyDown", function (evt){ […]

Blog

Featured

Add button to Esri’s default editing widget

Posted byuserpanther on March 8th, 2012.

This is a very quick post on adding a button to the default editor widget. This is straightforward after you know what you are looking for. AKA use firebug or chrome dev tools. There will not be a bunch of code and technically the button will not do anything but the idea is is to […]

Blog

Featured

Extend the esri JavaScript BasicViewer

Posted byuserpanther on March 8th, 2012.

Esri was kind enough to put out the BasicViewer for working with ArcGIS online web application. Although this may or not be designed as a starting point for developers it might be a time saver depending on your project. I believe the true intention was that it is just another view for your online application. […]

Blog

Featured

Horizontal scrolling of a dijit.layout.ContentPane

Posted byuserbear on February 7th, 2012.

Welcome to part four of a five part series on bearpanther’s instamap. On the agenda today: horizontal scrolling of content in a dijit content pane. “WTF?”, you might be saying to yourself. Well, to put it another way, this post will talk about the ins and outs that make up the horizontally scrolling footer that […]

Blog

Featured

Using JSONP APIs

Posted byuserbear on February 3rd, 2012.

Everybody loves JSON. (No, I don’t have any links to back that up.) And for good reason– browsers are fluent in it, it’s easy to generate, easy to parse and lightweight enough to make it the ideal way to communicate with web services. JSONP (the P is for padding) is a well known technique to […]

Blog

Featured

Building a simple basemap switcher

Posted byuserbear on February 1st, 2012.

The ArcGIS API for JavaScript includes a basemap gallery widget. So why have I titled this post “Building a simple basemap switcher”? As great as the basemap gallery widget is, I wanted something a bit lighter for my instagram app. The idea is a well-established one:  provide a simple UI for toggling basemap layers. I […]

Blog

Featured

Using dojo classes

Posted byuserbear on January 30th, 2012.

This is part one in a … five? Let’s go with five. Five-part series wherein I talk about how I built a simple app that uses the Instagram API. In this post, I’m going to focus on the classes I used to build the app. There are only two:  bearpanther.InstagramSearch and bearpanther.BingGeocode. Hopefully the name […]

Blog

Featured

Putting Instagram on a map

Posted byuserbear on January 26th, 2012.

You know Instragram, right? Not only is the app fantastic, but they also have a pretty kick-ass API. It’s read-only but that’s all you need to start building an app with it. I spent a little time this past weekend putting together a simple single-page web app to display photos from Instagram based on a […]