Skip to content

Instantly share code, notes, and snippets.

@andybak
Created June 21, 2019 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andybak/48245d988832c60328d729e4c95db8db to your computer and use it in GitHub Desktop.
Save andybak/48245d988832c60328d729e4c95db8db to your computer and use it in GitHub Desktop.
var parameters = new Tile.Parameters();
parameters.Fs = MapboxAccess.Instance;
var tileId = Conversions.LatitudeLongitudeToTileId(_lat, _lng, _zoom);
parameters.Id = tileId.Canonical;
// What do I do instead of this?
//parameters.MapId = "mapbox.mapbox-terrain-v2";
var vectorTile = new VectorTile();
vectorTile.Initialize(parameters, () => Callback(0, 0));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment