Closed Chrischi- closed 2 years ago
it would look like this
I used a quick and dirty code edit to test it.
It's not multi-user applicable.
Icon:
(doesnt know the creator...)
main.js
user_data[users[user_index]].marker = new google.maps.Marker({
map: map,
position: {lat: parseFloat(data.lat), lng: parseFloat(data.lng)},
//icon: 'image/trainer/' + trainerSex[randomSex] + Math.floor(Math.random() * numTrainers[randomSex]) + '.png',
icon: 'image/trainer/pokeball.png',
zIndex: 2,
//label: users[user_index]
});
I did something like this. Multi-bots shouldn't cause much issue, considering the Find button works just fine.
Remove Trainer Icons and use eg Pokéballs with random colors as trainer icon.
It requires only one icon or we could do it alone with CSS instead.
We could place a 'label' or 'hover' over the icon to identify which trainer we are looking at.