3 ms·
It's at least 2x that number, if you want to have a nice fade transition. More if you want to buffer the extents. And that's not to mention the things being di
by mikewhy 8y ago
It's at least 2x that number, if you want to have a nice fade transition. More if you want to buffer the extents.
And that's not to mention the things being displayed on the map, like popups, markers, or polygons. Which React's model helps a lot with.
- iamleppert 8y agoYou can do that with a CSS transition via a class you apply to the element when you change its src and/or have another layer of tiles that you alternate. I was just pointing out the fact that the only thing ever changes here is the src of the image tags of the tiles, the elements always remain constant. So using React is way overkill for what is essentially a static grid of image tags.
- mariusandra 8y agoThis library is made for sites that already use React.