Hi I'm attempting to show a kml overlay in the default node location block.
I changed the macro in the block configuration to include the overlay tag:

[gmap |overlay=kml:http://[mysite]/fdf/sites/[mysitefolder]/files/my.kml |width=100% |height=200px |control=Small |type=Map |behavior=+autozoom +notype]

On node view the map shows up, marker is there but the overlay is not shown.
I did check with theme developer and i could see that in the 'settings' variable the overlay option is set and both 'type' and 'url' are correct.

Any hints?

thanks

Comments

gionnibgud’s picture

Quick add:
This bug might not be related to the module.
I managed to make it work by uploading the same kml file to a google mymap and the used the url that google provides for google earth to show the overlay in drupal.
Still I didn't manage to show the same kml from my server.
I would still appreciate a hint even if most likely there's nothing wrong with the module.
cheers

OpenSourcer’s picture

Hi

Did you come right with this?

I need to do the same thing.

Thanks

OpenSourcer’s picture

I need the same thing. Anyone??

kbk’s picture

Title: kml overlay + Node location block » clientsidekml: kml overlay with local files
Component: Code » Documentation
Category: bug » support
Status: Active » Closed (fixed)

Have you two checked /gmap_addons/gmap_overlays/README.txt? The protocol for locally stored KML files seems to be:

[gmap |overlay=clientsidekml:/path/to/file.kml]

Notice the "Notes on clientsidekml" further down in the same document.