I did not say that attacks on police were common. Indeed, I believe that any such attacks should be the work of a very small minority of protestors who would definitely not represent the whole.
It’s clear that attacks against off-duty police officers have happened in the past, so I included that aside as an example of the threats that police face. Of course those attacks predate the map app. Those are also the kinds of attacks that tend to make news, because they’re essentially attacks against civilians (similarly, this is why news of police attacks against civilians make news).
Off-duty police are not even tracked on the map, so I don't get your argument even if I accepted the false premise that attacks on police are common.