Introduction

Technical Guide

Screenshot 2025-07-28 131756

  • Follow installation steps by defaults till it's completely installed on your device.
Screenshot 2025-07-28 132356

  • To check it's installed correctly run this command in windows command prompt : ` npm --version `, it will retrieve the installed version of Node.js which is 11.2.0.
Screenshot 2025-07-28 134138

Then, install TileServer GL Globally on your machine through Node.js via this command : ` npm install -g tileserver-gl `

Screenshot 2025-07-29 231236

  • After installing TileServer GL By Node.js, You need to download all PMTiles and Styles from Object Storage to local system directory and should be in a specified folder structure.

  • Download fonts to be used as glyghs in your config.json file by cloning tileserver fonts by this command on your device : ` git clone https://github.com/osmfj/tileserver-gl-site.git `
  • Then, copy fonts folder to your folder that contains tiles and styles.

  • Rename generated fonts folder to "fonts" and rename PMTiles folder to "data" folder.
  • Also, locate sprites folder in the same directory containing data and styles and fonts folders.

  • Then, generate this Config File with this structure in the same directory which points to PMTiles and Style By Relative Paths:
Screenshot 2025-07-29 231535

  • This will be the final folder structure to serve the PMTiles and Styles correctly By TileServer GL:
Screenshot 2025-07-29 232641

  • Last step to complete configuration is to change PMTiles Source URL in Style.json to refer to the local PMTile File not the Remote URL.
Screenshot 2025-08-02 125759

  • After finishing all configuration steps, open command prompt in the same directory and serve the config file using TileServer GL By running this command : ` tileserver-gl --config config.json ` .. It will serve all PMTiles And Styles Correctly On Server.
Screenshot 2025-07-29 232744

  • You can access them by opening http://localhost:8080/ in browser .. You will see your served PMTiles and Its Style.
Screenshot 2025-07-29 233047

Screenshot 2025-07-29 233551

  • Make Sure you are disconnected to internet, then open ArcGIS Pro Software to open GL Style as vector tile by inserting GL Style URL you copied from Server in Add data from path button.
Screenshot 2025-07-29 233941

  • Click Add, Vector tile layer loaded on map successfully despite your are offline.
Screenshot 2025-07-29 234018

  • By the same method serve all other PMTiles and Styles And Add them in the same order in config file .. your will generate full offline basemap.
Screenshot 2025-07-29 235936

Conclusion

By following all the above technical steps, you have generated offline vector tiles basemap into ArcGIS Pro By serving PMTiles using TileServer GL Through Node.js On Windows System which is very amazing approach to integrate cloud native geospatial technology with Esri technology and take the best use of its advantages of accessing vector tiles into ArcGIS Pro even you are offline, also its fast rendering and its good resolution into ArcGIS Pro makes it the best choice to generate a basemap.