-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resourceset geometry should define object shape, but not visuals #205
Comments
The style attributes supported in resource sets is intentionally minimal as to not skew the definition towards purely towards what OpenLayers can support. |
Thanks Adrian. So if we break this down, there are 2 things to consider.
|
After sleeping on it, a common set of icons available to all apps IMHO would be an appropriate solution. They could be made available at a common path e.g. |
Icons at a well known path would be a great idea imho! Don't know how complex we want to go, we can start with something very straightforward like just one size, scalable format = svg. Create a separate issue in server or specification? |
@panaaj should this ticket be left open for the work to enable the Resourceset to specify the icon to use in Freeboard? |
This is more of a feature request than an issue, depending on perspective.
Currently, using a resource provider with Freeboard, we are able to set some very basic style parameters to render the geometry of a resource, this is too restrictive to be able to provide good UX.
For example, consider 2 entirely unrelated object types both defined with a geometry of type point. It is only possible at this stage to display a small circle for each, at best with a different fill or stroke.
I would like to propose that the geometry define the location (point) or draw the outline (polygone etc...), and the style attributes be used instead to specify some kind of map marker. This example shows 3 point resources, each or a different type which is immediately clear to the user.
Possibly a generic map marker shape with the ability to change color and provide the SVG icon would be an excellent outcome.
The text was updated successfully, but these errors were encountered: