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-mediterranean.html
(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
borderColor: default to the color setting, or whatever that a color
coder specifies
--
You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/R9CryUN43tEJ.
To post to this group, send email to simile-...@googlegroups.com.
To unsubscribe from this group, send email to simile-widget...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.