Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

3D Indoor Floor Map - Mapbox GL JS Example

  • This gist contains the geoJSON data for 3D Indoor Map example on the Mapbox GL JS docs
  • Each GeoJSON feature has a color, height, and base_height property. These property values are used with the identity function type to style the GL JS 3D indoor map example.
  • Want to create your own 3D indoor map data? Create features with the Mapbox Dataset Editor.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This comment has been minimized.

Copy link

donBigote commented Oct 29, 2016

Did you create this geojson with the Dataset Editor or did you use another source and tool to create the geojson?


This comment has been minimized.

Copy link
Owner Author

ryanbaumann commented Jan 15, 2017

@donBigote yes, I used the Mapbox Dataset Editor to create these geojson polygons.


This comment has been minimized.

Copy link

annette74 commented Sep 10, 2018

Hello I have downloaded the 3D Indoor Mapbox html file on my computer. :
I would like to replace the geojson location by a local geojson location (on my computer to run it "locally")
'data': ''
I have put a local path 'data': 'file:///C:/GEOJSON/indoor-3d-map.geojson' but it doesn't work.
(When it will be ok I have to adapt the html file to my local project)
Thanks for your help.


This comment has been minimized.

Copy link

alvpickmans commented Dec 14, 2018

Dataset Editor link is broken, returns 404.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.