-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addTileOverlay does not render tiles on the iOS or android devices #341
Comments
stevebrowndotco
changed the title
addTileOverlay
addTileOverlay does not render tiles on the iOS or android devices
Oct 28, 2020
Please try this
|
Hello, i followed this exactly getTile: (x, y, z): string => {
return 'https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}@1x.png'.replace('{z}', z + '').replace('{x}', x + '').replace('{y}', y + '');
} I'm running on a real device (android) and when I run Chrome inspect I get this error:
Error is traced to here in Map.js:
|
Are you running on Capacitor? |
Cordova |
Could you share the GitHub repository? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly)Current behavior:
On iOS or Android, if I add a tileOverlay, it does not render. Only the underlying google maps is shown. However, on cordova browser it works perfectly.
Expected behavior:
I see the tile overlay
Related code, data or error log (please format your code or data):
The text was updated successfully, but these errors were encountered: