Tag: ArcGIS API for JavaScript

Heat Up Your Webmaps

heatmap_featured

Looking to create a colorful heat-map using the ArcGIS JavaScript API? A beautiful heat-map is just a layer away using the heatmap.js library. This open source library developed by Patrick Wied uses JavaScript and HTML5 Canvas to draw ridiculously good-looking … Continue reading

Posted in Developer, Mapping, Web | Tagged , , , , , , , , , | 1 Comment

ArcGIS API for JavaScript Version 3.2 Released

Version 3.2 of the ArcGIS API for JavaScript is now available! Please refer to the What’s New in 3.2 document for the full list of features and bug fixes. Highlights include:

Continue reading

Posted in Developer | Tagged , , , | 9 Comments

ArcGIS API for JavaScript Version 3.1 Released

Version 3.1 of the ArcGIS API for JavaScript is now available! Please refer to the What’s New in 3.1 document for the full list of features and bug fixes. Highlights include:

Continue reading

Posted in Developer | Tagged , , | 9 Comments

ArcGIS API for JavaScript Version 3.0 Released

Version 3.0 of the ArcGIS API for JavaScript is now available! Please refer to the full What’s New in 3.0 document for the full list of features and bug fixes. Highlights include:

Continue reading

Posted in Developer | Tagged , , | 19 Comments

Writing Unit Tests for Your ArcGIS API for JavaScript Apps

Whether you’re working with an existing application, or you’re planning a new app, unit testing provides an efficient, dependable way to verify that your code functions as expected and ensure that your app’s features work. In a nutshell, unit testing provides an automated way to target, test and validate specific components of an application.

As with most things JavaScript, Dojo has you covered. Specifically, the Dojo Objective Harness (DOH), which ships with Dojo, provides a framework for writing and running unit tests. The ArcGIS API for JavaScript team uses DOH to run unit tests throughout the development process to check that changes made to the API do not break existing functionality, and that new features accomplish their intended purpose. For more background on DOH and to get up to speed on its capabilities, please head over to the Dojo reference guide page for DOH. Please read through that page to get a better understanding of what DOH can do for you. Continue reading

Posted in Developer, Web | Tagged , , , , , | 4 Comments

ArcGIS API for JavaScript Version 2.8 Released

Version 2.8 of the ArcGIS API for JavaScript is now available! Highlights include:

Features

  • Portal for ArcGIS API:  An API to build applications that works with content from ArcGIS Online or an ArcGIS Portal
  • Support for ArcGIS Server 10.1 editor tracking which enables automatic tracking of which user created a feature, when a feature was created, which user last updated a feature and when a feature was last updated
  • Simpler constructor signatures for esri.SpatialReference class
  • Feature Layers now fire an onQueryLimitExceeded event when a feature layer is unable to draw all expected features due to maxRecordCount restriction imposed on the server
  • The Identity Manager has new methods to serialize its state and re-hydrate later

New Samples

Refer to the full What’s New in 2.8 document for the full list of new features and bug fixes.

Posted in ArcGIS Online, Developer, Web | Tagged , , | 4 Comments

ArcGIS API for JavaScript Version 2.7 Released

Version 2.7 of the ArcGIS API for JavaScript is now available! Highlights include:

  • Superpan map navigation is now the default when using an Apple trackpad or magic mouse. More information is available in the Map Navigation conceptual help topic.
  • Feature layers in on-demand mode now automatically generalize features when map scale changes. Refer to the Feature Layer best practices conceptual help topic, specifically the Feature Generalization section, for a detailed explanation.
  • Some more ArcGIS Server 10.1 features have been added in this release for those testing the beta software:
Posted in Web | Tagged , | Leave a comment

Dev Meet Up – Back in Denver!

Andy Gup (@agup) and I, John Yaist, (@TheMapHaps) conducted a successful DevMeetUp with around 30 Denver area coders on Tuesday evening, July 26th, at Denver Water. The evening started, as so many technical ventures seem to, with technical difficulties. But alas, technical glitches have a natural tendency to lean toward resolution. How else do you explain that often the best solution to a problem arises after stepping away from it? This one ended up resolved, too, and we had a computer properly projecting onto the projection screen.

Chris Sergent (@ChrisSergent) from the City of Decatur started the evening off through Skype, presenting code techniques on how he utilized jQuery and Dojo for his Web applications. He included great tips on watching for conflicts when applying closed and open themes, whether or not explicit JavaScript calls were necessary, and inclusion of widgets.

 

The Colorado Front Range whipped up a rocking rain storm, accompanied by a serious wind to blow open the Denver Water doors, appropriately announcing that it was time for the lightning talks:

 

Rob McGovern from Cybertech presented next on using the “ArcGIS Web Part for SharePoint.” He highlighted the innovative nature of this technology by asking the audience how many had incorporated Web Parts and Sharepoint, and only one other coder had (raising their hand, hesitantly I might add, which is another reason why Dev Meet Ups are fantastic – people can hear about technology they’ve never had experience with before!). The presentation emphasized how the Web Part could incorporate Real-Time data into maps updated on-the-spot. He enlightened the audience with a workflow that demonstrated the ArcGIS Web Part in SharePoint immediately geocoding addresses integrated from flat-file data that had been imported into MS Access. He discussed the implications this had in streamlining crime searching.

 

Next, Ben Ferguson from Ferguson-Jenkins presented “Flex and ArcGIS Server”, sketching a framework he constructed around Flex for ArcGIS Server. He discussed using Adobe FlashBuilder and Pure MVC to increase the ease of customization in Flex viewers so an organization could create a viewer that represented them uniquely. No longer do all Flex viewers have to look the same.

 

Jonathon Solomon from Cassidian came on next and talked about the “Evolution of GIS in Emergency Notification Technology.” He presented a timeline walking through the progression of Emergency Notification Systems (ENS) in GIS-enabled Desktop applications from Generation 1, DOS, to Generation 2, Client-Server Technologies. The chronology continued, leading to how ENS and GIS combined during the Information Age of the Web 1.0 in web-based client server apps, to current day Web 2.0 Cloud services implementations. These technologies are allowing ENS to create smart apps based on heat maps for safest disaster locations to possible cell-tower blasts warning of impending danger. Stay tuned!

 

Paul Angelino from The Nature Conservancy concluded the lightning talks describing how to write logic that creates PDF reports from web pages once, so the programmer can concentrate on the actual Web functionality. He outlined an application architecture based on ASP.NET and the ArcGIS API for JavaScript, including the import of an HTML to PDF conversion library. This allowed him to detail the technical workflow beginning with a web client request to a server HTML processing stage to the ultimate goal of the server using cached HTML to write a PDF output report. VOILA! The site visitor has PDF output; onto the cool web code we can focus!

Posted in Developer | Tagged , , , , | Leave a comment