Really nice implementation, David! I can see that being very useful. You probably already know, but I'm seeing the Google API key mismatch error on the example URL you included.
Thanks again, -Mark On Jun 20, 6:49 pm, David Huynh <dfhu...@alum.mit.edu> wrote: > Hi all, > > Another new feature to check out / test is the support for polygons and > polylines together with point markers on a single map view: > > http://trunk.simile-widgets.org/exhibit/examples/polymap/medieval-med... > (data from John Saul) > > http://trunk.simile-widgets.org/exhibit/examples/polymap/election08.html > > The 3 walls on the first map are click-able. > > In addition to > ex:latlng=" expression " > you can also specify > ex:polygon=" expression " > ex:polyline=" expression " > Polygons and polylines must be in different properties than lat/lng > points, and each polygon or polyline is specified as a semicolon > separated string of lat/lng pairs, e.g., > > "43.773263,11.255505;43.773325,11.256141;43.773067,11.256157;43.773005,11.255497" > If your data happens to use something other than semicolons, say |, then > you can set the separator like so > ex:latlngPairSeparator="|" > If your lat/lng pairs happen to be lng/lat instead, you can also specify > that > ex:latlngOrder="lnglat" > > There are 4 more new settings > borderOpacity: default to 0.5 > borderWidth: default to 1 > borderColor: default to the color setting, or whatever that a color > coder specifies > opacity: for polygons' fills, default to 0.7 > > If you want to try it on your own exhibit, link to this API > http://trunk.simile-widgets.org/exhibit/api/exhibit-api.js > > Thanks, > > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---