This example shows how to write an application-specific directive (app-backgroundlayer
)
to create a background layer selector. The directive is based on Angular's select
,
ngOptions
, ngModel
and ngChange
directives, and on the
ngeoBackgroundLayerMgr
service.