creating a custom layer for KML file to be viewed on mobile devices

情到浓时终转凉″ 提交于 2019-12-13 04:05:17

问题


I will need to push about 200 KML google maps to 200 people.

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.

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.

Can you point me to a simple example illustrating how to use multiple layers on the same KML file that can be viewed in google maps?


回答1:


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

You can import KML into Fusion Tables, then look at the FusionTablesLayer Wizard and/or the FusionTablesLayer Builder



来源:https://stackoverflow.com/questions/12166591/creating-a-custom-layer-for-kml-file-to-be-viewed-on-mobile-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!