Decide what to do with static map previews when user reaches its limits
See original GitHub issueAs we discussed, we decided to better render the Limits “error” tiles in the Frontend side instead of letting them come from the Maps API. That’s great, but it opens a problem for the Static Maps API. For example, in the dashboard we render the maps previews, and if there is a problem we could render any error tile and done. But what about public pages? We just render an png, for example:
From:
https://team.carto.com/u/xavijam/builder/93f4baea-9ec3-11e6-b132-0ef24382571b/embed
<meta property="og:image" content="https://cartocdn-ashbu.global.ssl.fastly.net/xavijam/api/v1/map/static/named/tpl_93f4baea_9ec3_11e6_b132_0ef24382571b/1200/630.png">
Places where it is being used:
- Dashboard map previews.
- Public pages, where it is being requested for generating link previews.
- Export image.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Google Static Map API - Exceed usage limit detection
According to the documentation requesting a map from Google (via the Static Map API) when you have exceeded the usage limit displays an...
Read more >Get Started | Maps Static API - Google Developers
When developing for mobile devices, you can use the API's scale parameter to return higher-resolution map images that solve the issues above. The...
Read more >Static Images | API - Mapbox docs
The Mapbox Static Images API returns static images generated from vector map styles.
Read more >Get a Static Map - Bing Maps | Microsoft Learn
Static map metadata: To get the size and center point of the image and the locations and size of the pushpins on the...
Read more >10 tools to create interactive maps - Shorthand
You can also use their Route and Clip features to draw along roads and boundaries. You can also add photos, links, and videos...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since we’re going back to the backend rendering the limit error tiles I don’t think this is needed anymore so closing it!
@CartoDB/design any concerns for the dashboard previews? The other two cases are already covered, right?