Package madrona :: Package layers :: Module views
[hide private]

Module views

source code

Functions [hide private]
 
get_kml_file(request, uid, session_key='0', input_username=None) source code
 
is_privatekml_viewable(layer, user)
Since privatekmls are not Features, they get their own sharing scheme
source code
 
get_privatekml_list(request, session_key='0') source code
 
has_privatekml(user)
Returns a boolean - does user have any private kmls shared with them?
source code
 
get_privatekml(request, pk, session_key='0') source code
 
get_relative_to_privatekml(request, pk, path, session_key='0') source code
 
get_public_layers(request)
Returns uploaded kml from the :class:`PublicLayerList <madrona.layers.models.PublicLayerList>` object marked ``active``.
source code