I am using a protobuf tile server which returns me cities, and I'd like to draw only some of them, for instance the one starting with letter A (could be anything else actually).
~~My issue is, I believe, that all my cities are still drawn and that makes the map scroll very laggy because there are too much points on the map. ~~ Actually vectorGrid by itself is fine, it is combined with angular that the issue rises really. But filtering out points would solve the issue so still keeping this issue open for my part.
Thus I'd like to totally filter out the cities not matching given criteria. Is that possible?
I am using a protobuf tile server which returns me cities, and I'd like to draw only some of them, for instance the one starting with letter A (could be anything else actually).
Yet I am using:
~~My issue is, I believe, that all my cities are still drawn and that makes the map scroll very laggy because there are too much points on the map. ~~ Actually vectorGrid by itself is fine, it is combined with angular that the issue rises really. But filtering out points would solve the issue so still keeping this issue open for my part.
Thus I'd like to totally filter out the cities not matching given criteria. Is that possible?