It would certainly be great if Semantic Google Maps could display details as nicely as the KML display (like you have in the Bars page) currently does. Thinking about, I think this is doable for SGM. It would involve two parts:
1. Automatically truncating fields of type "Text" after a certain number of characters (say, 100) - this should probably always be done, since the space available on a map is always rather limited.
2. Allowing the use of the "template" parameter in queries - this would allow for nice custom formatting, including reducing the font size. It may or may not be easy to implement, by calling or copying over the code that SMW uses to handle query templates. I'll try to look into this, or anyone else can as well.
You can see an example of how I'm currently rendering maps here:http://www.melpedia.com.au/wiki/Bars
Which should give you an idea of what I'd like to do with the SemanticGoogleMaps extension.
On Tue, Jul 15, 2008 at 8:31 AM, Samuel Richardson <firstname.lastname@example.org
Thanks for picking up this extension Yaron, great to see someone maintaining it.
I've done a very basic implmentation of it here:
Is there any way I can control the formatting of what appears in the tooltips? At the moment I'm generating KML data then loading that using the GoogleMaps extension, this allows me the ability to add thumbnail images and introduction text to the tooltips, however if I use the Semantic Google Maps I can only add in the introduction text (and I don't have the ability to add title text, images, a read more link etc).
It's not an urgent request, however I think the ability to have some control over the formatting would be great :)
On Tue, Jul 15, 2008 at 12:54 AM, Asheesh Laroia <email@example.com
On Tue, 8 Jul 2008, Matt Williamson wrote:That sounds awesome.
> By the way, I actually had some folks from MetaCarta (the
> creators/sponsors of OpenLayers) contact me about developing SL into
> something they can leverage/distribute, but they haven't gotten me the
> firm requirements yet (guess I need to bug them again), but that could
> be exciting. It might involve licensing problems, though, as they want
> something BSD...which I think I could do, if I removed the remaining
> SMW-derived code, but I'm not sure.
It would be fine to license your work as BSD, so long as you don't include
a copy of any SMW code. It's even fine to even write proprietary
extensions to MediaWiki, since they are separate works from MW/SMW.
"If you can, help others. If you can't, at least don't hurt others."
-- the Dalai Lama
Freelance Web Developer
www.richardson.co.nz | 0405 472 748
Freelance Web Developerwww.richardson.co.nz
| 0405 472 748
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world