Fawad, all,

Stéphane,

With the latest iteration, the ShapeClass is able to handle multiple shapes in 
a single Shape object.
Do you think that's fine or should there be separate objects for each shape?

I'd follow the same reasoning as for points and have one shape per page, 
because imho users will typically want to associate content to each shape, and 
the most suitable approach for handling content in XWiki (title, content, 
translations) is a page (image you create a map of a touristic region with 
various shapes with content to be available in various languages, that would be 
cumbersome to manage the content translations in objects rather than in pages). 
There could be special situations with several shapes attached to a single page 
though, that would be an advanced feature, for addressing the case of places 
which span across several locations, e.g. a large hospital covering several 
distinct areas in the same neighbourhood. What do you think?

Cheers

Stéphane


Best,
Fawadx

Reply via email to