#########################################################################
#
# Copyright (C) 2016 OSGeo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#########################################################################
from django.conf.urls import url, include
from . import views
[docs]
js_info_dict = {
"packages": ("geonode.maps",),
}
[docs]
map_embed = views.map_embed
[docs]
urlpatterns = [
# 'geonode.maps.views',
url(r"^checkurl/?$", views.ajax_url_lookup),
url(r"^(?P<mapid>[^/]+)/wmc$", views.map_wmc, name="map_wmc"),
url(r"^(?P<mapid>[^/]+)/metadata$", views.map_metadata, name="map_metadata"),
url(r"^(?P<mapid>[^/]+)/metadata_advanced$", views.map_metadata_advanced, name="map_metadata_advanced"),
url(r"^(?P<mapid>[^/]+)/embed$", map_embed, name="map_embed"),
url(r"^embed/$", views.map_embed, name="map_embed"),
url(r"^metadata/batch/$", views.map_batch_metadata, name="map_batch_metadata"),
url(r"^(?P<mapid>[^/]*)/metadata_detail$", views.map_metadata_detail, name="map_metadata_detail"),
url(r"^(?P<layername>[^/]*)/attributes", views.mapdataset_attributes, name="mapdataset_attributes"),
url(r"^", include("geonode.maps.api.urls")),
]