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

checked for _map to prevent errors on scrolling #917

Closed
wants to merge 107 commits into from
Closed

checked for _map to prevent errors on scrolling #917

wants to merge 107 commits into from

Conversation

jordanparfitt
Copy link
Contributor

@jordanparfitt jordanparfitt commented Jan 23, 2017

Added second check for _map on RasterLayer

#910

jgravois and others added 30 commits April 19, 2016 14:49
fix to workaround IE10/11 bug.
make sure XMLHttpRequest.open is called first
default to loading a blank png when a tile request fails
get native geojson from 10.4
remove logo and just make sure Esri is just included in the attribution
* start using correct paging url param names

* fix tests
move dynamic attribution logic out of 'basemapLayer' and into 'Util'
parse base64 arcgis server responses too
* allow users to pass tokens through to basemaps

* sometimes people make maps with no attribution control
jgravois and others added 19 commits November 16, 2016 17:02
Update karma-phantomjs-launcher
* tweaked a few tests
* set up travis PhantomJS caching
* bumped a bunch of test suite dependencies

dont lint travis phantomjs folder

what the heckie son

lots of tweaks to test travis

remove itself

is it just that one?

i guess so

stop tracking map resize

more guesses

is it really the options tests?

test precommit linting

add linting hook

no idea

linting and bumping

wish i knew what i was doing

or that i could repro locally

stop caching phantom

trying normal phantom

getting somewhere

hmmmm

https?

revert to PhantomJS 1.9

cleanup
get tests passing in node v6
RasterLayer shouldnt remove non-existent images outside constrained zoom levels
replace blank tile remote url with base64 encoded version
expose a public method to force RasterLayer to redraw
honor leaflet maxNativeZoom
setOpacity on RasterLayers
* make sure addfeature is only called once

* create OR add
@jgravois
Copy link
Contributor

thanks for this!

it looks like the email address in your git config --global user.email is different than the one associated with github.com/jordanparfitt.

New commits aren't using the right name
https://help.github.com/articles/setting-your-username-in-git/#new-commits-arent-using-the-right-name

i'm certainly happy to accept as is, but if you want to tidy things up so that @jordanparfitt appears in perpetuity as an illustrious esri leaflet contributor, please don't be shy.

@jordanparfitt
Copy link
Contributor Author

jordanparfitt commented Jan 24, 2017 via email

@jgravois
Copy link
Contributor

jgravois commented Jan 24, 2017

https://github.com/jordanparfitt/esri-leaflet/tree/master

This branch is 106 commits ahead, 5 commits behind Esri:master.

i'm not sure exactly why, but the duplicate commits in the master branch of your fork and the fact that it is also still slightly behind our master branch has GitHub thinking that you're now proposing 107 unique commits in this pull request. this is strange because the majority of them are already present in the branch you're targeting.

to put this to bed, i went ahead and merged the work myself in 189fe5e

if you look at your own commit hash you can see that even though the associated email address is now the one associated with your GitHub account perhaps the different username is enough to keep your avatar from appearing and the activity from appearing in your timeline.

https://github.com/jordanparfitt/esri-leaflet/commit/e72f5360cf63393a609711a736f0d975453ff43d

screenshot 2017-01-24 15 27 10

in any case, thanks so much for reporting (and fixing!) the problem you found!

@jgravois jgravois closed this Jan 24, 2017
@jordanparfitt
Copy link
Contributor Author

jordanparfitt commented Jan 25, 2017 via email

@jordanparfitt
Copy link
Contributor Author

jordanparfitt commented Jan 25, 2017 via email

@jgravois
Copy link
Contributor

as long as you aren't collaborating with someone else, you can rebase/squash to rewrite history in your own branch.

http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request

looking at your own two commits in jordanparfitt/esri-leaflet#master, it looks like the second one uses the right email, but still a different username than your actual github account username. that's why its still not showing the correct rorschach avatar.

@jordanparfitt
Copy link
Contributor Author

jordanparfitt commented Jan 27, 2017 via email

@jgravois
Copy link
Contributor

git bash is saying I'm 79 commits ahead and github is saying 106

its always a manual step to fetch/merge (or pull) down the latest work in upstream branches.

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.

9 participants