You are not logged in.
Pages: 1
Hi.
I'm trying to create an overlay with a tag, in order to hide all the overlays with a specific tag. I'm doing something like this :
this.$div.gmap3({ action:'addOverlay', latLng: event.latLng, content: mycontent, tag: 'my_tag' });
When i'm trying to use this, no overlay appears, and there is no error. if i remove the tag option, my overlay appears correctly. I saw the post which is talking about the same issue, but no solution was given. I tried to add a limit to the menu.close(), like this :
this.$div.gmap3({action:'clear', name:'overlay', tag:'menu_tag'});
But if i put the tag:'menu_tag' to my menu overlay, my menu doesn't work anymore...Is it a bug, or putting a tag on an overlay must be done in a specific way?
Thx for help.
Offline
Hi,
If you add the tag, content have to be in options block, try :
this.$div.gmap3({ action:'addOverlay', latLng: event.latLng, options:{ content: mycontent }, tag: 'my_tag' });
It will be cleaner in the next version
Offline
It works perfectly, thank you!
Offline
Hi,
I don't have lat, longitude.
I have adress : 44 rue Taitbout, Paris, France.
Can I add a circle overlay ?
Thank you.
Offline
can you post how you did the show-hide solution? i am searching for something like that but having a lot of problems in making a DIV click communicate to one of the overlays
Offline
Pages: 1