Skip to content

Commit

Permalink
Merge pull request #399 from sigcorporativo-ja/develop
Browse files Browse the repository at this point in the history
v6.2.0
  • Loading branch information
fbma authored Aug 8, 2022
2 parents 3d11e54 + db4aa0a commit b7c1c09
Show file tree
Hide file tree
Showing 88 changed files with 5,232 additions and 676 deletions.
12 changes: 6 additions & 6 deletions mapea-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions mapea-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mapea",
"version": "6.1.0",
"version": "6.2.0",
"description": "Herramienta para desarrollo de mapas interactivos de forma sencilla",
"keywords": [
"map",
Expand Down Expand Up @@ -65,7 +65,7 @@
"handlebars": "4.5.2",
"jsdoc": "^3.6.4",
"jsts": "^2.0.2",
"ol": "6.9.0",
"ol": "6.14.1",
"proj4": "^2.4.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>es.juntadeandalucia.mapea</groupId>
<artifactId>mapea-parent</artifactId>
<version>6.1.0</version>
<version>6.2.0</version>
<relativePath>../mapea-parent/pom.xml</relativePath>
</parent>
<licenses>
Expand Down
8 changes: 8 additions & 0 deletions mapea-js/src/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,4 +427,12 @@
* @type {String}
*/
M.config('ATTRIBUTETABLE_PAGES', '${attributetable.pages}');

/**
* Zoom levels
*
* @private
* @type {Number}
*/
M.config('ZOOM_LEVELS', '${zoom.levels}');
})(window.M);
45 changes: 25 additions & 20 deletions mapea-js/src/facade/assets/css/controls/scale.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
.m-scale-container {
margin: 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
padding: 5px;
right: 0;
font-weight: bold;
bottom: 2em;
display: block;
font-size: smaller;
background-color: rgba(0, 60, 136, .5);
font-weight: normal;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
/* min-width: 132px;*/
margin: 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
padding: 5px;
right: 0;
font-weight: bold;
bottom: 2em;
display: block;
font-size: smaller;
background-color: rgba(0, 60, 136, .5);
font-weight: normal;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
/* min-width: 132px;*/
}

.m-scale-container > .m-unit {
font-family: 'Muli' !important;
.m-scale-container>.m-unit {
font-family: 'Muli' !important;
line-height: normal;
}

.m-scale-container > .m-unit:before {
font-family: 'g-cartografia' !important;
color: #a35d38;
font-size: 12px !important;
margin-right: 5px;
.m-scale-container>.m-scale {
line-height: normal;
}

.m-scale-container>.m-unit:before {
font-family: 'g-cartografia' !important;
color: #a35d38;
font-size: 12px !important;
margin-right: 5px;
}
5 changes: 3 additions & 2 deletions mapea-js/src/facade/js/Label.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ class Label extends Base {
* @public
* @function
* @param {M.Map} map - Facade map
* @param { Boolean } removePrevious - remove previous labels
* @api
* @export
*/
show(map) {
this.getImpl().show(map);
show(map, removePrevious) {
this.getImpl().show(map, removePrevious);
}

/**
Expand Down
Loading

0 comments on commit b7c1c09

Please sign in to comment.