Skip to content

defaultMapImageUrl - check for signed URLs #162

Open
@marekhvolka

Description

@marekhvolka

Please, can we add a check to the defaultMapImageUrl for the signed URLs? So when we have a signed URL for a specific block, we will use it instead of the native URL. This was the only reason I had to override the mapImageUrl method and I guess, it would be better to have this built-in (it took some time to figure it out as well)

Something like:

if (data.signed_urls && data.signed_urls[block.id]) {
  return data.signed_urls[block.id];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions