Commit 6f5db5be authored by Deployer's avatar Deployer

Changed attribution logo to SVG

parent fc8d097b
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
var CedarmapsLogoControl = L.Control.extend({ var CedarmapsLogoControl = L.Control.extend({
options: { options: {
position: 'bottomleft', position: 'bottomright',
}, },
initialize: function(options) { initialize: function(options) {
......
...@@ -38,9 +38,10 @@ var CMap = MMap.Map.extend({ ...@@ -38,9 +38,10 @@ var CMap = MMap.Map.extend({
module.exports.Map = CMap; module.exports.Map = CMap;
module.exports.map = function (element, _, options) { module.exports.map = function (element, _, options) {
if (options) { options = options || {}
options.legendControl = false options.legendControl = false
options.attributionControl = false options.attributionControl = false
}
return new CMap(element, _, options); return new CMap(element, _, options);
}; };
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment