tomTomMap.addSource() 中的“归因”键是什么?

问题描述

我一直在寻找如何将 openweathermap 图层放到 tom-tom 地图上,我找到了一个解决方案:

if (!-e $request_filename) {
    rewrite ^.*$ /index.php last;
}

location / {
try_files $uri $uri/ /index.php?q=$uri$args;
}

location ~* \.php$ {
if ($uri !~ "^/uploads/") {
    fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}

我不知道这个“归因”是什么,因此我不断得到 你能帮我找出它是什么吗?

tomTomMap.addSource('owm_source',{
    type: 'raster',tiles: [
      'https://tile.openweathermap.org/map/clouds_new/{1}/{51}/{20}.png?{app_id}'
    ],tileSize: 256,minZoom: 0,maxZoom: 12,attribution: openWeatherMapAttribution
  });

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)