Geopolitical views playground

Fly to a disputed territory and see its borders, names and address from each country's view

View on GitHub
SDK 1.0.0

Pick a disputed territory, then a view. Its borders and names redraw, and its address follows.

  • geopoliticalView in the global configuration reaches the map and every service call, so the map and the address panel never disagree.
  • setGeopoliticalView reloads the visible tiles in place and leaves the camera and style untouched.
  • geopoliticalViews lists every view, so the dropdown is built from it. An API that does not serve a view keeps its own default.
  • servesGeopoliticalView tells whether the reverse geocoding request carried the view, so the panel labels each address with the view it was looked up in.

Related examples