Loading...
 
Skip to main content

Features / Usability


Re: Google map and KML

posts: 35 Canada

Hello,

Sorry for the delay in responding. This issue was brought to my attention a few days ago, but I did not have time to attend it until now.

Since version 7, Tiki uses OpenLayers to render maps. Tiki8 adds the ability to change the tiles for google tiles or others and adds the layer switcher as a control on the map.

There is currently no way in Tiki to specify KML layers to display. However, OpenLayers offers support for KML and various other layer types.

There is an example for KML.

This will require some JavaScript programming to incorporate. However, it should not be too complicated. The OpenLayers Map object reference is stored as the .map property on the DOM container. It should be accessible like this:

Copy to clipboard
// Note that the index can vary if you have multiple maps rendered on the page. $('.map-container')[0].map


If you would like this to be a feature in a future version of Tiki, I invite you to get a commit access and contribute to the project. I would be willing to assist you as needed. If programming is not one of your skills, I or other consultants can be hired to do it.

There are no comments at this time.