-------- Original Message --------
Subject: Need your help on a class project using Exhibit Map, ex:proxy attribute?
From: "Martino, Steve" <stephen...@harvard.edu>
To: dfh...@csail.mit.edu
CC:
David,
I am sorry to bother you, but I selected Simile Exhibit for a class project at Harvard and I need to be able to plot on a Map a species of a particular tropical fish that exists in multiple locations, lets say Brazil, South America, and Cambridge, Ma.
I have been reading through the documentation for proxy: and this seems to be what I want to do, but I can't seem to get it setup correctly.
Here is my map div:
<div ex:role="view"
ex:viewClass="Map"
ex:type="normal"
ex:overviewControl="True"
ex:label="Distribution"
ex:lat=".latitude"
ex:lng=".longitude"
ex:colorKey=".party"
ex:colorCoder="party-colors"
ex:center="-10.0, -55.0"
ex:scaleControl="true"
ex:zoom="5"
ex:bubbleWidth="50"
ex:bubbleHeight="50"
ex:icon=".imageURL"
ex:shape="rectangle"
ex:shapeWidth="40"
ex:shapeHeight="30"
ex:mapHeight="1024"
>
I am using a json file for my data that contains, you will notice in the distribution field that this tropical fish can exist in multiple locations, and I have two longitude and latitude coordinates below ( I actually just made them up, for my app to work currently, I can only use one of them..
Can you help?
Thanks
Steve
{ label: 'L001',
type: 'Loricariidae',
pronunciation: 'terry gop LICK thees',
scientificname: 'Pterygoplichthys joselimaianus Weber, 1991',
commonname: ["L-Number Only"],
identification: 'Pterygoplichthys can be identified by the number of rays in the dorsal fin. More than 10 indicates that its a Pterygoplichthys. Most other plecos have 8 or fewer rays (in particular the larger Hypostomus species that are most likely to be confused with Pterygoplichthys). L001 is the same as L022.',
distribution: [ "Tocantins River basin", "Amazon", "Lower Amazon", "Tocantins" ]
},
{ id: 'L001',
longitude:'-49.5133781433105',
latitude: '-2.25272011756897'
},
{ id: 'L001',
longitude:'-47.1000',
latitude: '-1.5500'
},