是否有可能定制融合表(应指向我的数据库)使用fusionTableLayer? [英] Is it possible to customize fusion table( should point my database ) to use fusionTableLayer?

本文介绍了是否有可能定制融合表(应指向我的数据库)使用fusionTableLayer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过Excel工作表值(.csv文件)创建一个Map。

I would like to create a Map by the excel sheet values (.csv files too).

通过使用 FusionTableLayer API,,我认为这是可能的。在第一步中,我们可以将excel值上传到数据库。然后我们通过数据库注释值创建一个映射。这是个好主意。这是我想要的。但有一件事是我与FusionTableLayer API的问题是谷歌的Drive已被指向融合表。这意味着我的所有商业数据都将与谷歌共享。我不想那样。

By using FusionTableLayer API, I think it is possible. At first step we could upload the excel values to the database. Then we create a map by the database annotated value. It is very good idea. This is what I wanted. But One thing is problem to me with FusionTableLayer API is google's Drive has been pointed for the fusion table. It means that all my business data will be shared with google. I don't want to be like that.

除了Google的驱动器,我的数据库必须指出。从我的数据库中,我想创建一个FusionTableLayer API的地图。我一直在通过互联网搜索,我不觉得这是可能的。但我相信这是可能的。请狡猾我指定的方式来触发它?

Instead of Google's drive My database has to be pointed out. From my database I would like to create a map with FusionTableLayer API. I have been searching through internet, I dont find this is possible. But I believe that it is possible. Please guile me to specify the way to trigger it out ?

问候,
ArunRaj。

Regards, ArunRaj.

推荐答案

如果您想使用自己的数据库,则无法使用适用于Google基础架构的Fusion Table API。您必须找到另一个API来处理此问题。

If you want to use your own database, then you cannot use the Fusion Table API as it's meant for the Google Infrastructure. You will have to find another API to take care of this.

我可以向您建议的一种解决方法是解析您作为地图绘图对象的点。因此,对于每个点,使用相应的坐标创建新的 google.maps.Marker 。每个区域都可以用 google.maps.Polygon google.maps.Polyline 来表示。你可以做的事情还有很多,但这只是一个更多的工作,并且可能不太安全,具体取决于你的实现。此外,您还可以使用 Google地图将信息窗口添加到每个区域通过将各个监听器附加到创建的对象上。

One workaround I can suggest to you is to parse points you have as drawing objects for your map. So for each point, create new google.maps.Marker with the respective coordinates. Each region can be denoted with google.maps.Polygon, and lines with google.maps.Polyline. There's plenty more you can do, but it's just a bit more work, and possibly less secure depending on your implementation. Furthermore, you can also add info windows to each of those areas using the Google Maps API by attaching respective listeners to those objects created.

希望这有助于您!

这篇关于是否有可能定制融合表(应指向我的数据库)使用fusionTableLayer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆