Migration Guide - Map SDK

Version 2.0

🚧

Deprecation notice:

We will be phasing out v1.x of the libraries in favor of the new ones, so we recommend you upgrade as soon as possible. There are no plans to make further updates to these older versions of the libraries. The final sunset will happen no earlier than September 30th, 2024. For any additional help, you can reach us via our Studio Community Slack channel.

Upgrading from 1.x to 2.x

For Python:

  • install the new version of the library from PyPI (pip install foursquare.map-sdk)
  • update all your imports from unfolded.map_sdk.* to foursquare.map_sdk.*
  • provide the api_key parameter in your create_map() calls (learn more about API Keys in Authentication)

For Javascript/Typescript:

  • install the new version of the library from npm (npm install @foursquare/map-sdk)
  • update all your imports from @unfolded/map-sdk to @foursquare/map-sdk
  • provide the apiKey parameter in your createMap() calls (learn more about API Keys in Authentication)