Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Add gym stop pics for monocle alternate (POC) #103

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

M4d40
Copy link
Contributor

@M4d40 M4d40 commented Mar 4, 2018

This is a POC for how to add pokestop and gym icons to PMSF.

POC, because i think there should be a button to enable/disable this option.
Also this is very data intensive, because it will load all pics right on start of map.
(would be better, if it would only load the specific pic if you click on the specific gym or stop)

@M4d40 M4d40 changed the base branch from master to develop March 4, 2018 12:16
@@ -1174,7 +1179,7 @@ function setupPokestopMarker(item) {
}

marker.infoWindow = new google.maps.InfoWindow({
content: pokestopLabel(item['lure_expiration'], item['latitude'], item['longitude'], item['pokestop_name']),
content: pokestopLabel(item['lure_expiration'], item['latitude'], item['longitude'], item['pokestop_name'], item['pokestop_url']),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will most likely break others scanners if they dont store this in the same way. Need to have a conditional for alt otherwise you will get undefined errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants