Kugel?
So it is pretty ugly at first, simply grab the custom-example.js rename it
custom.js and modify the code to look like this:
/**
* GeoMashup customization example
*
* The filename must be custom.js for customizations to take effect.
* You can edit the example and delete customizations you don't want.
* If you know javascript, you can add your own customizations.
*
* The old custom-marker.js from pre 1.0 versions of Geo Mashup is no longer
used.
*/
function customizeGeoMashup(mashup) {
// Use a different marker icon
mashup.marker_icon = new GIcon();
mashup.marker_icon.image = "
http://labs.google.com/ridefinder/images/mm_20_red.png";
mashup.marker_icon.shadow = "
http://labs.google.com/ridefinder/images/mm_20_shadow.png";
mashup.marker_icon.iconSize = new GSize(12, 20);
mashup.marker_icon.shadowSize = new GSize(22, 20);
mashup.marker_icon.iconAnchor = new GPoint(6, 20);
mashup.marker_icon.infoWindowAnchor = new GPoint(5, 1);
var geoXmla;
var geoXmlb;
geoXmlb = new GGeoXml("http://tripjournal.metahub.com.au/shit.kml");
geoXmla = new GGeoXml("
http://picasaweb.google.com/data/feed/base/user/kristoffer.cannon/alb...
");
GeoMashup.map.addOverlay(geoXmla);
GeoMashup.map.addOverlay(geoXmlb);
GeoMashup.map.setCenter(new GLatLng(-37.148713, 147.352806), 8);
}
----EOF-----
Obvisouly it should be much more dynamic and integrated, hence my posting in
the group to find out where the plugin is going, Once I get back from my
trip I will try to write some extra/better code to allow the page or posts
to call additional KML feeds as required by the author. I admit I'm still
learning all this stuff and its a quick and dirty hack but it works and for
now the guys on the safari love it.
Also from the sounds of it Dylan has already had the idea and is working
on including the extension.
Regards
Kris
On Fri, Feb 29, 2008 at 2:23 AM, kugelblit...@googlemail.com <
kugelblit
...@googlemail.com> wrote:
> On 27 Feb., 19:16, Kristoffer Cannon <kristoffer.can...@gmail.com>
> wrote:
> > I'd like to say a big thanks for this plugin....
> > I finally got to where I can pilot it for a social forum site thanks
> > to some crafty work.
> > At this stage I've been able to use the custom.js file to overlay KML
> > streams from Picasa and flickr aswell as a KML route upload from a
> > GPS.
> > I'd love to know your thoughts on taking this plugin to the next level
> > allowing it to pull in attached KML files from posts and/or from URLs
> > dynamically?
> > I'm creating a GeoJournal Site where Motorcycle riders can realtime
> > blog about rides combined with realtime pictures uploaded to
> > multimedia sites. In the long run I imagine many people on holidays
> > would enjoy this kinda of thing.
> > urls speak a thousand words
> sohttp://tripjournal.metahub.com.au/bmwsafari08/main-map/
> > is one of the blogs I've been experimenting with.
> Hey Kristoffer
> I looked at your URL and it is exactly what I am looking for.
> Was so frustrated that there are so manny google maps mashups out
> there but none wich provides geotagging blogs, routs and pictures in
> one map.
> Would you be so kind and provide me with your modification files?