1

You can have a look at this IMG to understand quickly the issue:

Example IMG This appens when you drag with mouse on the map. Thanks

JPDev
  • 11
  • 2

2 Answers2

0

You should probably add style to the marker:

#marker {
    position: absolute;
    top: 0;
    left: 0;
    background-image: your-marker-icon-here.svg;
    background-size: cover;
    width: 50px;
    height: 50px;
}
0

I found an answer:

Don't forget to import style.css.

In react it's import '@tomtom-international/web-sdk-maps/dist/maps.css'

More information here: https://developer.tomtom.com/maps-sdk-web-js/documentation

Valeria Shpiner
  • 1,101
  • 2
  • 15
  • 27