Note

This is a community plugin, an external project maintained by its respective author. Community plugins are not part of FiftyOne core and may change independently. Please review each pluginโ€™s documentation and license before use.

GitHub Repo

Plotly Map Panel#

An example map panel using PlotlyView.

This example demonstrates mapping functionality built on PlotlyView as an alternative to fiftyoneโ€™s built-in Map Panel that relies on Mapbox.

Screenshot 2024-11-13 at 12 11 13โ€ฏAM Map data from [OpenStreetMap](http://openstreetmap.org/copyright)

Installation#

fiftyone plugins download https://github.com/allenleetc/plotly-map-panel

Refer to the main README for more information about managing downloaded plugins and developing plugins locally.

Usage#

Install fiftyone and then run the following code to create a test dataset.

import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset('https://github.com/allenleetc/world-airports',
                               dataset_name='world-airports',
                               persistent=True)
                               
session = fo.launch_app(dataset,auto=False)
  1. Press the + button next to the โ€œSamplesโ€ tab

  2. Select the Plotly Map panel

  3. Select dataset fields in the pulldown menus and explore the dataset!

Todo#

  • Optionally disable dynamic colorscale adjustment based on view selection

  • Select geo scope based on data encountered

  • Use background layers

  • Experiment with polygon drawing

  • (Maybe) extend marker slider to larger markers