Hi Herve,
Your colorCoder problem might be as simple as changing the "k" in
ex:colorkey to "K" (lowercase to uppercase).
The "birthplace" & "deathplace" problem might be better solved by
changing the way your data is modeled. As far as I know, "ex:latlng"
will only support reference to a single data element. So, instead of:
items: [
{
label:"John Doe",
type:"Person",
birthplace:"Somewhere",
deathplace:"Somewhere Else"
}
use 2 records like this:
{
label:"John Doe",
type:"Person",
place: "Somewhere",
placetype: "Birth"
},
{
label:"John Doe",
type:"Person",
place: "Somewhere Else",
placetype: "Death"
}
If this still doesn't get you any closer, please send along a URL to
your Exhibit and data.
-Mark
On Nov 15, 7:02 pm, Hervé <[email protected]> wrote:
> Please help,
>
> I tried to understand the colorKey and colorCoder to have my both
> colors depending if it is a place of birth or death, the result is I
> have a white balloon and not my colors, on the top of the Map I have 3
> balloon saying Birth (Green), Death (Grey) and Mixed(White).
>
> 1. I do not have those balloons of the top.
> 2. Style scratching my head with the last selection
> Here is my coding :
>
> --------------------------------------------
> <div ex:role="coder" ex:coderClass="Color" id="cities-colors"
> style="display: none;">
>
> <span ex:color="#98fb98">Naissance</span>
> <span ex:color="#c2c2c2">Deces</span>
>
> <span ex:case="others"
> ex:color="#aaa">Indéterminé</span>
> </div>
> -------------------------------------------
> <div ex:role="view"
> ex:viewClass="Map"
> ex:label="Individus"
> ex:latlng=".city"
> ex:center="38.479394673276445, -95.361328125"
> ex:zoom="3"
> ex:bubbleWidth="200"
> ex:icon=".imageURL"
> ex:shapeWidth="30"
> ex:shapeHeight="30"
> ex:colorkey=".couleur"
> ex:colorCoder="cities-colors"
> ex:selectCoordinator="Individu"
> >
> </div>
>
> Thank you, Herve
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.