Developers

As longtime stewards of New York City’s trees, we understand that community participation is essential in maintaining urban forests. That’s why we are providing tools to developers to help build on our Tree Map platform and data for use in New York City and around the world.

APIs and Open Data

This page will be updated soon with more details on the tools we will be providing to developers of open APIs to use to request tree and anonymized tree care activity and present it on other platforms and contexts. The codebase will be shared as an open source repository on GitHub, allowing other cities to reuse and extend the code base, and individual developers to highlight issues and suggest improvements and new features. Additionally, the data sets behind the Tree Map will soon be shared on the NYC Open Data Portal for citizen and developer use.

Open Source Credits

NYC Parks is indebted to the open source community for the variety of open source code that helped make the NYC Street Tree Map a reality.

Front End Open Source Code (Javascript)

Back End Open Source Code (PHP)

Open Source Content

Proprietary Sources

In addition to the above, the NYC Street Tree Map utilizes a styled basemap served from the Google Maps Javascript API in accordance with their Terms of Service, as well as geocoding of trees’ closest addresses when unknown and reverse geocoding of address searches using the Google Maps Geocoding API

Changelog

April 13, 2017

  • Added ability for users to report trees that are missing on the map.
  • Made various bug fixes and usability improvements.
  • February 16, 2017

  • Added ability for site administrators to communicate important messages via a sitewide banner.
  • Improved integration with tree service request system by automatically pulling in nearest address of tree to request form.
  • Added notifications to administrators about added, changed, and removed trees during daily sync with internal tree management system.
  • February 9, 2017

    December 23, 2016

    November 3, 2016

    October 14, 2016

    September 9, 2016

    July 29, 2016

    June 3, 2016

    May 3, 2016

    In our second update we focused primary on performance improvements, with additional usability updates and bug fixes. The following changes have been made in the latest version.

    March 25, 2016

    In our first update after the beta release we focused on usability updates and bug fixes. The following changes have been made in the latest version.