These slides available at clients.stamen.com/talks/ffnyc/.
Demo files available at clients.stamen.com/talks/ffnyc/demo.tar.gz (updated July 7 2005 10:25am EDT).
Demo: MapDemo.swf, code samples: demo.tar.gz (updated July 7 2005 10:25am EDT).
What does geospatial data look like?
Simplest case: 3-member tuples with a latitude, longitude, and identifiers.
var lower48MapCityData : Array =
[
{
name : "San Francisco, California",
lat : 37.77,
long : -122.43
},
{
name : "Bethesda, Maryland",
lat : 39.00,
long : -77.11
}
];
Modified example from Mappr. We do the projection server-side (more on that in a minute), using a Lambert Azimuthal Equal Area projection centered on 45°N 100°W.
<?xml version="1.0" encoding="utf-8" ?>
<points>
<point name="San Francisco, California">
<geo latitude="37.77" longitude="-122.43" />
<projected x="-262.14" y="73.43" />
</point>
<point name="Bethesda, Maryland">
<geo latitude="39.00" longitude="-77.11" />
<projected x="262.65" y="53.86" />
</point>
</points>
Start with a 3-dimensional globe:

Raw projection, centered on Europe:

A specific map based on part of a projection:

hitTest to avoid drawing these.
Copy of these slides available at clients.stamen.com/talks/ffnyc/. Demo files available at clients.stamen.com/talks/ffnyc/demo.tar.gz (updated July 7 2005 10:25am EDT).
Questions?