谷歌静态地图图像不在Tizen设备上工作,但在模拟器上
Google Static Map Image not working on Tizen Device but on emulator
我正在为我的Tizen应用程序从谷歌下载静态地图图像。该代码与模拟器配合得很好,但与实际设备配合得不好。显示空白图像
我们使用的示例URL:
http://maps.googleapis.com/maps/api/staticmap?center=38.215,35.3454&zoom=13&size=450x250&markers=icon:<markerURL>|shadow:false|38.215,35.3454&sensor=true&style=feature:water|visibility:on|hue:0x0091ff|saturation:39|lightness:-4|gamma:0.84&style=feature:poi|saturation:19|lightness:-5|gamma:0.94&style=feature:road|gamma:0.83|weight:1.1&style=feature:transit|saturation:39|gamma:0.78|hue:0xffcc00|lightness:-16&style=feature:administrative|gamma:0.5&style=feature:road.highway|visibility:on|saturation:-18&style=feature:poi.park|gamma:1.22|lightness:-4|saturation:-43&style=feature:road.arterial|saturation:-49|lightness:42|gamma:0.6.jpg
请注意,密钥不与此URL一起使用。
当我转到您问题中的URL时,我看到一个"空白图像"。然而,当我将缩放级别调整为稍微缩小一点,从13降低到10时,我会看到一些地图。我想你只是放大了这些坐标,所以看到了一张完全空白的地图。
例如。http://maps.googleapis.com/maps/api/staticmap?center=38.215,35.3454&缩放=10&尺寸=450x250&marks=图标:%3MarkerURL%3E|阴影:false | 38.215,35.3454&传感器=真&style=feature:水|能见度:开|色调:0x0091ff|饱和度:39 |亮度:-4 |伽玛:0.84&style=feature:poi|饱和度:19|亮度:-5|伽玛:0.94&style=feature:road|gamma:0.83|weight:1.1&style=feature:过渡|饱和度:39|伽玛:0.78|色调:0xffcc00|亮度:-16&style=feature:管理|gamma:0.5&style=feature:道路。高速公路|能见度:开启|饱和度:-18&style=feature:poi.park|gamma:1.22|亮度:-4|饱和度:-43&style=feature:道路.动脉|饱和度:-49|亮度:42|伽玛:0.6.jpg
相关文章:
- QSqlquery prepare()和bindvalue()不工作
- 如何在c++中实现处理器调度模拟器
- 导入库可以跨dll版本工作吗
- 以螺旋方式打印矩阵的程序.(工作不好)
- 对象指针在c++中是如何工作的
- 为什么在Windows上的VS 2019和Clang 9中"size_t"在没有标题的情况下工作
- VSOMEIP-2个设备之间的通信(TCP/UDP)不工作
- 为字符串中每 N 个字符插入空格的函数没有按照我认为的方式工作?
- C++为线程工作动态地分割例程
- 为什么我的 std::ref 无法按预期工作?
- 布尔比较运算符是如何在C++中工作的
- SampleConsensusPrerejective(ext.RANSAC)是如何真正工作的
- 不确定要在我的main中放入什么才能使我的代码正常工作
- 为什么std::condition_variable notify_all的工作速度比notify_one快(对于随机请
- <<操作员在下面的行中工作
- 在用于格式4的arm模拟器中实现功能时的一个问题
- 有人能解释一下为什么下界是这样工作的吗C++的
- 询问在设计我的手臂模拟器功能表示格式1
- 谷歌静态地图图像不在Tizen设备上工作,但在模拟器上
- 三方决斗模拟器工作不正确