René's URL Explorer Experiment


Title: bindPopup trigger Cannot read property 'call' of undefined · Issue #5 · QuantStack/leaflet-splitmap · GitHub

Open Graph Title: bindPopup trigger Cannot read property 'call' of undefined · Issue #5 · QuantStack/leaflet-splitmap

X Title: bindPopup trigger Cannot read property 'call' of undefined · Issue #5 · QuantStack/leaflet-splitmap

Description: Hi, I'am trying to add Popup to leaflet object in splitMap, but i'am getting this error : TypeError: Cannot read property 'call' of undefined NewClass.fire src/core/Events.js:190 187 | this._firingCount = (this._firingCount + 1) || 1; 18...

Open Graph Description: Hi, I'am trying to add Popup to leaflet object in splitMap, but i'am getting this error : TypeError: Cannot read property 'call' of undefined NewClass.fire src/core/Events.js:190 187 | this._firing...

X Description: Hi, I'am trying to add Popup to leaflet object in splitMap, but i'am getting this error : TypeError: Cannot read property 'call' of undefined NewClass.fire src/core/Events.js:190 18...

Opengraph URL: https://github.com/QuantStack/leaflet-splitmap/issues/5

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bindPopup trigger Cannot read property 'call' of undefined","articleBody":"Hi,\r\n\r\nI'am trying to add Popup to leaflet object in splitMap, but i'am getting this error : \r\n\r\n```javascript\r\nTypeError: Cannot read property 'call' of undefined\r\nNewClass.fire\r\nsrc/core/Events.js:190\r\n  187 | \t\t\tthis._firingCount = (this._firingCount + 1) || 1;\r\n  188 | \t\t\tfor (var i = 0, len = listeners.length; i \u003c len; i++) {\r\n  189 | \t\t\t\tvar l = listeners[i];\r\n\u003e 190 | \t\t\t\tl.fn.call(l.ctx || this, event);\r\n      | ^  191 | \t\t\t}\r\n  192 | \r\n  193 | \t\t\tthis._firingCount--;\r\n\r\nNewClass.removeLayer\r\nsrc/layer/Layer.js:195\r\n  192 | delete this._layers[id];\r\n  193 | \r\n  194 | if (this._loaded) {\r\n\u003e 195 | \tthis.fire('layerremove', {layer: layer});\r\n      | ^  196 | \tlayer.fire('remove');\r\n  197 | }\r\n  198 | \r\n\r\nNewClass.closePopup\r\nsrc/layer/Popup.js:347\r\n  344 | \t\tthis._popup = null;\r\n  345 | \t}\r\n  346 | \tif (popup) {\r\n\u003e 347 | \t\tthis.removeLayer(popup);\r\n      | ^  348 | \t}\r\n  349 | \treturn this;\r\n  350 | }\r\n\r\nNewClass._close\r\nsrc/layer/Popup.js:171\r\n  168 | \r\n  169 | _close: function () {\r\n  170 | \tif (this._map) {\r\n\u003e 171 | \t\tthis._map.closePopup(this);\r\n      | ^  172 | \t}\r\n  173 | },\r\n  174 | \r\n\r\nNewClass._onCloseButtonClick\r\nsrc/layer/Popup.js:281\r\n  278 | },\r\n  279 | \r\n  280 | _onCloseButtonClick: function (e) {\r\n\u003e 281 | \tthis._close();\r\n      | ^  282 | \tDomEvent.stop(e);\r\n  283 | },\r\n  284 | \r\n\r\nHTMLAnchorElement.handler\r\nsrc/dom/DomEvent.js:79\r\n  76 | if (obj[eventsKey] \u0026\u0026 obj[eventsKey][id]) { return this; }\r\n  77 | \r\n  78 | var handler = function (e) {\r\n\u003e 79 | \treturn fn.call(context || obj, e || window.event);\r\n     | ^  80 | };\r\n  81 | \r\n  82 | var originalHandler = handler;\r\n```\r\n\r\n``` javascript\r\nL.control.splitMap(leftPaneObjects, rightPaneObjects)\r\n``` \r\nleftPaneObjects and rightPaneObjects are array of marker and polyline.\r\nI used L.marker().bindPopup() : this crash\r\nAnd L.popup() directly on map : this crash too\r\nI tried to add popup on different pane, but still crash\r\n\r\nIf anyone has a solution, that would help me a lot, thanks !\r\n","author":{"url":"https://github.com/jeremy-saidani","@type":"Person","name":"jeremy-saidani"},"datePublished":"2021-03-23T13:02:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5/leaflet-splitmap/issues/5"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:99ee6019-532d-64c6-c416-02b8630e2d2b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1E8:1FFDFF:1B58218:25659EB:6A4F222A
html-safe-nonce8dff841a55971f209edac28104d367102a8a0a1de900f0017efc2eafeb892bd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUU4OjFGRkRGRjoxQjU4MjE4OjI1NjU5RUI6NkE0RjIyMkEiLCJ2aXNpdG9yX2lkIjoiNDI5NTk0NzQzOTM4NTI4OTI1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdd9c0a592bedddd9a0235d7a56db930a232fe77d7bec3ebf7c847aada03b9a6b
hovercard-subject-tagissue:838704425
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/QuantStack/leaflet-splitmap/5/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1651a4a29b688e27d656056c2c998f4d72d61251e5dc0d1b458092992d8f8df1/QuantStack/leaflet-splitmap/issues/5
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1651a4a29b688e27d656056c2c998f4d72d61251e5dc0d1b458092992d8f8df1/QuantStack/leaflet-splitmap/issues/5
og:image:altHi, I'am trying to add Popup to leaflet object in splitMap, but i'am getting this error : TypeError: Cannot read property 'call' of undefined NewClass.fire src/core/Events.js:190 187 | this._firing...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejeremy-saidani
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/QuantStack/leaflet-splitmap git https://github.com/QuantStack/leaflet-splitmap.git
octolytics-dimension-user_id19627246
octolytics-dimension-user_loginQuantStack
octolytics-dimension-repository_id125548272
octolytics-dimension-repository_nwoQuantStack/leaflet-splitmap
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id125548272
octolytics-dimension-repository_network_root_nwoQuantStack/leaflet-splitmap
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/QuantStack/leaflet-splitmap/issues/5#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FQuantStack%2Fleaflet-splitmap%2Fissues%2F5
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FQuantStack%2Fleaflet-splitmap%2Fissues%2F5
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=QuantStack%2Fleaflet-splitmap
Reloadhttps://github.com/QuantStack/leaflet-splitmap/issues/5
Reloadhttps://github.com/QuantStack/leaflet-splitmap/issues/5
Reloadhttps://github.com/QuantStack/leaflet-splitmap/issues/5
Please reload this pagehttps://github.com/QuantStack/leaflet-splitmap/issues/5
QuantStack https://github.com/QuantStack
leaflet-splitmaphttps://github.com/QuantStack/leaflet-splitmap
Notifications https://github.com/login?return_to=%2FQuantStack%2Fleaflet-splitmap
Fork 18 https://github.com/login?return_to=%2FQuantStack%2Fleaflet-splitmap
Star 18 https://github.com/login?return_to=%2FQuantStack%2Fleaflet-splitmap
Code https://github.com/QuantStack/leaflet-splitmap
Issues 5 https://github.com/QuantStack/leaflet-splitmap/issues
Pull requests 3 https://github.com/QuantStack/leaflet-splitmap/pulls
Actions https://github.com/QuantStack/leaflet-splitmap/actions
Projects https://github.com/QuantStack/leaflet-splitmap/projects
Security and quality 0 https://github.com/QuantStack/leaflet-splitmap/security
Insights https://github.com/QuantStack/leaflet-splitmap/pulse
Code https://github.com/QuantStack/leaflet-splitmap
Issues https://github.com/QuantStack/leaflet-splitmap/issues
Pull requests https://github.com/QuantStack/leaflet-splitmap/pulls
Actions https://github.com/QuantStack/leaflet-splitmap/actions
Projects https://github.com/QuantStack/leaflet-splitmap/projects
Security and quality https://github.com/QuantStack/leaflet-splitmap/security
Insights https://github.com/QuantStack/leaflet-splitmap/pulse
bindPopup trigger Cannot read property 'call' of undefinedhttps://github.com/QuantStack/leaflet-splitmap/issues/5#top
https://github.com/jeremy-saidani
jeremy-saidanihttps://github.com/jeremy-saidani
on Mar 23, 2021https://github.com/QuantStack/leaflet-splitmap/issues/5#issue-838704425
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.