new_map_view = views.new_map existing_map_view = views.map_view if check_ogc_backend(geoserver.BACKEND_PACKAGE): new_map_view = views.new_map existing_map_view = views.map_view map_embed = views.map_embed map_edit = views.map_edit map_json = views.map_json map_thumbnail = views.map_thumbnail elif check_ogc_backend(qgis_server.BACKEND_PACKAGE): from geonode.maps.qgis_server_views import MapCreateView, \ MapDetailView, MapEmbedView, MapEditView, MapUpdateView new_map_view = MapCreateView.as_view() existing_map_view = MapDetailView.as_view() map_embed = MapEmbedView.as_view() from geonode.maps.qgis_server_views import map_download_qlr, \ map_download_leaflet, set_thumbnail_map map_edit = MapEditView.as_view() map_json = MapUpdateView.as_view() map_thumbnail = set_thumbnail_map maps_list = register_url_event()( TemplateView.as_view(template_name='maps/map_list.html')) urlpatterns = [ # 'geonode.maps.views',
new_map_view = views.new_map existing_map_view = views.map_view if check_ogc_backend(geoserver.BACKEND_PACKAGE): new_map_view = views.new_map existing_map_view = views.map_view map_embed = views.map_embed map_edit = views.map_edit map_json = views.map_json map_thumbnail = views.map_thumbnail elif check_ogc_backend(qgis_server.BACKEND_PACKAGE): from geonode.maps.qgis_server_views import MapCreateView, \ MapDetailView, MapEmbedView, MapEditView, MapUpdateView new_map_view = MapCreateView.as_view() existing_map_view = MapDetailView.as_view() map_embed = MapEmbedView.as_view() from geonode.maps.qgis_server_views import map_download_qlr, \ map_download_leaflet, set_thumbnail_map map_download_qlr = map_download_qlr map_download_leaflet = map_download_leaflet map_edit = MapEditView.as_view() map_json = MapUpdateView.as_view() map_thumbnail = set_thumbnail_map urlpatterns = [ # 'geonode.maps.views', url(r'^$',