Add svg icon example

This commit is contained in:
Frederic Junod
2019-05-17 14:48:03 +02:00
parent 6dc00b75e0
commit 78c09a0ff6
2 changed files with 8 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ rome.setStyle(new Style({
image: new Icon({
color: '#8959A8',
crossOrigin: 'anonymous',
src: 'data/dot.png'
src: 'data/square.svg'
})
}));