Opened 13 years ago

Closed 13 years ago

#267 closed enhancement (fixed)

Resource option : noLayer

Reported by: adube Owned by:
Priority: major Milestone:
Component: widgets Version:
Keywords: Cc:

Description

Issue

When a resource doesn't have any geom, we don't want any layer created. Currently, with the PGSQLMapContextConfig, layers are automatically created following this logic :

http://geoprisma.org/dist/build/html/configuration/config/pgsqlmapcontextconfig.html#openlayers-layer-object-creation-logic

So, if we have a WFS DataStore that doesn't have any geom, we don't want a layer created but currently it will be.

Solution

Have a new 'noLayer' resource option used by the Layer widget. If set, never create any type of layer.

Change History (1)

comment:1 by adube, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r1116, featuring :

  • new noLayer resource option
  • used by Layer widget
  • documentation
Note: See TracTickets for help on using tickets.