-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selectable search marker icon #739
Conversation
I think it makes more sense for this to be handled on the front end. Users could select what they want and store their setting in localStorage. |
Yes, I agree that it should be handled by the front end. I've started putting something together last night in map.js. I'll put it up later on when I get off work |
Should I had the feature on the frontend (and keep it on the backend too) |
Front-end only please. |
I'm done with the front-end. |
The original icon marker wasn't invisible though? |
@Moussa I'll add the default icon (from Google) to the list. @invisiblek Which icon do I set as default? Ash or Google's icon marker ? |
probably google's as the default |
…-end/python stuff and keeped only the front-end/UI stuff.
I edited the original PR. |
<option value="default">Default</option> | ||
<option value="ash">Ash</option> | ||
<option value="none">None</option> | ||
</select> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be indented the same as line 215
Would it be better to load the values from a javascript object and load them into the select container? For example:
and update the marker on the fly with
btw, I added a variable searchMarker and renamed marker to searchMarker in createSearchMarker() |
…iable 'marker' become 'searchMarker', add more marker style
@Studio-XP Done. But gif aren't working as icon marker and I dont know why... (Rip animated Red) |
Always glad to help. Btw, noticed this
should be this
|
This looks fantastic. |
great |
…e 8-bit color yeeh)
I can redo the pokeball as an 8 bit too when I get home if you want. Looks blurry |
Up to you @Studio-XP |
Ready to be merged, I guess |
@Becold on mobile the drop down menu is very tiny and can't be selected. |
@rrbailey89 Did you run |
Yeah, it almost sounds like grunt didn't build the search markers json file in dist/data. Are there any options? If you're adding it without downloading it from github, you can technically just copy that file to that location |
@Becold @Studio-XP it works perfectly on my desktop. Sorryou I'm not running the server atm to show the screen shot however on mobile for me the dropdown menu is present but it's width is shrunk down and when tapped displays no list |
Works on iPhone for me. |
@rrbailey89 What is your setup, do you have nginx/apache reverse proxy ? |
@Becold my apologies for taking so long to get back to you. I simply execute runserver.py im not behind any proxy. This first Screenshot is what I see when using my desktop. this is what I see when using my Nexus 6. I hope this helps. |
You just have to clear browser cache and refresh |
@Zoruk @Becold Okay I guess it was the Cache :( .. never had to manually clear my devices browser cache before for this app... but after I did the dropdown menu populated properly.. this site is relevant for this |
Thanks to @Studio-XP as well!
Thanks to @Studio-XP as well!
Thanks to @Studio-XP as well!
Description
The user can change the icon marker if he dont like it.
Changed the default icon marker to the Google's one.
The marker styles are located in static/data/searchmarkerstyle.json
Motivation and Context
A lot of people hate the new Ash marker from commit 8080e8e
And https://github.com/PokemonGoMap/PokemonGo-Map/issues/697 asked my "Why is there a Mario on the map ? lol"
How Has This Been Tested ?
Deleting my cache and my localstorage between each test.
See screenshots
Screenshots :
On the front-end :
Types of changes
Checklist: