收藏
回答

addGroundOverlay创建自定义图片图层,可以使用base64图片链接吗?


addGroundOverlay创建自定义图片图层,可以使用base64图片链接吗?图片链接作为背景可以生效,但是放到地图上就无法显示。真机调试也是无法显示。是不是图片连接格式的问题?附一个图片链接。emmm



data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAPoCAYAAABNo9TkAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAuIwAALiMBeKU/dgAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjAsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8GearUAAAYC0lEQVR4nO3XMQ0AIADAMCD4d4kOkMGOVsHezX3WHQAAAMBX63cAAAAAYNABAAAgwaADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQYdAAAAAgw6AAAABBg0AEAACDAoAMAAECAQQcAAIAAgw4AAAABBh0AAAACDDoAAAAEGHQAAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQYdAAAAAgw6AAAABBg0AEAACDAoAMAAECAQQcAAIAAgw4AAAABBh0AAAACDDoAAAAEGHQAAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQYdAAAAAgw6AAAABBg0AEAACDAoAMAAECAQQcAAIAAgw4AAAABBh0AAAACDDoAAAAEGHQAAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAA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AAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQYdAAAAAgw6AAAABBg0AEAACDAoAMAAECAQQcAAIAAgw4AAAABBh0AAAACDDoAAAAEGHQAAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQYdAAAAAgw6AAAABBg0AEAACDAoAMAAECAQQcAAIAAgw4AAAABBh0AAAACDDoAAAAEGHQAAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQYdAAAAAgw6AAAABBg0AEAACDAoAMAAECAQQcAAIAAgw4AAAABBh0AAAACDDoAAAAEGHQAAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQYdAAAAAgw6AAAABBg0AEAACDAoAMAAECAQQcAAIAAgw4AAAABBh0AAAACDDoAAAAEGHQAAAAIMOgAAAAQYNABAAAgwKADAABAgEEHAACAAIMOAAAAAQYdAAAAAgw6AAAABBh0AAAACDDoAAAAEGDQAQAAIMCgAwAAQIBBBwAAgACDDgAAAAEGHQAAAAIMOgAAAAQ8/CIJumh16mwAAAAASUVORK5CYII=

回答关注问题邀请回答
收藏

1 个回答

  • Cjiang
    Cjiang
    2022-01-07

    用网络的url正常吗?

    2022-01-07
    有用
    回复 4
    • ウルトラマンレオ
      ウルトラマンレオ
      2022-01-10
      从百度拿的图片是可以正常显示的,但是这个base64无法显示。是因为不支持base64图片吗?
      2022-01-10
      回复
    • Cjiang
      Cjiang
      2022-01-10回复ウルトラマンレオ
      应该是不支持,可以先试试看其他base64的图片试试
      2022-01-10
      回复
    • ウルトラマンレオ
      ウルトラマンレオ
      2022-01-10回复Cjiang
      应该就是不支持了。。。换了几个base64的图片都用不了。




      data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5Ojf/2wBDAQoKCg0MDRoPDxo3JR8lNzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf/wAARCACzALQDASIAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAAECBv/EABwQAQEBAQEAAwEAAAAAAAAAAAABEUExUWFxkf/EABgBAQEBAQEAAAAAAAAAAAAAAAABAgQG/8QAFhEBAQEAAAAAAAAAAAAAAAAAAAER/9oADAMBAAIRAxEAPwDpYpB52OBoRVECgAAILUBBUSgQABQABYKACLEWAoCjEVmNTjMFgYlUAPANVAA1BNC0EAVBBV4yqiiKopUAFjKwGhBRAisgVRVQxQERUEQVEBFQABBRFAVFWAHBRGoiwFwBRIsIqKC4KuMlUExmo1YyiIAUQBkDRAUIAoLFAD9UOqigogosUBYoCqgAJUq1ERkEZqAggKgCqgCiKsGp4hBQWJ+LFF8E/gDUJAGhUFABBKzVqIiVKtRKiAIBgAKABA0gq8Q9aFWIsoKGiqs+xOHoqiFA1NXflKAgIiFVmlQqKjIAAokVQE1YgqoNCkRYCgKKHAa1U8EtDSiCIUAESqCJfEWoyAAENAAAFioNAsZ1qAoaAqsmqrSVNNAE0tQA1NBahqCFAQAEAAATTQaENUFiLAaEFDTWfVQXRICidBEOgAAgBpUgKIIEVOqBoACoKKRFILoDQhoVkUQAAoAIAABQAAARUEBUUFAUAICgNYIAyAChQAEoIAAAAIAgAAoAHwoNAQCCgKP/2Q==
      2022-01-10
      回复
    • ウルトラマンレオ
      ウルトラマンレオ
      2022-06-14回复Cjiang
      您好,能帮我看一下这个问题吗https://developers.weixin.qq.com/community/develop/doc/0006aa97864cd0d4641eeaf7551400
      2022-06-14
      回复
登录 后发表内容