question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3rd Party TileProvider

See original GitHub issue

Unless I’m missing something you don’t seem to be able to add a 3rd party tile server as your basemap layer. You can add it as an overlay, but the Google tiles seem to still load underneath. So i can’t totally replace the google tiles with tiles from OSM, BING, ARC, or a custom source.

map.addTileOverlay({
        tileUrlFormat: "http://tile.openstreetmap.org/<zoom>/<x>/<y>.png"
    }, function() {
        console.log('LOAD');
    });

I tried setting this, but the Google tiles still load underneath: map.setMapTypeId(plugin.google.maps.MapTypeId.MAP_TYPE_NONE);

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
wf9a5m75commented, Apr 29, 2015
var overlay;

map.addTileOverlay({
  tileUrlFormat: 'http://URL/<zoom>/<x>/<y>.png',
  zIndex: 5,
  width: 512,
  height: 512
}, function(TileLayer) {
  overlay = TileLayer;
  overlay.remove();
});

0reactions
canadakacommented, Apr 30, 2015

nope, we last merged 3 days ago

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Tile Provider | ActiveReports 15 .NET Edition
The CustomTileProvider sample demonstrates how to create a custom tile provider using IMapTileProvider and IMapTile interface and configure it in a Map ...
Read more >
Providers - Switch2OSM
Development services and consulting. The following companies offer development services and consulting for sites wishing to switch to OpenStreetMap.
Read more >
bokeh.tile_providers — Bokeh 3.0.3 Documentation
Pre-configured tile sources for common third party tile services. get_provider, Use this function to retrieve an instance of a predefined tile provider.
Read more >
Is it compliant with the google maps terms of service to use a ...
I want to use third party tiles (from mapbox, opencyclemaps, etc) for a tile overlay on my googlemap project, but the Terms of...
Read more >
Class TileProvider - Telerik Reporting API Reference ...
[Obsolete("TileImageFormat property is no longer supported. It should be set through the tile provider UrlTemplate if available", false)] public ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found