Skip to content

Fix iframe - #3

Open
Mbalcorta wants to merge 6 commits into
masterfrom
fix-iframe
Open

Fix iframe#3
Mbalcorta wants to merge 6 commits into
masterfrom
fix-iframe

Conversation

@Mbalcorta

Copy link
Copy Markdown
Collaborator

Change order of iframe initialization and removed duplicate function from iframe.js

@tibetsprague tibetsprague left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, id like to understand why this works before agreeing that this is the best solution. because this seems like it could break the iframe map

Inserted geojsonEvents function as needed for vue instance of iframe.
@Mbalcorta

Copy link
Copy Markdown
Collaborator Author

I looked into it further and iframe does need the geojsonevents function but the order they are initialized in vue affect the view of event map. I'm still investigating why the vue order matters, i'm assuming it has something to do with them sharing the same map id.

@tibetsprague

tibetsprague commented Nov 22, 2017 via email

Copy link
Copy Markdown

@Mbalcorta

Copy link
Copy Markdown
Collaborator Author

Change vue template based on href location.

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.

2 participants