Skip to content

Commit

Permalink
New version 1.0.33
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Mar 18, 2024
1 parent a9d3256 commit d9e8060
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
10 changes: 2 additions & 8 deletions example/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ body,
width: var(--radius, 20px);
height: var(--radius, 20px);

color: #8a64eb;
color: #fff;
border: 2px solid currentColor;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.7);
background-color: #313133;

transform: translate(-50%, -50%);
}
Expand All @@ -70,12 +70,6 @@ body,
justify-content: center;
align-items: center;

width: 70%;
height: 70%;

border-radius: 50%;
background-color: currentColor;

transform: translate3d(-50%, -50%, 0);
}

Expand Down
5 changes: 4 additions & 1 deletion example/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ const SHOW_CELLS = SEARCH_PARAMS.get('showCells') === 'true';
const markerElement = document.createElement('div');
markerElement.classList.add('circle');
markerElement.innerHTML =
'<svg height="24" width="24" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><g transform="translate(0 -1028.4)"><path d="m12 0c-4.4183 2.3685e-15 -8 3.5817-8 8 0 1.421 0.3816 2.75 1.0312 3.906 0.1079 0.192 0.221 0.381 0.3438 0.563l6.625 11.531 6.625-11.531c0.102-0.151 0.19-0.311 0.281-0.469l0.063-0.094c0.649-1.156 1.031-2.485 1.031-3.906 0-4.4183-3.582-8-8-8zm0 4c2.209 0 4 1.7909 4 4 0 2.209-1.791 4-4 4-2.2091 0-4-1.791-4-4 0-2.2091 1.7909-4 4-4z" fill="#e74c3c" transform="translate(0 1028.4)"/><path d="m12 3c-2.7614 0-5 2.2386-5 5 0 2.761 2.2386 5 5 5 2.761 0 5-2.239 5-5 0-2.7614-2.239-5-5-5zm0 2c1.657 0 3 1.3431 3 3s-1.343 3-3 3-3-1.3431-3-3 1.343-3 3-3z" fill="#c0392b" transform="translate(0 1028.4)"/></g></svg>';
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n' +
' <rect x="1" y="-1" width="20" height="20" rx="7" transform="matrix(-1 0 0 1 23 3)" fill="#313133" stroke="white" stroke-width="2"/>\n' +
' <rect width="6" height="6" rx="2" transform="matrix(-1 0 0 1 15 9)" fill="white"/>\n' +
'</svg>';

function makeEntity(map, feature) {
const elm = markerElement.cloneNode(true);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mappable-test-server",
"version": "1.0.32",
"version": "1.0.33",
"private": "true",
"description": "Test server for demonstrating work with the tile and bbox data loading API for the Mappable API",
"scripts": {
Expand Down

0 comments on commit d9e8060

Please sign in to comment.