为要在移动设备上查看的KML文件创建自定义层 [英] creating a custom layer for KML file to be viewed on mobile devices
问题描述
我需要将200张KML谷歌地图推送给200个人.
I will need to push about 200 KML google maps to 200 people.
每个地图都有大约200-300个地标.
The maps have each around 200-300 placemarks.
每个地标都是一个帐户,潜在帐户或过去的帐户.
Every placemark is either, an account, potential account, or past account.
我正在用不同的颜色图钉对每种类型的地标进行分类.
I am classifying each type of placemark with a different color pin.
我想知道用户一次只能看到一种类型的图钉.我知道我们可以使用FOLDERS
来做到这一点,但我认为更好的方法是使用LAYERS
.
I would like to know how the user can see only one type of pins at a time. I know we can do this by using FOLDERS
, but i think a better way would be to use LAYERS
.
我认为更好的原因是因为在移动设备上它们更易于使用.
The reason I think layers are better is because on mobile devices they are much easier to work with.
能否给我指出一个简单的示例,说明如何在可以在Google地图中查看的同一KML文件上使用多个图层?
推荐答案
可能最简单的方法是使用FusionTablesLayers.您可以导入KML文件,然后动态查询数据以显示和动态设置信息样式.
Probably the simplest way to do this is to use FusionTablesLayers. You can import your KML files, then dynamically query for the data to display and dynamically style the information.
- FusionTableLayers
- Dynamic Styling of FusionTableLayers
您可以将KML导入Fusion Tables ,然后查看 FusionTablesLayer向导和/或 FusionTablesLayer Builder
You can import KML into Fusion Tables, then look at the FusionTablesLayer Wizard and/or the FusionTablesLayer Builder
这篇关于为要在移动设备上查看的KML文件创建自定义层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!