Closed (fixed)
Project:
KML
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2006 at 12:32 UTC
Updated:
23 Jul 2008 at 10:56 UTC
Jump to comment: Most recent file
I'm not sure how to go about this to keep it fully flexible and useful. The first step is just to let people change the icon of all the KML placemarks to the same thing (not too difficult). To be truly useful though, it should be possible to distinguish different types of content - perhaps allowing people to choose an icon per node type. On the other hand, I also think it may be useful to have all the icons within one feed (eg tagged with a specific term, from a group, from search results) have the same icon so as to distinguish the different feeds.
This topic needs some more thought still, but I'd probably implement these in that order.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | custom_markers.diff | 3.98 KB | marcoBauli |
| #3 | kml.patch | 3.04 KB | marcoBauli |
Comments
Comment #1
geodaniel commentedComment #2
marcoBauli commentedtotally second this, +1 tester ;)
Comment #3
marcoBauli commentedthe patch attached allows to customize the markers with a custom one, plus another second custom marker for rollover. Please review, thx
Comment #4
raintonr commented+1 for the 'icon per content type' idea here :)
Comment #5
raintonr commentedIt took a small change to get the above patch working with latest KML.module we had but now the system is functioning perfectly, thanks.
Taking this one step further as per my previous comment have created a related feature request; "Some KML options should be per content type" (http://drupal.org/node/181048). I've added that as the per-content type icon change I have made locally is hard coded and should be made configurable. Will try and create a patch for this shortly.
Comment #6
marcoBauli commentedhere's a patch that lets pick markers per content type
feedback appreciated ;)
Comment #7
raintonr commentedRe: #6. Tested this on our system with latest KML (5.x-1.x-dev (2007-Nov-20))
Patch applied and worked perfectly. Nice work, would like to see this committed into main KML code.
Comment #8
raintonr commentedCommitted this patch to CVS just now.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.