text to the bubble comes from the marker document content.. so just write something to the content field and it should appear if you have installed it correctly. You can try getting the markers open automatically by replacing this:
@CODE:var point = new GLatLng([+description+]); var marker = createMarker(point, \'[+title:slashandstrip+]\', \'[+content:slashandstrip+]\'); map.addOverlay(marker);
with this:
@CODE:var point = new GLatLng([+description+]); var marker = createMarker(point, \'[+title:slashandstrip+]\', \'[+content:slashandstrip+]\'); map.addOverlay(marker); GEvent.trigger(marker,\'click\');
Be sure to use the snippet code that is in
my post above.
Edit: fixed quotes
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Hat’s off...great work Doze!
Adrian Lawley: www.adrianlawley.com
Quote from: Michelw at May 07, 2007, 06:09 AM
Thanks for the fast respond. The bubble now is visible by default. But I still can’t get any text into it.
Install the snippet from
my post above and remove the tpl parameter from your snippet call.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
OK, everything works now. Forgot to install the PHx Plugin.
Sorry for bothering you one time to much.
Michel
Use the &startID parameter to tell where the marker documents are
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
In the sample call above, you use $centerPos and $defaultZoom, they should be ¢erPos and &defaultZoom
"He can have a lollipop any time he wants to. That's what it means to be a programmer."