Xgenious/ docs
Products
Get support

Custom Tile Server / Mapbox Setup (Optional)

If you prefer to use a custom tile provider (such as Mapbox, Stamen, or a self-hosted tile server):

  1. Change the urlTemplate to your tile server URL format:

    TileLayer(
      urlTemplate: 'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}',
      additionalOptions: const {
        'accessToken': 'YOUR_MAPBOX_ACCESS_TOKEN',
        'id': 'mapbox/streets-v11',
      },
      userAgentPackageName: 'com.yourdomain.helpnest',
    )
    
  2. Save the file and rebuild the app.

Still stuck?
Our support team is ready to help you get set up.
Get support