Skip to content

Commit

Permalink
Revert "Add usermap."
Browse files Browse the repository at this point in the history
This reverts commit 6f9cac8.
  • Loading branch information
elpaso committed May 30, 2016
1 parent 048019c commit 5de5d4a
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions qgis-app/settings.py
Expand Up @@ -251,65 +251,6 @@

THUMBNAIL_ENGINE='sorl.thumbnail.engines.convert_engine.Engine'

USER_MAP = {
'project_name': 'QGIS',
'favicon_file': '/static/images/qgis-icon-32x32.png',
'login_view': 'fe_login',
'marker': {
'iconUrl': '/static/images/qgis-icon-32x32.png',
'iconSize': [32, 32],
'iconAnchor': [16, 0],
},
'leaflet_config': {
'TILES': [(
# The title
'MapQuest',
# Tile's URL
'http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png',
# More valid leaflet option is passed here
{
'attribution':
'© <a href="http://www.openstreetmap.org" '
'target="_parent">OpenStreetMap'
'</a> and contributors, under an <a '
'href="http://www.openstreetmap.org/copyright" '
'target="_parent">open license</a>. Tiles Courtesy of '
'<a '
'href="http://www.mapquest.com/">MapQuest</a> <img '
'src="http://developer.mapquest.com/content/osm/mq_logo'
'.png"',
'maxZoom': 18,
'minZoom': 2,
'noWrap': True,
'subdomains': '1234'

}
)]
},
'roles': [
{
'id': 1,
'name': 'User',
'badge': 'user_map/img/badge-user.png'
},
{
'id': 2,
'name': 'Trainer',
'badge': 'user_map/img/badge-trainer.png'
},
{
'id': 3,
'name': 'Developer',
'badge': 'user_map/img/badge-developer.png'
}
],
'api_user_fields': [
'username'
],

}


# When run behind a proxy
USE_X_FORWARDED_HOST = True

Expand Down

0 comments on commit 5de5d4a

Please sign in to comment.