-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Renamed: marker-icon@2x.png #1553
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
Conversation
Renamed `dist/images/marker-icon@2x.png` to `dist/images/marker-icon-at-2x.png`.
|
It is referenced in the JS code. |
|
sigh... |
|
I'd just leave this pull request open and add a commit with the js file change. Reference this PR in the commit and it'll automatically get added to it. |
I looked in all files in the project referencing: `marker-icon@2x.png` - and I found that this string was only represented in the marker.svg - no source .js files. I have since edited the marker.svg with the new filename (`marker-icon-at-2x.png`)and I'm re-submitting the pull request.
|
I searched the entire project for Also ran a |
|
The only other place I can seam to find any reference to |
|
https://github.com/Leaflet/Leaflet/blob/master/src/layer/marker/Icon.Default.js#L23 On Wed, Mar 27, 2013 at 3:17 PM, Jeremy Iglehart
|
|
@lookfirst Thanks, I found it in three places. I can change it in all three... but it looks like I should just change the |
Edited /src/layer/marker/Icon.Default.js - [line 23](https://github.com/Leaflet/Leaflet/blob/c12c653eaa5eff5ebd57883d72bb335fb431154f/src/layer/marker/Icon.Default.js#L23) to reflect file name change for this pull request.
|
Yes, you just need to change the src directory. The dist directory (imho) shouldn't be checked in anywhere. You generate the code in the dist folder by doing this in the leaflet top level directory: |
Thanks to @lookfirst I installed the test suite and ran jake - everything passed just fine. Updated the two files in the dist and now I'm committing them to the pull request. If you want these changes in the mean-time pre-merge (assuming that the file name change is accepted), feel free to use: https://github.com/uberbuilder/Leaflet/tree/marker-icon-rename
|
@lookfirst Thanks for the mini-tutorial... lol, I'm sure you could have done this yourself - but I enjoyed the process and learning experience. |
|
Glad I could help and thanks for taking the reigns on submitting the pull request. =) |
|
Uhg - diffstats for src are WAY off - line ending problem again. Edit:This is not a problem I was wrong - this is referencing the |
|
Did the rename myself as the pull included the built files (which is unwanted) and |
In response to Issue:1552.
I'm not sure if this file needs to be changed in a test somewhere or some other source svg or something... I just thought I would try and make it easy for you @mourner
Renamed
dist/images/marker-icon@2x.pngtodist/images/marker-icon-at-2x.png.