Archive for the ‘JavaScript’ Category

Geocortex Viewer for HTML5 1.2 Now Available

February 14th, 2013 by Drew Millen

Product Announcement

The latest release of the Geocortex Viewer for HTML5 features functional enhancements and usability improvements to support mobile use cases and workflows. This release includes:

  • A more user-friendly interface for configuring viewers in Geocortex Essentials Manager, including an “instant preview” function for smartphones and tablets
  • Full support for viewing non-spatial data configured with data links
  • Programmatic commands that support feature highlighting and markup
  • Support for Esri’s ArcGIS API for JavaScript version 3.3
  • Dozens of user experience enhancements
  • New, more efficient offline and synchronization processes:
    • Easily provision an application for offline use
    • Launch the viewer when offline or online
    • A suite of feature editing tools that work online or offline
    • Complete back-office synchronization of data

Please note that the use of tiled basemaps or native device capabilities will require the deployment of a native (i.e., device-specific) application. In the coming months, Latitude Geographics will release the Geocortex App to Apple’s App Store and Google Play, which will enable the Geocortex Viewer for HTML5 to work with larger locally stored basemaps and integrate with device hardware such as a camera.

The Geocortex Viewer for HTML5 1.2 provides a further enriched foundation for Latitude Geographics to accelerate the release of new functionality moving forward; expect numerous feature additions in the months to come.

Please consult the release notes for more detailed information regarding this release. The release may be downloaded by Geocortex licensees with an active maintenance agreement from the Geocortex Support Center. Video recordings describing new features will be available for viewing in the Geocortex Support Center by the end of February. If your account is handled by an authorized Geocortex Reseller, please contact your local representative for access to installers and documentation.

Geocortex Essentials Client APIs 1.1 Released

January 22nd, 2010 by Kevin Rintoul

We are pleased to announce that we have released version 1.1 of the  Geocortex Essentials Client APIs. This release complements the recent release of Geocortex Essentials version 2.2.  We have also updated the Geocortex Resource Center with a lot of great new content for this release. Below is an example of the new Print Template with Markup feature that many of you have been asking for.

We are excited about this release and look forward to hearing about your implementations. For those that wish to use this release right away, we would encourage you to check out the expanded samples section in the Client APIs Resource Center.

Build Your JSAPI Applications for Performance

May 12th, 2009 by John Fletcher

When you begin creating a mapping application using the ESRI JavaScript API, there’s a good chance that you will choose Dojo as your framework, since the ESRI JS API is built on top of Dojo anyhow. Whether you begin with the Sample Viewer from ArcScripts or decide to roll your own solution, you will quickly encounter dependencies on Dojo files which are not “baked in” to the core ESRI JS API build.

How Dojo handles dependencies beyond those satisfied in the original JS imports is a topic for another post, but suffice to say that it creates a blizzard of HTTP requests that slows down the loading of an application. What we want to do is use Dojo’s build system to concoct a single (generally) JavaScript file that has all of the dependencies included by default.

This turns out to be a bit complicated for a couple of reasons:

  • the ESRI JS API already includes much of the Dojo code we need in a packaged form, and we don’t want to duplicate that code in our build.
  • Dojo cannot resolve any dependencies on ESRI core modules, since we don’t have access to the JS source.

To tackle the first challenge, we can use the concept of discardable layers in our Dojo build profile. Our first layer (compiled JavaScript file) in the Dojo build is going to be exclusively comprised of Dojo modules that are already included in the core ESRI JS API build. We add this first layer as a dependency of our main layer to ensure that we don’t duplicate code. This unfortunately requires a bunch of manual CRTL-F work inside the ESRI JS API to actually find out what they’ve included in their build, but it’s not all that bad. It would be nice to see their Dojo build profile…

The second problem is resolved in a way that seems non-intuitive at first, but makes sense when you think about how Dojo loads required modules. We need to REMOVE all Dojo.require statements that reference core ESRI JS API classes. Commenting them out is nice since it preserves the original Dojo.require’s as code documentation. You might think this would cause the application to stop working entirely, but that’s not the case. When working with the ESRI JS API, all of the core modules are imported into your page with the initial script import, so there’s nothing Dojo needs to do when you specify your require. It’s generally still good practice for a few different reasons to continue using Dojo.require statements, but the core ESRI requires will prevent your build from running.

Have a look at the integration of Geocortex Essentials 2.0 with the JavaScript sample viewer on resources.geocortex.com if you want to see the pre-built application in action. I’ve left out many gory details, so feel free to contact me if you’d like to get some more detailed info, or even a sample Dojo build profile.

Geocortex Essentials 2.0 and ESRI’s Developer APIs

October 16th, 2008 by David Stevenson

UPDATE: This message was originally posted for our customers on the Geocortex Support Center on October 6, 2008 and is posted here for folks who don’t have access to the Geocortex Support Center. Also, here’s the link to the Geocortex Essentials: The Road Ahead webinar.

I’m posting to provide some insight into current and upcoming Geocortex Essentials development, as it relates to ESRI’s new and emerging developer APIs.

It is clear to us that these APIs will have an integral role to play (alongside Web ADF) for many customers in the years to come and so we are actively engineering Geocortex Essentials 2.0 to encompass these developer technologies.

Agnostic support and integration for various ESRI developer technologies (as they come into existence) has always been part of the long-term vision for Geocortex Essentials and so our work has always been designed to be exposed in an agnostic way at some point in the future. With the intense demand for Web ADF features and the absence of other APIs, Geocortex Essentials development has been focused on the Web ADF realm for the 1.x product generation, while ensuring we we could make the core elements generic once warranted. And that’s what we’re doing right now.

We’re currently working on a Geocortex Essentials REST API to initially expose search, reporting, data linking and printing via a RESTful interface. This functionality can then be leveraged by either Javascript or Flex API applications—or any other application that connects RESTfully to our API. We decided to expose these particular core elements because they’re needed at the heart of many real-world ArcGIS Server implementations. Let us know if other features are a priority to your organization.

Before long, we’ll also get behind one or more lightweight viewer APIs by developing software to streamline and enhance the development and management of applications built on them. While we’re working with each and may provide sample Javascript and Flex API template applications on which to base development, we have yet to “pick a pony” regarding technological emphasis on the lightweight viewer/application development side. We don’t think all the information is available yet to ensure the correct decision, and we’re confident our customers won’t want us to risk going down the wrong path by making a premature choice.

We’re anticipating a Q1 2009 release of version 2.0. Finally, because Geocortex Essentials is about success with ArcGIS Server, everything we’re talking about here will be delivered to you as part of regular product updates.