Apps can make designing and developing cities more fun, fast and collaborative. Giraffe comes with a number of apps built in, but we've only scratched the surface of what's possible.

To empower technical users and reduce the cost of deploying business grade custom software, we've released a new javascript SDK$^1$ . This allows (web) developers to connect their own web app to the Giraffe platform. They can leverage Giraffe authentication, hosting, geometries, layers and more to get from prototype to production faster.

There are two ways to call the same set of SDK functions - the Iframe Post-message SDK and the Console JS SDK. Both of these will rapidly expand Giraffe’s analytics capacity.

The Giraffe JS SDK is modelled around GeoJSON, because we believe simple formats like this drive automation and interesting analysis.

Available Functions


Iframe Post-message SDK

IFrame SDK Setup

Iframe SDK - Getting Started Example App

Iframe SDK - Isochrone example app with full code

Console JS SDK

$^1$ We’ve had several attempts at helping users run their own code in Giraffe. Our pub/sub API is still used by some to interact live with Grasshopper. We have several apps built by customers with our first javascript SDK running in their Giraffe workspaces. We liked the idea of something like Bit tried module federation. However, these approaches all require significant technical setup. So we’ve gone a simpler route.

Return to Giraffe Knowledge Base