Documentation

Raster API Endpoints and Resources

Pro Subscription Required

For Custom Software and Advanced Users


Not sure how to implement these endpoints? Visit our Mapping Walkthrough page for help.

Attribution

Our maps are built with the help of thousands of public and private sources and open projects. Displaying the following links on your map satisfies their required attributions.

© <a href="https://www.slpy.com">Slpy</a> 
© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors

Raster Tiles

https://api.slpy.com/v1/raster/{language code}/{z}/{x}/{y}.png?key={your_api_key}
Item Description
File Type PNG
Language Code 2 character language code
Coverage World - Zoom 0-19
ZXY zoom, x, y grid
Key Api.Slpy Api Key
Tile Size
optional
ParameterDescription
{z}/{x}/{y}.png Default: 512px tile (256px @2x, overzoomed, works out-of-the-box with Leaflet)
{z}/{x}/{y}@256.png 256px tile (standard, lower resolution)
{z}/{x}/{y}@512.png 512px tile (industry standard, requires tileSize: 512 and zoomOffset: -1 in Leaflet)
Example https://api.slpy.com/v1/raster/en/4/5/6.png?key=abc123

TileJSON

https://api.slpy.com/style/tilejson.json?key={your_api_key}&lang={language code}
Item Description
File Type JSON
Standard https://github.com/mapbox/tilejson-spec/tree/v2.1.0
Example https://api.slpy.com/style/tilejson.json?lang=en&key=adc123

Aerial-Satellite

No labels or man made features

https://api.slpy.com/v1/app/aerial-imagery/{z}/{x}/{y}.png?key={your_api_key}

Basic Labels and boundaries

https://api.slpy.com/v1/app/aerial-topo/{z}/{x}/{y}.png?key={your_api_key}
Item Description
File Type PNG
Coverage World - Zoom 0-13, United States 0-17
Language English Labels Only
Example https://api.slpy.com/v1/app/aerial-topo/4/5/6.png?key=abc123

Next Steps

Customize and add features to your new map

Settings & Features

  • Common settings and Language Support.
  • Content Filtering
  • Satellite, Street Level, and other features.
  • Compatibility for older browsers.

Search & Geocoding

  • Add a search bar to your map.
  • Translate addresses to coordinates
  • Search for points of interest.

Map Design

  • Customize your maps look
  • Night Mode, Greyscale.
  • Get the Slpy Style source code.