-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: adding ember leaflet #5429
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b6864fc
adding ember leaflet
maze-runnar ec327cb
updating as per required
maze-runnar bb2d856
fix
maze-runnar 9a0b736
finalizing pr
maze-runnar e3ae689
Merge branch 'development' into leaflet-map
maze-runnar 56b2a9b
Merge branch 'development' into leaflet-map
maze-runnar 48647d5
fix
iamareebjamal 71ad234
fix
iamareebjamal 9d3fb9a
fix
iamareebjamal 57df6de
fix
iamareebjamal 9359051
Merge branch 'development' into leaflet-map
iamareebjamal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,7 @@ a.link-item { | |
background-color: rgba(0, 0, 0, .05); | ||
} | ||
} | ||
|
||
.leaflet-container { | ||
height: 300px; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
{{#if this.event.isMapShown}} | ||
<div class="eight wide column event-map"> | ||
<h1>{{t 'Getting Here'}}</h1> | ||
{{#if (eq this.mapConfig.display 'embed') }} | ||
<iframe title="Map" class="g-map" src="https://maps.google.com/maps?q={{this.event.locationName}}&t=&z=15&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no"></iframe> | ||
{{else}} | ||
<GMap @markersFitMode="live" @lat={{37.744}} @lng={{-122.4367}} @address={{this.event.locationName}} @zoom={{2}} @class="google-maps" as |context|> | ||
{{#g-map-address-marker context address=this.event.locationName as |markerContext|}} | ||
{{#g-map-infowindow markerContext}} | ||
{{this.event.locationName}} | ||
{{/g-map-infowindow}} | ||
{{/g-map-address-marker}} | ||
</GMap> | ||
{{/if}} | ||
<div class="ui stackable grid"> | ||
{{#if @event.isMapShown}} | ||
<div class="eight wide column event-map"> | ||
<h1>{{t 'Getting Here'}}</h1> | ||
{{#if (and @event.latitude @event.longitude)}} | ||
<LeafletMap @lat={{@event.latitude}} @lng={{@event.longitude}} @zoom={{15}} as |layers|> | ||
<layers.tile @url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" @attribution="© <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors" /> | ||
<layers.marker @location={{array @event.latitude @event.longitude}} as |marker|> | ||
<marker.popup> | ||
<h3>{{@event.name}}</h3> | ||
{{@event.locationName}} | ||
</marker.popup> | ||
</layers.marker> | ||
</LeafletMap> | ||
{{else}} | ||
<iframe title="Map" class="g-map" src="https://maps.google.com/maps?q={{@event.locationName}}&t=&z=15&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no"></iframe> | ||
{{/if}} | ||
</div> | ||
{{/if}} | ||
<div class="{{if @event.isMapShown 'eight' 'sixteen'}} wide column address"> | ||
<h1>{{t 'Address'}}</h1> | ||
<p>{{@event.locationName}}</p> | ||
</div> | ||
{{/if}} | ||
<div class="{{if this.event.isMapShown 'eight' 'sixteen'}} wide column address"> | ||
<h1>{{t 'Address'}}</h1> | ||
<p>{{this.event.locationName}}</p> | ||
</div> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3325,6 +3325,11 @@ babel-plugin-htmlbars-inline-precompile@^3.0.1: | |
resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-3.0.1.tgz#e1e38a4087f446578e419a21c112530c8df02345" | ||
integrity sha512-ZiFY0nQjtdMPGIDwp/5LYOs6rCr54QfcSV5nPbrA7C++Fv4Vb2Q/qrKYx78t+dwmARJztnOBlObFk4z8veHxNA== | ||
|
||
babel-plugin-htmlbars-inline-precompile@^3.2.0: | ||
version "3.2.0" | ||
resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-3.2.0.tgz#c4882ea875d0f5683f0d91c1f72e29a4f14b5606" | ||
integrity sha512-IUeZmgs9tMUGXYu1vfke5I18yYJFldFGdNFQOWslXTnDWXzpwPih7QFduUqvT+awDpDuNtXpdt5JAf43Q1Hhzg== | ||
|
||
babel-plugin-htmlbars-inline-precompile@^4.2.0: | ||
version "4.2.0" | ||
resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-4.2.0.tgz#73e7a199c14db139b9c9aea240e03b7112784c81" | ||
|
@@ -6352,7 +6357,7 @@ ember-cli-babel-plugin-helpers@^1.0.0, ember-cli-babel-plugin-helpers@^1.1.0, em | |
resolved "https://registry.yarnpkg.com/ember-cli-babel-plugin-helpers/-/ember-cli-babel-plugin-helpers-1.1.1.tgz#5016b80cdef37036c4282eef2d863e1d73576879" | ||
integrity sha512-sKvOiPNHr5F/60NLd7SFzMpYPte/nnGkq/tMIfXejfKHIhaiIkYFqX8Z9UFTKWLLn+V7NOaby6niNPZUdvKCRw== | ||
|
||
[email protected], ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.0, ember-cli-babel@^7.1.2, ember-cli-babel@^7.1.3, ember-cli-babel@^7.10.0, ember-cli-babel@^7.11.0, ember-cli-babel@^7.11.1, ember-cli-babel@^7.12.0, ember-cli-babel@^7.13.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.18.0, ember-cli-babel@^7.19.0, ember-cli-babel@^7.20.2, ember-cli-babel@^7.20.5, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.4.0, ember-cli-babel@^7.5.0, ember-cli-babel@^7.7.3: | ||
[email protected], ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.0, ember-cli-babel@^7.1.2, ember-cli-babel@^7.1.3, ember-cli-babel@^7.10.0, ember-cli-babel@^7.11.0, ember-cli-babel@^7.11.1, ember-cli-babel@^7.12.0, ember-cli-babel@^7.13.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.18.0, ember-cli-babel@^7.19.0, ember-cli-babel@^7.20.2, ember-cli-babel@^7.20.5, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.4.0, ember-cli-babel@^7.5.0, ember-cli-babel@^7.7.3, ember-cli-babel@^7.8.0: | ||
version "7.23.0" | ||
resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.23.0.tgz#ec580aa2c115d0810e454dd5c2fffce238284b92" | ||
integrity sha512-ix58DlRDAbGITtdJoRUPcAoQwKLYr/x/kIXjU9u1ATyhmuUjqb+0FDXghOWbkNihGiNOqBBR49+LBgK9AeBcNw== | ||
|
@@ -6709,6 +6714,16 @@ ember-cli-htmlbars@^3.0.0, ember-cli-htmlbars@^3.0.1: | |
json-stable-stringify "^1.0.0" | ||
strip-bom "^3.0.0" | ||
|
||
ember-cli-htmlbars@^3.1.0: | ||
version "3.1.0" | ||
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-3.1.0.tgz#87806c2a0bca2ab52d4fb8af8e2215c1ca718a99" | ||
integrity sha512-cgvRJM73IT0aePUG7oQ/afB7vSRBV3N0wu9BrWhHX2zkR7A7cUBI7KC9VPk6tbctCXoM7BRGsCC4aIjF7yrfXA== | ||
dependencies: | ||
broccoli-persistent-filter "^2.3.1" | ||
hash-for-dep "^1.5.1" | ||
json-stable-stringify "^1.0.1" | ||
strip-bom "^3.0.0" | ||
|
||
ember-cli-htmlbars@^4.0.0, ember-cli-htmlbars@^4.2.2, ember-cli-htmlbars@^4.2.3, ember-cli-htmlbars@^4.3.1: | ||
version "4.3.1" | ||
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-4.3.1.tgz#4af8adc21ab3c4953f768956b7f7d207782cb175" | ||
|
@@ -6729,6 +6744,26 @@ ember-cli-htmlbars@^4.0.0, ember-cli-htmlbars@^4.2.2, ember-cli-htmlbars@^4.2.3, | |
strip-bom "^4.0.0" | ||
walk-sync "^2.0.2" | ||
|
||
ember-cli-htmlbars@^4.2.0: | ||
version "4.4.0" | ||
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars/-/ember-cli-htmlbars-4.4.0.tgz#7ca17d5ca8f7550984346d9e6e93da0c3323f8d9" | ||
integrity sha512-ohgctqk7dXIZR4TgN0xRoUYltWhghFJgqmtuswQTpZ7p74RxI9PKx+E8WV/95mGcPzraesvMNBg5utQNvcqgNg== | ||
dependencies: | ||
"@ember/edition-utils" "^1.2.0" | ||
babel-plugin-htmlbars-inline-precompile "^3.2.0" | ||
broccoli-debug "^0.6.5" | ||
broccoli-persistent-filter "^2.3.1" | ||
broccoli-plugin "^3.1.0" | ||
common-tags "^1.8.0" | ||
ember-cli-babel-plugin-helpers "^1.1.0" | ||
fs-tree-diff "^2.0.1" | ||
hash-for-dep "^1.5.1" | ||
heimdalljs-logger "^0.1.10" | ||
json-stable-stringify "^1.0.1" | ||
semver "^6.3.0" | ||
strip-bom "^4.0.0" | ||
walk-sync "^2.0.2" | ||
|
||
ember-cli-ifa@^0.10.0: | ||
version "0.10.0" | ||
resolved "https://registry.yarnpkg.com/ember-cli-ifa/-/ember-cli-ifa-0.10.0.tgz#2526bf5921561625de1c1cc3b1e73f8e18fb43a7" | ||
|
@@ -7182,6 +7217,15 @@ ember-compatibility-helpers@^1.1.1, ember-compatibility-helpers@^1.1.2, ember-co | |
ember-cli-version-checker "^2.1.1" | ||
semver "^5.4.1" | ||
|
||
ember-composability-tools@^0.0.12: | ||
version "0.0.12" | ||
resolved "https://registry.yarnpkg.com/ember-composability-tools/-/ember-composability-tools-0.0.12.tgz#ac7954d4220468af2f431fefd8141d999daa1110" | ||
integrity sha512-twb7I60OSSzHyJnCcl9OFw8OwfHvscHSQrgTFa4u6YNftKgNqXqc/Ejez1HqbG6I/CwGAcCrXquvTNDVSZdxvA== | ||
dependencies: | ||
ember-cli-babel "^7.8.0" | ||
ember-cli-htmlbars "^3.1.0" | ||
ember-in-element-polyfill "^0.2.0" | ||
|
||
ember-composable-helpers@^4.3.0: | ||
version "4.3.0" | ||
resolved "https://registry.yarnpkg.com/ember-composable-helpers/-/ember-composable-helpers-4.3.0.tgz#afe03e14e20639652bed86b84d91633ede2cb129" | ||
|
@@ -7270,6 +7314,15 @@ ember-debug-handlers-polyfill@^1.1.1: | |
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/ember-debug-handlers-polyfill/-/ember-debug-handlers-polyfill-1.1.1.tgz#e9ae0a720271a834221179202367421b580002ef" | ||
|
||
ember-decorators-polyfill@^1.1.5: | ||
version "1.1.5" | ||
resolved "https://registry.yarnpkg.com/ember-decorators-polyfill/-/ember-decorators-polyfill-1.1.5.tgz#49203c302ea4486618ba4866923ec657cf2c9f3d" | ||
integrity sha512-O154i8sLoVjsiKzSqxGRfHGr+N+drT6mRrLDbNgJCnW/V5uLg/ppZFpUsrdxuXnp5Q9us3OfXV1nX2CH+7bUpA== | ||
dependencies: | ||
ember-cli-babel "^7.1.2" | ||
ember-cli-version-checker "^3.1.3" | ||
ember-compatibility-helpers "^1.2.0" | ||
|
||
ember-decorators@^6.1.1: | ||
version "6.1.1" | ||
resolved "https://registry.yarnpkg.com/ember-decorators/-/ember-decorators-6.1.1.tgz#6d770f8999cf5a413a1ee459afd520838c0fc470" | ||
|
@@ -7341,6 +7394,15 @@ [email protected], "ember-fetch@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0": | |
node-fetch "^2.6.0" | ||
whatwg-fetch "^3.4.0" | ||
|
||
ember-fn-helper-polyfill@^1.0.2: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/ember-fn-helper-polyfill/-/ember-fn-helper-polyfill-1.0.2.tgz#deb035fced77f98b9256ba4eb17694b7a2e2a526" | ||
integrity sha512-T/YG1Do59xvyMCUItqvY61ZJfSLiUsUuykG8C4o9ffrwDuspbquL3eJdLi+NF1dNoihwcIdJHcxLKvwvQB05LQ== | ||
dependencies: | ||
calculate-cache-key-for-tree "^2.0.0" | ||
ember-cli-babel "^7.7.3" | ||
ember-cli-version-checker "^3.1.3" | ||
|
||
ember-fullcalendar@^1.8.0: | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/ember-fullcalendar/-/ember-fullcalendar-1.8.0.tgz#264da8513da5d0db355dcad713111c72d50cc0b9" | ||
|
@@ -7383,6 +7445,16 @@ [email protected]: | |
dependencies: | ||
ember-cli-babel "^7.13.2" | ||
|
||
ember-in-element-polyfill@^0.2.0: | ||
version "0.2.2" | ||
resolved "https://registry.yarnpkg.com/ember-in-element-polyfill/-/ember-in-element-polyfill-0.2.2.tgz#d1e7c9cdea7903b668bc4622c106add8d9558df7" | ||
integrity sha512-aWFWTpDU+6mHqQd3Gr0UyrwMXGiGuLBJXYczExNGJsc2zUv/9rDot9HIpMr0sgXtWddzM0Z9Ly1H0sbYZ1ExCA== | ||
dependencies: | ||
debug "^3.1.0" | ||
ember-cli-babel "^7.13.0" | ||
ember-cli-htmlbars "^4.2.0" | ||
ember-cli-version-checker "^2.1.0" | ||
|
||
ember-in-element-polyfill@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/ember-in-element-polyfill/-/ember-in-element-polyfill-1.0.0.tgz#10365af6fe31bc59e71ec463ed209d4ba4caecda" | ||
|
@@ -7445,6 +7517,33 @@ ember-l10n@^4.3.1: | |
inquirer "^7.0.4" | ||
shelljs "^0.8.2" | ||
|
||
ember-leaflet@^4.1.1: | ||
version "4.1.1" | ||
resolved "https://registry.yarnpkg.com/ember-leaflet/-/ember-leaflet-4.1.1.tgz#8012a2b36a930afafe141a4aa19ebcfe34e1b98b" | ||
integrity sha512-W0RPVmSPh8+NYPRlTzHh+msxlM9wQqBVIfo0226AkaT6qEzyWyxmGeIybJ5i+oQhA+4rEjEuIFlgnfixWMPvuw== | ||
dependencies: | ||
broccoli-funnel "^3.0.3" | ||
broccoli-merge-trees "^4.2.0" | ||
ember-cli-babel "^7.21.0" | ||
ember-cli-htmlbars "^5.2.0" | ||
ember-composability-tools "^0.0.12" | ||
ember-decorators-polyfill "^1.1.5" | ||
ember-fn-helper-polyfill "^1.0.2" | ||
ember-get-config "^0.2.4" | ||
ember-in-element-polyfill "^1.0.0" | ||
ember-invoke-action "^1.5.1" | ||
ember-let-polyfill "^0.1.0" | ||
fastboot-transform "^0.1.3" | ||
resolve "^1.17.0" | ||
|
||
ember-let-polyfill@^0.1.0: | ||
version "0.1.0" | ||
resolved "https://registry.yarnpkg.com/ember-let-polyfill/-/ember-let-polyfill-0.1.0.tgz#9d37c610441eb41eaaea3a6782bbd4203f5cf0a9" | ||
integrity sha512-olLHpS7JnqZcfyYRXcdLATYwDIopKA+ZzI8xswzCIcBYoRgoUJY7E/eW84Unu8ea1jtr/Unx+dQrsU+NrNSoBg== | ||
dependencies: | ||
ember-cli-babel "^6.16.0" | ||
ember-cli-version-checker "^2.1.2" | ||
|
||
[email protected]: | ||
version "2.0.2" | ||
resolved "https://registry.yarnpkg.com/ember-link-action/-/ember-link-action-2.0.2.tgz#4a5fdf0f49cb2b5061625b126b4329519c601938" | ||
|
@@ -11106,6 +11205,11 @@ lcid@^1.0.0: | |
dependencies: | ||
invert-kv "^1.0.0" | ||
|
||
leaflet@^1.6.0: | ||
version "1.7.1" | ||
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.7.1.tgz#10d684916edfe1bf41d688a3b97127c0322a2a19" | ||
integrity sha512-/xwPEBidtg69Q3HlqPdU3DnrXQOvQU/CCHA1tcDQVzOwm91YMYaILjNp7L4Eaw5Z4sOYdbBz6koWyibppd8Zqw== | ||
|
||
[email protected]: | ||
version "0.0.24" | ||
resolved "https://registry.yarnpkg.com/leek/-/leek-0.0.24.tgz#e400e57f0e60d8ef2bd4d068dc428a54345dbcda" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.