Skip to content
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

Replaced pin images with inline SVG #225

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

Conversation

talk-show-host
Copy link

Allows a far greater number of pins to be able to be shown, rather than being limited by number of images (~150 previously). Blue pins now appear on the map.
Pins in both the table and the map have been changed.
The SVG is saved inline in the JS, rather than as an external file, so colour and text can be changed within the code. Also a prettier pin can be easily made and used, with the SVG code replacing what is currently there.
Decided to leave getColorString() alone, so there is a hacky if to choose the colour. I wasn't sure where else that was used, and didn't want to break this unwittingly.

Allows a far greater number of pins to be able to be shown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant